http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-04 13:31 -------
Could you apply the attached patch and then re-attach a +event,+dinput trace ?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=943
Summary: Regression in module loading
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-loader
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: prupe(a)myrealbox.com
A recent change in CVS caused Xnews (<http://xnews.newsguy.com/>) to crash on startup.
I've traced it to the patch
<http://cvs.winehq.com/patch.py?id=1027987166850574216879071>, but I know next to
nothing about this how this part of the code works.
The crash happens on the following code in PE_InitTls, loader/pe_image.c:
if ( wm->tlsindex == -1 ) {
LPDWORD xaddr;
wm->tlsindex = TlsAlloc();
xaddr = _fixup_address(&(peh->OptionalHeader),delta,
pdir->AddressOfIndex
);
=> *xaddr=wm->tlsindex;
}
wm is the module Xnews.exe itself. xaddr and wm are both reasonable addresses, but the
problem is that *xaddr was previously marked read-only using VIRTUAL_SetProt in
map_image, memory/virtual.c. If I change it so that VPROT_WRITE|VPROT_WRITECOPY
is always included again, it fixes this crash, but then the app dies soon after:
Wine-dbg>bt
Backtrace:
=>0 0x38a2389c (_end+0x309d6174) (ebp=405c6e8c)
1 0x400ac108 (start_process+0x258 [process.c:526] in libntdll.dll.so) (ebp=405c6f38
2 0x400b00d7 (call_on_thread_stack+0x23(func=0x400abeb0) [sysdeps.c:105] in
(libnt.dll.so) (ebp=405c6ff4)
3 0x400b0270 (SYSDEPS_CallOnStack+0x14 in libnt.dll.so) (ebp=00000000)
Wine-dbg>up
526 ExitThread( entry(NULL) );
Wine-dbg>p entry
0x4045918c
According to -debugmsg +module, Xnews.exe was mapped to 0x4036b000-0x404aa000, so I
don't know where the 0x38... address came from. Backing out the above patch fixes the
problem completely. Other apps don't seem to be affected, and I don't know what's special
about this one.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From pigeon(a)pigeond.net 2002-08-04 04:27 -------
Created an attachment (id=249)
wine --debugmsg +dinput,+event Clue.exe
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-04 03:48 -------
Could you attach a +dinput,+event trace for Cluedo ?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=939
------- Additional Comments From tony_lambregts(a)telusplanet.net 2002-08-03 21:30 -------
I would really prefer to have a resolution that reflects what is going on. I
can't see how it would be that hard to add another resolution.
If that is to much work I would settle for a keyword I suppose.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=939>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From pigeon(a)pigeond.net 2002-08-03 19:42 -------
When I run "wine --debugmsg +dinput Clue.exe", in the game, it repeatedly gives
me this message:
trace:dinput:SysKeyboardAImpl_GetDeviceData
(this=0x429f0790,16,(nil),0x40536a40(-1)),0x00000001)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From pigeon(a)pigeond.net 2002-08-03 19:04 -------
Ok, sorry my fault. It works for monkey island 3 now. It didn't last time when I
was checking with an earlier version of wine.
However, it is still not working with Cluedo. Is there anything debugging
information I can get hold to?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=942
------- Additional Comments From dclark(a)akamail.com 2002-08-03 14:57 -------
Hmm, I've done some recent work on shlexec, which installers sometimes use to
execute processes. How about running with something like:
wine --debugmsg +exec,+process -- setup.exe
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=942>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=942
Summary: executing SETUP.EXE (Microsoft Visual Studio ::
installing from CD)
Product: Wine
Version: 20020710
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: tony.granberg(a)home.se
When I try to start the installer file (SETUP.EXE) by doing: 'wine SETUP.EXE'
this gets into output:
fixme:process:CreateProcessA (E:\vs60wiz.exe,...):
NORMAL_PRIORITY_CLASS ignored
then, the wineconsole is brought up, with lots and lots of output:
Unhandled exception: page fault on read access to 0x0000003c in 32-bit code
(0x00415154).
0x00415154 (vs60wiz.exe..text+0x14154 in E:\vs60wiz.exe): repne scasb es:(%ed1)
/* I should want to add, that I get this installer to run under the previous
version (20020605), but there, the registry validation gets erronous (it doesn't
detect the serial code as correct, even though I am 100% sure it is) */
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=942>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-03 13:48 -------
Well, just tested it here and it works just fine (ie I can enter the save game
menu, I can skip by pressing Escape and pause with Space).
So 'works for me' (tm)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=936
------- Additional Comments From roz(a)one.net 2002-08-03 11:15 -------
For some reason, there are no attachments listed on my screen (not even the
screenshots I uploaded earlier).
Also, I am using an RPM, so I cannot apply the patch. Can someone else try it
and confirm that it works?
BTW, yes, I am using Wine (20020710), not WineX.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=936
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-03 07:01 -------
Created an attachment (id=248)
Patch to fix the problem
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=936
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-03 07:00 -------
Could you try with the patch I just attached to this patch (and also just sent
to wine-patches) ?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=90
This bug depends on bug 494, which changed state:
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=90>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=90
This bug depends on bug 495, which changed state:
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=90>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From lionel.ulmer(a)free.fr 2002-08-03 03:01 -------
As I have Monkey Island 3, I will try to take a look at it...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
------- Additional Comments From pigeon(a)pigeond.net 2002-08-02 20:07 -------
And yes, I tried both "DXGrab" "Y" and "N".
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=941
Summary: Keyboard doesn't work with "Desktop" option even with
DXGrab...
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: pigeon(a)pigeond.net
Wine is still not capturing keyboard correctly with some DirectX games when
using with the "Desktop" option.
Without the "Desktop" option, "DXGrab" = "Y" will help solving such problems,
but not with "Desktop".
I found this problem with some DirectX games, I've tested so far with Cluedo and
Monkey Island 3.
Reference from an old bug report:
http://bugs.codeweavers.com/show_bug.cgi?id=616
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=940
Summary: msvcrt_argvtos not building args properly
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: bill(a)taniwha.org
msvcrt_argvtos is copying the data incorrectly. the args are all being copied to
past the end of the allocated buffer and all to the same location. Here's a
patch to fix it:
Index: dlls/msvcrt/process.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/process.c,v
retrieving revision 1.12
diff -u -r1.12 process.c
--- dlls/msvcrt/process.c 19 Jul 2002 03:24:50 -0000 1.12
+++ dlls/msvcrt/process.c 3 Aug 2002 00:16:11 -0000
@@ -117,7 +117,7 @@
a++;
}
- ret = (char*)MSVCRT_malloc(size + 1);
+ ret = (char*)MSVCRT_malloc(size);
if (!ret)
return NULL;
@@ -127,12 +127,12 @@
while (*a)
{
int len = strlen(*a);
- memcpy(ret+size,*a,len);
+ memcpy(p,*a,len);
p += len;
*p++ = delim;
a++;
}
- *p='\0';
+ p[-1] ='\0';
return ret;
}
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=940>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=495
mstefani(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.com |mstefani(a)redhat.com
Status|NEW |ASSIGNED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=494
mstefani(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.com |mstefani(a)redhat.com
Status|NEW |ASSIGNED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=90
This bug depends on bug 503, which changed state:
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=90>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=90
This bug depends on bug 505, which changed state:
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=90>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=90
This bug depends on bug 504, which changed state:
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=90>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.