http://bugs.winehq.org/show_bug.cgi?id=25057
Summary: Magic Workstation: mwsplay.exe crashes when launching it Product: Wine Version: 1.3.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: graffity2199@yahoo.fr
Created an attachment (id=31772) --> (http://bugs.winehq.org/attachment.cgi?id=31772) The complete trace log
Hello,
When launching MWSPlay.exe, it simply crashes displaying an "Access violation" exception and I don't know why.
I'm running it with the latest wine version (1.3.6) on my 10.04 Ubuntu.
Could you help me finding out what's going on ?
I've launched the following commands : $ uname -a Linux graffity-desktop 2.6.32-24-generic-pae #39-Ubuntu SMP Wed Jul 28 07:39:26 UTC 2010 i686 GNU/Linux $ wine --version wine-1.3.6 $ WINEDEBUG=+trace,+seh,+tid,+relay wine MWSPlay.exe 2> MWSPlayTrace.txt $ lzma -9 MWSPlayTrace.txt
You'll find as attachement the generated log.
Thanks a lot for your time !
Regards,
http://bugs.winehq.org/show_bug.cgi?id=25057
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-11-07 07:04:36 CST --- Does "winetricks cc580" help?
http://bugs.winehq.org/show_bug.cgi?id=25057
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2010-11-07 07:09:04 CST --- The issue is reproducible with the trial (demo) version, too: http://www.magicworkstation.com/downloads.php
Actually, this is a regression; the application started correctly in Wine-1.3.1 The result of the regression test:
2ca5513a6294a9e653c678bffee58a537d94d54d is the first bad commit commit 2ca5513a6294a9e653c678bffee58a537d94d54d Author: Marcus Meissner marcus@jet.franken.de Date: Mon Aug 23 17:12:53 2010 +0200
ntdll: Set correct protection flags on sections in builtin DLLs.
:040000 040000 e742a988a3548da2d5091ef8ee6814f30a91e006 105826298d8a8ea50f11b78a758839c13b81920f M dlls
The patch cannot be reverted cleanly, but after git checkout 2ca5513a6294a9e653c678bffee58a537d94d54d > the app is broken git revert 2ca5513a6294a9e653c678bffee58a537d94d54d > the app starts correctly.
No other opened bugreports are mentioning that particular commit.
Please consider modifying the corresponding fields (download, regression) and preferably add the author's email address to CC.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #3 from Benjamin Croizet graffity2199@yahoo.fr 2010-11-07 09:30:59 CST --- Hi again,
Following your advices, I've ran : $ winetricks cc580 Executing wget -O cc32inst.exe -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/platformsdk/redist/5.80.2614.3600/w9x... ... ... ... ... [HKEY_CURRENT_USER\Software\Wine\DllOverrides] "*comctl32"="native,builtin" Using builtin override for following DLLs when running winecfg.exe: comctl32 Executing early_wine regedit c:\winetrickstmp\override-dll.reg Using builtin override for following DLLs when running explorer.exe: comctl32 Executing early_wine regedit c:\winetrickstmp\override-dll.reg Using builtin override for following DLLs when running iexplore.exe: comctl32 Executing early_wine regedit c:\winetrickstmp\override-dll.reg Install of cc580 done winetricks done.
$ WINEDEBUG=+trace,+seh,+tid,+relay wine MWSPlay.exe 2> MWSPlayTrace-AfterWinetricks.txt $ lzma -9 MWSPlayTrace-AfterWinetricks.txt
The program still crashes, you'll find the attached complete log.
Thanks a lot.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #4 from Benjamin Croizet graffity2199@yahoo.fr 2010-11-07 09:32:03 CST --- Created an attachment (id=31779) --> (http://bugs.winehq.org/attachment.cgi?id=31779) The complete trace log after having launched winetricks
http://bugs.winehq.org/show_bug.cgi?id=25057
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://www.magicworkstation | |.com/downloads.php CC| |marcus@jet.franken.de
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com 2010-11-07 10:11:51 CST --- CCing Marcus on this bug.
http://bugs.winehq.org/show_bug.cgi?id=25057
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Marcus Meissner marcus@jet.franken.de 2010-11-08 01:56:02 CST --- can reproduce.
the patch makes lots of other things that do funny binary scanning work better, and has testcases so it probably is some border condition we did not think about.
:(
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #7 from Marcus Meissner marcus@jet.franken.de 2010-11-08 02:48:23 CST --- it crashes at 0x14a00000 in generated code.
the mapping is: 014a0000-014a1000 rw-s 00000000 08:01 1102501 /tmp/.wine-1000/server-824-690126/anonmap.Wjblci (deleted)
meaning non-executable.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #8 from Marcus Meissner marcus@jet.franken.de 2010-11-08 03:02:51 CST --- it seems to VirtualQuery() first address of kernel32.dll (the PE header) and act on that.
this might be one of the border condotions.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #9 from Marcus Meissner marcus@jet.franken.de 2010-11-10 15:39:55 CST --- the program creates a new segment
readwrite anon file mapped to a readwriteexec mapping
in this mapping it writes user32.dll hooks, SetScrollInfo namely.
(it overwrites the start of user32.SetScrollInfo with jmp <MAPPING>.
However, this section stays rw-, so the call on "NX" capable systems like x86_64 will fault on entering.
Not sure if this is a write vs exec issue.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #10 from Marcus Meissner marcus@jet.franken.de 2010-11-10 16:08:53 CST --- Created an attachment (id=31840) --> (http://bugs.winehq.org/attachment.cgi?id=31840) xx.pat
This disables my work and make this applicatiuon work again.
It however breaks others (and the testcases), so it is onoy a band aid for this app.
http://bugs.winehq.org/show_bug.cgi?id=25057
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |marcus@jet.franken.de
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #11 from Marcus Meissner marcus@jet.franken.de 2010-11-14 17:00:15 CST --- Created an attachment (id=31944) --> (http://bugs.winehq.org/attachment.cgi?id=31944) 0025-ntdll-Fixed-file-view-mapping-in-regards-to-no-exec.patch
the patch I just mailed to wine-patches that fixes this problem.
http://bugs.winehq.org/show_bug.cgi?id=25057
--- Comment #12 from GyB gyebro69@gmail.com 2010-11-15 13:59:59 CST --- Fixed in the current git (wine-1.3.7-68-g9de2ed9), by commit da8c179d61f0ccc679b68b1ecca9f10b4334ae99.
http://bugs.winehq.org/show_bug.cgi?id=25057
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |1.2.x
--- Comment #13 from Marcus Meissner marcus@jet.franken.de 2010-11-15 14:47:37 CST --- yes, is in git.
http://bugs.winehq.org/show_bug.cgi?id=25057
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2010-11-26 13:15:15 CST --- Closing bugs fixed in 1.3.8.
http://bugs.winehq.org/show_bug.cgi?id=25057
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2010-12-03 12:51:56 CST --- Removing 1.2.x milestone from bugs included in 1.2.2.
http://bugs.winehq.org/show_bug.cgi?id=25057
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |da8c179d61f0ccc679b68b1ecca | |9f10b4334ae99 Regression SHA1| |2ca5513a6294a9e653c678bffee | |58a537d94d54d
https://bugs.winehq.org/show_bug.cgi?id=25057
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |ntdll