[Bug 22032] New: Steam in-game overlay does not work outside winedbg
http://bugs.winehq.org/show_bug.cgi?id=22032 Summary: Steam in-game overlay does not work outside winedbg Product: Wine Version: 1.1.40 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: Enrico_m(a)gmx.de CC: stefandoesinger(a)gmx.at Thanks to the amazing work of Stefan Dösinger (my wine hero), the Steam in-game overlay is finally working - but only if I run Steam in winedbg. Outside winedbg i get the following error, if I try to run the game with in-game overlay enabled: err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ede1bf5 Tested with "Supreme Commander 2", "Mirror's Edge" and "Team Fortress 2" I'm happy to provide logs, if someone could point me to the right trace channel(s). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #1 from Enrico <Enrico_m(a)gmx.de> 2010-03-18 19:15:15 --- Created an attachment (id=26883) --> (http://bugs.winehq.org/attachment.cgi?id=26883) workaround to prevent the unhandled exception some more infos: 1. If the first start of a steam app fails, it will always fail until steam is restarted. 2. If the game start succeeds (rare case), all starts will succeed until steam is restarted. 3. The unhandled exception does not occur if steam is started in winedbg, but it will occur if winedbg is attached later. I guess the real problem is during steam startup and not the app startup. 4. winedbg pointed to - GetConsoleInputExeNameA (dlls/kernel32/console.c) - GetConsoleTitleA (dlls/kernel32/console.c) - attach_process_dlls (dlls/ntdll/loader.c) after changing GetConsoleInputExeNameA and GetConsoleTitleA to simple stubs, attach_process_dlls kept popping up. Deleting the call to pthread_sigmask in attach_process_dlls fixed the unhandled exception (even if reverting GetConsoleInputExeNameA and GetConsoleTitleA). I don't know how to really fix this bug, but I hope this maybe helps a real wine developer to investigate. btw: many other steam user have had the unhandled exception too, but they fixed it by disabling the steam in-game overlay. This was not a big issue, because the in-game overlay did not work until know (you just need a gcc newer than 4.4.3, I just build one from svn). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |-unknown --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-19 08:47:06 --- Can you try the patch from bug 20380? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Enrico <Enrico_m(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll --- Comment #3 from Enrico <Enrico_m(a)gmx.de> 2010-03-19 15:16:07 --- (In reply to comment #2)
Can you try the patch from bug 20380?
"The patch" is a little bit vague, if it comes to bug 20380. I tried "patch for linux kernel 2.6.33" and "block SIGSEGV in sigusr1 handler". Both patches applied and build fine, but had no effect. Did I try the wrong one? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-19 21:34:21 --- Yes, the kernel patch. Also I'm assuming you compiling newest gcc yourself? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #5 from Enrico <Enrico_m(a)gmx.de> 2010-03-20 08:42:11 --- Yes, I build gcc myself (from 4.5 branch), but I also had this issue with gcc 4.3.4 an 4.4.3 supplied by Gentoo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #6 from edward savage <epssyis(a)gmail.com> 2010-05-06 20:03:34 --- Created an attachment (id=27787) --> (http://bugs.winehq.org/attachment.cgi?id=27787) game overlay ui crash log This is the Game Overlay Renderer log for a failed attempt to call it from within TF2. I am forwarding this bug to the new Steam UI as it deals with the same issue in the separate GameOverlayUI.exe. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #7 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2010-06-06 04:21:57 --- Edward, you don't have the right gcc to build a Wine that Steam likes. First, you need binutils 2.20 Then compile gcc from SVN(maybe 4.5 works too), make sure it's using the new binutils Afterwards, re-run wine's configure with the new gcc *and* the new binutils. It should print that support for "ms_hook_prologue" is found. Then recompile wine and the overlay dll should attach successfully and you'll run into the problem described in this bug. It used to work when I made the gcc changes - dunno what broke it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Mike Ellery <mellery(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #8 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-07-08 18:20:34 --- Duplicate *** This bug has been marked as a duplicate of bug 17497 *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-07-08 18:20:42 --- Closing -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #10 from Enrico <Enrico_m(a)gmx.de> 2010-07-15 17:43:50 --- Hi Vitaly, could you please explain why do you think this is a duplicate of bug 17497? As stated above, this bug report is NOT about crashes/problems with ms_hook_prologue disabled. This crash occurs with wine build with newest binutils and gcc 4.5.0 - configure states: ms_hook_prologue "yes". The crash should occur in winedbg too, if this bug is similar to bug 17497. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr --- Comment #11 from Eric Pouech <eric.pouech(a)orange.fr> 2010-07-16 01:06:56 --- just to be sure, does running the program in wineconsole (instead of wine) help ? (without winedbg) ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #12 from el <elton(a)schiert.net> 2010-08-07 09:07:29 --- Yes, I seem to be able to start games with the ingame community overlay working when I run Steam through wineconsole, but not when running Steam normally. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #13 from el <elton(a)schiert.net> 2010-09-23 18:19:16 CDT --- I don't seem to be affected by this when running a 2.6.35 kernel (was using 2.6.32 before). I want to add that this bug is not a duplicate of bug 17497. It is an independent issue that persists even after Stefan's patches were in (I did compile Wine using gcc-4.5.1). However, there is a similar bug report, which is in fact a duplicate of 17497. That is bug 22053, which should be closed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #14 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2010-09-24 05:35:18 CDT --- I don't know if this is related, but Steam accidentally forwarded GetMessageW to GetMessageA. Combined with our GetMessageA->GetMessageW calls it lead to an infinite recursion in all games that call any GetMessage* function. Valve has fixed this bug a few days ago(somewhen in early September). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #15 from el <elton(a)schiert.net> 2010-09-28 08:37:45 CDT --- (In reply to comment #14) To me, this sound more like it could have been the cause of bug 24064. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Kfir Itzhak <mastertheknife(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever Confirmed|0 |1 --- Comment #16 from Kfir Itzhak <mastertheknife(a)gmail.com> 2010-11-19 08:47:45 CST --- *** This bug has been confirmed by popular vote. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Kfir Itzhak <mastertheknife(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mastertheknife(a)gmail.com --- Comment #17 from Kfir Itzhak <mastertheknife(a)gmail.com> 2010-11-19 08:58:57 CST --- Hi everyone, Stefan, thanks for your hard work about investigating whats needed to make game overlay work and even created a patch for gcc to add a the ms_hook_prologue feature, thats a lot someone would be willing to do just for a small feature like the game overlay. thank you very much for your time and effort spent! Unfourtunately, I have the same problem as Enrico. I compiled GCC 4.5.1, ensured i have binutils 2.20 or newer and re-compiled wine from git. Game overlay only works if running steam from winedbg, outside winedbg, i receive the same exception error message (although with a slightly different address), log will be attached after this post. I'm running Gentoo x86-64 on kernel linux-2.6.34-gentoo-r12, using nvidia graphics card with driver 260.19.21 and wine from git (wine-1.3.7-172-g8925024) If you need any more info let me know. Why is this bug closed? I viewed bug 17497 but it seems like a similar but unrelated bug. Xfire's bug was solved by installing latest gcc and other required things for the ms_hook_prologue to work, but we already have gcc 4.5.1 and the required binutils version. Please re-open this bug, it needs to be open for progress to be made with this issue. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #18 from Kfir Itzhak <mastertheknife(a)gmail.com> 2010-11-19 09:01:49 CST --- Created an attachment (id=32025) --> (http://bugs.winehq.org/attachment.cgi?id=32025) This is wine's output when starting steam and firing up CS 1.6 This is wine's output when starting steam and firing up CS 1.6. The line of error is the last one in this file. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Kfir Itzhak <mastertheknife(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #32025|application/octet-stream |text/plain mime type| | Attachment #32025|errorlog |errorlog.txt filename| | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Kfir Itzhak <mastertheknife(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #32025|This is wine's output when |wine's output when starting description|starting steam and firing |steam and firing up CS 1.6 |up CS 1.6 | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Enrico <Enrico_m(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|DUPLICATE | --- Comment #19 from Enrico <Enrico_m(a)gmx.de> 2010-11-20 06:46:47 CST --- This bug is not fixed and not related to bug 17497 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Jeff Cook <jeff(a)deserettechnology.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeff(a)deserettechnology.com --- Comment #20 from Jeff Cook <jeff(a)deserettechnology.com> 2010-12-27 21:43:47 CST --- For the record, the overlay works fine for me in TF2 using release and git versions of WINE. I use GCC 4.5.1 and binutils 2.20.1 and compile WINE from source. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #21 from el <elton(a)schiert.net> 2011-06-02 19:16:11 CDT --- I can no longer reproduce this bug with current versions of Linux/Wine/Steam. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |wylda(a)volny.cz Resolution| |FIXED --- Comment #22 from Wylda <wylda(a)volny.cz> 2011-06-21 04:19:43 CDT --- Reported OK - twice. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #23 from Alexandre Julliard <julliard(a)winehq.org> 2011-06-24 17:43:24 CDT --- Closing bugs fixed in 1.3.23. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 Nicolás Delgado <nicolasdelgado(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicolasdelgado(a)gmail.com --- Comment #24 from Nicolás Delgado <nicolasdelgado(a)gmail.com> 2011-08-20 23:56:18 CDT --- I have this problem with 1.3.26, i think it was por the Bug 22053 but i compile wine with gcc 4.5.0 and the problem still here, then i try open steam with winedbg and work just fine :/ I use Gentoo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 James <epsilon72(a)cox.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |epsilon72(a)cox.net --- Comment #25 from James <epsilon72(a)cox.net> 2011-10-04 12:15:05 CDT --- This is not working for me either. gcc-4.5.3-r1 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22032 --- Comment #26 from James <epsilon72(a)cox.net> 2011-10-04 13:00:33 CDT --- (In reply to comment #25)
This is not working for me either. gcc-4.5.3-r1
Correction to comment above - it *does* work for me with wine 1.3.29. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org