http://bugs.winehq.org/show_bug.cgi?id=9451
Summary: Mouse movements causes crash Product: Wine Version: 0.9.43. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: r_hurst@microwavesoft.com
Created an attachment (id=7781) --> (http://bugs.winehq.org/attachment.cgi?id=7781) console output
Dungeon Siege @ http://appdb.winehq.org/appview.php?iVersionId=3776&iTestingId=2591 now breaks under newer version 0.9.43, and is reproducible by simply moving the mouse to over SECOND item for highlighting (first item highlight works). I tried on/off option for 'Allow DirectX apps to stop mouse leaving their window', with no improvement. I declared GOLD for this app using 0.9.39, but it has been breaking since. Multi-threading issues? Attaching console output.
FYI, game loads to continue adventuring regressed to poor performance (30x + longer, i.e., 6-seconds to minutes) from the previous version 0.9.42. Not critical, but disappointing.
http://bugs.winehq.org/show_bug.cgi?id=9451
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-kernel |wine-misc Keywords| |regression
--- Comment #1 from James Hawkins truiken@gmail.com 2007-08-25 22:23:23 --- Is there a downloadable demo of the app, and if so, can you test it and see if the bug is reproducible with the demo?
Please perform a regression test:
http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #2 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 08:53:17 --- Yes, the demo version is still available at:
http://www.microsoft.com/games/dungeonsiege/8.aspx
I'd be happy to ship a DVD copy of the profile / software for your test labs. If required, I'll send you 1 of my 2 purchased copies of the software (3-CDs).
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #3 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 09:02:49 --- The demo reproduces the same problem, but a bit worse. If I run it in a virtual desktop window, any mouse movement outside of its window causes the same exception.
[root@SuperP4XEON ~]# env WINEPREFIX="/root/.wine" wine "C:\Program Files\Microsoft Games\Dungeon Siege Demo\DungeonSiegeDemo.Exe" nointro=true vsync=false asynccursor=false
The last few lines of the console report the same issue:
err:d3d:getColorBits Unsupported format: WINED3DFMT_A8R8G8B8 fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x173620): Stub! fixme:font:WineEngCreateFontInstance Untranslated charset 255 err:d3d:getColorBits Unsupported format: WINED3DFMT_A8R8G8B8 err:syslevel:_EnterSysLevel (0x60494ac0, level 2): Holding 0x6055fa00, level 3. Expect deadlock! err:syslevel:_EnterSysLevel (0x60494ac0, level 2): Holding 0x6055fa00, level 3. Expect deadlock! err:syslevel:_CheckNotSysLevel Holding lock 0x6055fa00 level 3 wine: Unhandled exception 0x80000003 at address 0x71c397b0 (thread 0009), starting debugger...
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #4 from James Hawkins truiken@gmail.com 2007-08-26 09:30:10 --- You're running wine as root because...? Wine should never be run as root, and you need to test all of this again as a normal user.
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #5 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 10:32:30 --- Thank you, I completely understand 'best practices' ... but to answer your question, this runs on a dedicated game machine from a converted Gauntlet II cabinet for mame, wine, etc. into a dedicated front-end menu I wrote. I suppose I could change it for 'su - games'. If wine requires to run non-root, it should enforce it or setuid/setgid to an established wine account.
The game machine is dual P4/XEON, and I have run this before/during/after on my IBM Thinkpad (single P4 mobile) and it exhibits the same behavior. Although, it does not crash so quickly nor so spectacularly than on the dual CPU machine. I can actually load a saved game (much quicker than dual) and it crashes a few seconds ONLY AFTER I move the mouse to a nearby item.
Results of the Thinkpad running as 'rhurst' follows, thanks for looking into this.
[rhurst@WSBID06223 ~]$ env WINEPREFIX="/home/rhurst/.wine" wine "C:\Program Files\Microsoft Games\Dungeon Siege\DungeonSiege.Exe" nointro=true vsync=false asynccursor=false ... err:d3d:getColorBits Unsupported format: WINED3DFMT_A8R8G8B8 fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x17bbc8): Stub! fixme:font:WineEngCreateFontInstance Untranslated charset 255 fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x17bbc8)->(0x10024,00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x17bbc8): Stub! fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x17bbc8)->((nil),00000008) fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x17bbc8)->(0x10024,00000c13) err:d3d:getColorBits Unsupported format: WINED3DFMT_A8R8G8B8 fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x17bbc8): Stub! err:d3d:getColorBits Unsupported format: WINED3DFMT_A8R8G8B8 err:syslevel:_EnterSysLevel (0x605c9ac0, level 2): Holding 0x60694a00, level 3. Expect deadlock! err:syslevel:_EnterSysLevel (0x605c9ac0, level 2): Holding 0x60694a00, level 3. Expect deadlock! err:syslevel:_CheckNotSysLevel Holding lock 0x60694a00 level 3 wine: Unhandled exception 0x80000003 at address 0x6040a7b0 (thread 0009), starting debugger...
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #6 from James Hawkins truiken@gmail.com 2007-08-26 11:15:18 ---
wine "C:\Program Files\Microsoft Games\Dungeon Siege\DungeonSiege.Exe"
You have to cd into the directory containing the executable before running the app:
$ cd ".wine/drive_c/Program Files/Microsoft Games/Dungeon Siege" $ wine DungeonSiege.Exe
Also, we still need the result of the regression test from comment #1.
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #7 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 12:19:21 --- Created an attachment (id=7811) --> (http://bugs.winehq.org/attachment.cgi?id=7811) screenshot1
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #8 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 12:19:47 --- Created an attachment (id=7812) --> (http://bugs.winehq.org/attachment.cgi?id=7812) screenshot2
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #9 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 12:26:16 --- 1. Tried the cd instructions, no change 2. yum erase wine-* (0.9.43) 3. Regressed to wine 0.9.39: [root@SuperP4XEON wine-0.9.39]# rpm -ivh wine-* Preparing... ########################################### [100%] 1:wine-core ########################################### [ 10%] 2:wine-capi ########################################### [ 20%] 3:wine-cms ########################################### [ 30%] 4:wine-esd ########################################### [ 40%] 5:wine-jack ########################################### [ 50%] 6:wine-ldap ########################################### [ 60%] 7:wine-nas ########################################### [ 70%] 8:wine-tools ########################################### [ 80%] 9:wine-twain ########################################### [ 90%] 10:wine ########################################### [100%]
[rhurst@SuperP4XEON ~]# cd .wine/drive_c/Program\ Files/Microsoft\ Games/Dungeon\ Siege [rhurst@SuperP4XEON Dungeon Siege]# env WINEPREFIX="/home/rhurst/.wine" wine "DungeonSiege.Exe" nointro=true vsync=false asynccursor=false ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0 fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x173e88) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x170d50)->((nil),00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x170d50)->(0x10026,00000c13) fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel DirectDraw is not fully thread safe yet fixme:d3d:IWineD3DDeviceImpl_SetMultithreaded No thread safety in wined3d yet fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x170d50): Stub! fixme:font:WineEngCreateFontInstance Untranslated charset 255 fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x170d50)->(0x10026,00000008) fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x170d50): Stub! fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x170d50)->((nil),00000008) fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
RAN PERFECTLY AGAIN!! Attached running screenshots. The "No thread safety in wined3d yet" seems to just 'work'... I know there has been development work in that area, could it be that it is breaking here on the newer versions?
I have also tried the latest 0.9.44, and it continues to crash after the game loads AND ONLY AFTER moving the mouse for a second or two.
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #10 from James Hawkins truiken@gmail.com 2007-08-26 12:32:19 --- Knowing which release broke (0.9.44) is of no use. If you'll read the page I specified, you'll see exactly how to do a regression test to find the commit that broke your app. We can't do anything until we have this information.
http://bugs.winehq.org/show_bug.cgi?id=9451
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-26 14:05:55 --- This is a well known problem with ATI drivers. They do not properly work with multithreaded OpenGL. The reason it worked before but doesn't now is because Wine now properly selects the each thread's context (as per spec), which is broken with ATI. And before Wine was using the same context with each thread (which is prohibited by spec), but works with ATI.
Duplicate.
*** This bug has been marked as a duplicate of bug 3952 ***
http://bugs.winehq.org/show_bug.cgi?id=9451
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-26 14:06:15 --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=9451
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-26 14:35:50 --- Wrong duplicate, sorry
*** This bug has been marked as a duplicate of bug 9332 ***
http://bugs.winehq.org/show_bug.cgi?id=9451
--- Comment #14 from Robert Hurst r_hurst@microwavesoft.com 2007-08-26 15:08:47 --- Too bad, I ran all these regression tests these past few hours without reading my email... and I finally got between a 'bad' and 'good' test, only to read this unfortunate news. I'll keep my 0.9.39 version running for now (thank you) and will continue to test new versions of both WINE and ATI drivers.
Thanks for the help (and git learning experience).
http://bugs.winehq.org/show_bug.cgi?id=9451
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Austin English austinenglish@gmail.com 2008-10-29 14:17:22 --- Closing abandoned.