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.