http://bugs.winehq.org/show_bug.cgi?id=31503
Bug #: 31503 Summary: Adobe Audition 6.0 - Crash during UI paint at startup Product: Wine Version: 1.5.11 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: jan@lugfl.de Classification: Unclassified
Created attachment 41418 --> http://bugs.winehq.org/attachment.cgi?id=41418 Backtrace and +wgl trace of start
Adobe Audition 6.0 crashes upon painting the main window after startup since Wine 1.5.10
The backtrace looks like some of the latest wgl changes is causing this. This is the important part of the backtrace:
Backtrace: =>0 0x7e32856a wine_glGetString+0x2a() in opengl32 (0x0e9be7ac) 1 0x06ac066c in displaysurface (+0x1066b) (0x0e9be990) 2 0x00593290 in dvacore (+0x5328f) (0x0e9bea04) 3 0x78afc556 in msvcr100 (+0x5c555) (0x0e9bea3c) 4 0x78afc600 in msvcr100 (+0x5c5ff) (0x0e9bea48)
Full crash log and +wgl trace in attachment..
http://bugs.winehq.org/show_bug.cgi?id=31503
Jan Boysen jan@lugfl.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Adobe Audition 6.0 - Crash |Adobe Audition CS6 - Crash |during UI paint at startup |during UI paint at startup
http://bugs.winehq.org/show_bug.cgi?id=31503
Jan Boysen jan@lugfl.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5923e32ef1b10f741e20d2feba1 | |a1a60d67fa6b7
--- Comment #1 from Jan Boysen jan@lugfl.de 2012-09-10 06:00:46 CDT --- I did some regression testing now and tracked the crash back to 5923e32ef1b10f741e20d2feba1a1a60d67fa6b7
The causing part is the folowing added HeapFree(). Commenting the line solves the crash for me, so maybe an additional check on the data structure is needed before freeing it.
@@ -215,6 +216,7 @@ BOOL WINAPI wglDeleteContext(HGLRC hglrc) } if (hglrc == NtCurrentTeb()->glCurrentRC) wglMakeCurrent( 0, 0 ); ptr->funcs->wgl.p_wglDeleteContext( ptr->u.context->drv_ctx ); + HeapFree( GetProcessHeap(), 0, ptr->u.context->extensions ); HeapFree( GetProcessHeap(), 0, ptr->u.context ); free_handle_ptr( ptr ); return TRUE;
http://bugs.winehq.org/show_bug.cgi?id=31503
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-09-10 06:26:41 CDT --- There's no wglDeleteContext call in your trace, so I don't see how this could make a difference. Please post a full +wgl,+relay trace.
http://bugs.winehq.org/show_bug.cgi?id=31503
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=31503
--- Comment #3 from Jan Boysen jan@lugfl.de 2012-09-10 16:43:13 CDT --- Ok, I just retested this and it looks like the commit did not get fully applied when I wanted to, so the HeapFree() hit is wrong.. And the issue is somewhere else in the commit.
As the compressed +wgl,+relay log is ~13MByte I can't attach it so I uploaded it to:
http://77.232.77.77/wine-bug31503.txt.gz
http://bugs.winehq.org/show_bug.cgi?id=31503
--- Comment #4 from Jan Boysen jan@lugfl.de 2012-09-10 17:24:11 CDT --- another Update.. I looked at the commit once more and saw the following Nvidia workarround was removed. As I have the binary NVIDIA driver installed it gave it a try.
re-adding it really solves the issue, I just retried with git HEAD to ensure everything is fully applied this time...
- /* this is for buggy nvidia driver, crashing if called from a different - thread with no context */ - if(wglGetCurrentContext() == NULL) - return NULL;
http://bugs.winehq.org/show_bug.cgi?id=31503
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-09-11 03:38:25 CDT --- It seems the real problem is that we fail to set the pixel format of the window, and the app doesn't check for errors. Does it work better in the current git tip?
http://bugs.winehq.org/show_bug.cgi?id=31503
--- Comment #6 from Jan Boysen jan@lugfl.de 2012-09-11 04:23:03 CDT --- yep, current HEAD works fine..
thanks a lot.
http://bugs.winehq.org/show_bug.cgi?id=31503
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-09-11 06:48:05 CDT --- Fixed then, thanks.
http://bugs.winehq.org/show_bug.cgi?id=31503
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-09-14 13:35:38 CDT --- Closing bugs fixed in 1.5.13.
https://bugs.winehq.org/show_bug.cgi?id=31503
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Fixed by SHA1| |bde5156876bc9c2255f3f98bdef | |81840c057ffb7 URL| |https://web.archive.org/web | |/20210221112541/https://tri | |als.adobe.com/AdobeProducts | |/legacy/99CABBAC-C975-4A06- | |8D99-064C6871EE80/AUDT/5/wi | |n32/Audition_5_LS7.exe?mv=a | |ffiliate&mv2=red Keywords| |download