http://bugs.winehq.org/show_bug.cgi?id=18636
Summary: TF2 pagefaults on exit Product: Wine Version: 1.1.22 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: adys.wh+winehqdotorg@gmail.com
When exiting from the game main menu, TF2 pagefaults. This sometimes causes settings/file corruption on the next startup. It also prevents hl2.exe of exiting cleanly, which in turn prevents Steam.exe of exiting without killing either process.
Attached is a log of opening and exiting TF2 twice.
nVidia 9800GTX+ drivers 185.19 Game started on a clean wineprefix with options -dxlevel 81 -windowed -noborder -width 1440 -height 900 -novid, OffscreenRenderingMode set to fbo
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #1 from Adys adys.wh+winehqdotorg@gmail.com 2009-05-26 15:43:51 --- Created an attachment (id=21342) --> (http://bugs.winehq.org/attachment.cgi?id=21342) Backtraces
http://bugs.winehq.org/show_bug.cgi?id=18636
Yann Droneaud yann@droneaud.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yann@droneaud.fr
--- Comment #2 from Yann Droneaud yann@droneaud.fr 2009-06-13 16:07:18 --- It seems this bug is a duplicate of #18871 and #18901
There's probably something wrong regarding nvidia libglcore.so here.
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2009-06-29 09:26:09 --- Does 40565211fb70bff4b1622570a6b11edd646c00bd fix this one as well?
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2009-07-02 06:20:11 --- (In reply to comment #3)
Does 40565211fb70bff4b1622570a6b11edd646c00bd fix this one as well?
I cannot test 3d apps on this machine for a couple of weeks. Would be great if someone could check.
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2009-07-17 10:09:24 --- (In reply to comment #3)
Does 40565211fb70bff4b1622570a6b11edd646c00bd fix this one as well?
No.
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@eternaldusk.com
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-08 11:13:05 --- *** Bug 19621 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|TF2 pagefaults on exit |All source games crash on | |exit Ever Confirmed|0 |1
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-08 11:25:54 --- Confirming, same happens here with CS:S, TF2 and HL2.
Indeed Steam thinks that local files got corrupted and forces their check. CS:S, TF2 crashed and exited first time but HL2 didn't and was not present in process list.
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-08 11:28:33 --- Created an attachment (id=22905) --> (http://bugs.winehq.org/attachment.cgi?id=22905) Last 1000 lines of the +d3d log
http://bugs.winehq.org/show_bug.cgi?id=18636
Jack Diaz shadow56787@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shadow56787@yahoo.com
--- Comment #9 from Jack Diaz shadow56787@yahoo.com 2009-08-09 23:02:39 --- This is a Wine bug right? I've been trying to figure out why my Source games have been crashing, all I get from people is telling me I incorrectly installed my NVIDIA drivers. I've had this problem on all my games not just Source, F.E.A.R. 2, BioShock, WarCraft III.
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2009-08-10 03:50:19 --- Probably, but it's hard to rule out the drivers
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #11 from 3vi1 winehq.org@eternaldusk.com 2009-08-10 08:40:21 --- If it's due to the drivers, then it's unfortunately still occurring with 190.18.03, as per my dupe noted above (Bug 19621).
Testing with TF2, I find I do see the same blocking behavior (hung hl2.exe) on Steam as noted here. Oddly, hl2.exe terminates when testing with CS:S.
I did a debug and didn't see anything that's not already in Vitaliy's log above. They culminate in pretty much the same way:
... trace:d3d:context_clean_fbo_attachments glFramebufferTexture2D() call ok ../../../wine.git/dlls/wined3d/context.c / 97 trace:d3d:context_clean_fbo_attachments glFramebufferTexture2D() call ok ../../../wine.git/dlls/wined3d/context.c / 100 wine: Unhandled page fault on read access to 0x00000004 at address 0x7d3fda38 (thread 0044), starting debugger... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x7d3fda38).
CS:S seems to be doing pretty much the same thing before it dies:
... trace:d3d:context_clean_fbo_attachments glFramebufferTexture2D() call ok context.c / 97 trace:d3d:context_clean_fbo_attachments glFramebufferTexture2D() call ok context.c / 100 wine: Unhandled page fault on read access to 0x00000004 at address 0x7d24b5f8 (thread 0051), starting debugger... err:ntdll:RtlpWaitForCriticalSection section 0xc074fc "?" wait timed out in thread 001f, blocked by 0020, retrying (60 sec) Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x7d24b5f8).
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2009-08-10 08:47:59 --- The window gets destroyed before we're done cleaning up GL resources. This means we don't have a valid GL context at the time.
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #13 from 3vi1 winehq.org@eternaldusk.com 2009-08-10 08:59:35 --- (In reply to comment #12)
The window gets destroyed before we're done cleaning up GL resources. This means we don't have a valid GL context at the time.
Any idea how that's happening out of order? I'm sure you have a plan of attack. :)
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #14 from Jack Diaz shadow56787@yahoo.com 2009-08-10 23:59:54 --- I too am using 190.xxx beta drivers so I doubt (hope) its the drivers. This issue only happens when you're on fbo, I've tried it on backbuffer and pbuffer but it just makes it worse.
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scrawl@baseoftrash.de
--- Comment #15 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 11:13:55 --- *** Bug 19750 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scrawl@baseoftrash.de CC| |hoehle@users.sourceforge.ne | |t
--- Comment #15 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 11:13:55 --- *** Bug 19750 has been marked as a duplicate of this bug. ***
--- Comment #16 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 11:14:23 --- *** Bug 19728 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18636
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hoehle@users.sourceforge.ne | |t |
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxdonald@linuxdonald.de
--- Comment #17 from Vitaliy Margolen vitaliy@kievinfo.com 2009-09-06 15:28:31 --- *** Bug 19961 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18636
John P Sims jsims2359@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jsims2359@gmail.com
--- Comment #18 from John P Sims jsims2359@gmail.com 2009-09-26 13:46:18 --- Still present in wine-1.1.30
http://bugs.winehq.org/show_bug.cgi?id=18636
byteframe byteframe@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byteframe@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=18636
Laissus Yoann yoann.laissus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yoann.laissus@gmail.com
--- Comment #19 from Laissus Yoann yoann.laissus@gmail.com 2009-10-26 06:01:36 --- This bug disapears for me in wine 1.1.32 on all source games i have tested (left 4 dead, half life 2, css)
http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #20 from Henri Verbeet hverbeet@gmail.com 2009-10-26 06:20:05 --- Yeah, should be fixed by commits 43aaaa8a4b1b92976e466c63eab1cd1c6e9c0134, e3ca576576c46131330353f45990f55045cf7541 and 94d33d3e861d8e01b4edcb940e8ab1aa98359520.
http://bugs.winehq.org/show_bug.cgi?id=18636
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #21 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-26 08:36:36 --- Fixed here, thanks Henri.
http://bugs.winehq.org/show_bug.cgi?id=18636
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:55 --- Closing bugs fixed in 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=18636
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |94d33d3e861d8e01b4edcb940e8 | |ab1aa98359520
https://bugs.winehq.org/show_bug.cgi?id=18636
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |directx-d3d