[Bug 37239] New: Adobe Premiere Pro 2 deadlocks when importing video files
https://bugs.winehq.org/show_bug.cgi?id=37239 Bug ID: 37239 Summary: Adobe Premiere Pro 2 deadlocks when importing video files Product: Wine Version: 1.7.26 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: michael(a)fds-team.de Adobe Premiere 2 deadlocks in a critical section when importing a video. Before you can reproduce the issue you need to apply a patch for bug 34642. You can find a working one in comment #5 inside the bug report. Simply start Premier Pro 2 and create a project. Now click either on File -> Import or drag a video file into the project. The application deadlocks (see attachment): err:ntdll:RtlpWaitForCriticalSection section 0x13d63970 "?" wait timed out in thread 0009, blocked by 0044, retrying (60 sec) Wine version: 1.7.26 Adobe Premiere Pro 2 installer version (SHA-1): 24dc9b897b83f7a4e75f7bb5921a6e2a5ba94d36 PPRO_2.0_Ret-NH_D.zip Regards, Michael -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #1 from Michael Müller <michael(a)fds-team.de> --- Created attachment 49515 --> https://bugs.winehq.org/attachment.cgi?id=49515 debug log -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.adobe.com/p | |ub/adobe/magic/creativesuit | |e/CS2_EOL/PPRO/PPRO_2.0_Ret | |-NH_D.zip CC| |michael(a)fds-team.de, | |sebastian(a)fds-team.de Depends on| |34642 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #2 from Michael Müller <michael(a)fds-team.de> --- Created attachment 49516 --> https://bugs.winehq.org/attachment.cgi?id=49516 debug log with +tid,+seh,+loaddll,+debugstr -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Bug 37239 depends on bug 34642, which changed state. Bug 34642 Summary: Adobe Premiere Pro 2.0 exits silently on startup ('GetMenuItemInfo' must zero out 'cch' if mask doesn't specify 'MIIM_TYPE') https://bugs.winehq.org/show_bug.cgi?id=34642 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #3 from Sebastian Lackner <sebastian(a)fds-team.de> --- As it turns out this issue is not limited to importing video files. It can also be reproduced when trying to view the "About" dialog under "Help". Relevant lines from the log: --- snip --- 683395.680:002c:Call ntdll.RtlEnterCriticalSection(107cdd90) ret=037d194b 683395.680:002c:Ret ntdll.RtlEnterCriticalSection() retval=00000000 ret=037d194b [...] 683395.765:002c:Call glu32.gluNewTess() ret=0616b97b 683395.788:002c:Call ntdll.RtlAllocateHeap(00110000,00000008,00000038) ret=f6636a6b 683395.788:002c:Ret ntdll.RtlAllocateHeap() retval=135efc68 ret=f6636a6b 683395.788:002c:Ret glu32.gluNewTess() retval=135efc68 ret=0616b97b 683395.788:002c:Call glu32.gluTessProperty(135efc68,0001872c,00000000,40f87230) ret=0616b994 683395.788:002c:Ret glu32.gluTessProperty() retval=00018723 ret=0616b994 683395.788:002c:Call glu32.gluTessCallback(135efc68,00018704,0616b830) ret=0616b9a4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636b91 ret=0616b9a4 683395.788:002c:Call glu32.gluTessCallback(135efc68,00018708,0616b840) ret=0616b9b4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636c79 ret=0616b9b4 683395.788:002c:Call glu32.gluTessCallback(135efc68,0001870b,0616b8e0) ret=0616b9c4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636bce ret=0616b9c4 683395.788:002c:Call glu32.gluTessCallback(135efc68,00018706,0616b850) ret=0616b9d4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636c0b ret=0616b9d4 683395.788:002c:Call glu32.gluTessCallback(135efc68,00018707,0616b860) ret=0616b9e4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636c3c ret=0616b9e4 683395.788:002c:Call glu32.gluTessCallback(135efc68,0001870f,0616b870) ret=0616b9f4 683395.788:002c:Ret glu32.gluTessCallback() retval=f6636cb6 ret=0616b9f4 683395.788:002c:Call glu32.gluBeginPolygon(135efc68) ret=0616ba04 (last line from thread 002c) [...] 683395.804:002f:Call ntdll.RtlEnterCriticalSection(107cdd90) ret=037d194b [...] 683400.821:002f:err:ntdll:RtlpWaitForCriticalSection section 0x107cdd90 "?" wait timed out in thread 002f, blocked by 002c, retrying (60 sec) --- snip --- The issue is that the application passes a pointer generated with gluNewTess() to gluBeginPolygon(). All *Tess* functions internally use some wrapper structures to avoid calling convention issues, but two functions (gluBeginPolygon/gluEndPolygon) don't do that by accident. Passing the invalid pointers to glu causes the deadlock. I'll attach a patch which fixes the issue, nevertheless it still seems to deadlock somewhere else? Will try to debug this a bit further, it could also be an issue with my patch. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #4 from Sebastian Lackner <sebastian(a)fds-team.de> --- Created attachment 49563 --> https://bugs.winehq.org/attachment.cgi?id=49563 glu32: Fix wrapper function for glu[Begin|End]Polygon. Avoid passing wine internal heap structures to native glu (see comment above). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #5 from Sebastian Lackner <sebastian(a)fds-team.de> --- Ah, I wasn't careful enough. The wrapper handling is also missing in gluNextContour(). With that fixed the about dialog and import dialog opens up properly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #49563|0 |1 is obsolete| | --- Comment #6 from Sebastian Lackner <sebastian(a)fds-team.de> --- Created attachment 49564 --> https://bugs.winehq.org/attachment.cgi?id=49564 glu32: Fix wrapper function for glu[Begin|End]Polygon. (v2) Updated version of the patch which fixes the deadlock. Most features of Premiere Pro 2 now seem to work well. Tested some basic video editing (importing *avi and *.mpg), cutting, exporting without problems. Only the mouse cursor flickering and loosing focus is sometimes a bit annoying. ;) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Summary|Adobe Premiere Pro 2 |Adobe Premiere Pro 2 |deadlocks when importing |deadlocks when opening |video files |additional windows (glu32 | |wrapper functions not | |sufficient) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #7 from Michael Müller <michael(a)fds-team.de> --- Thanks, confirming. Most of the flickering and focus issues can be avoided by unsetting "Allow the window manager to control the windows" in winecfg. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dendron2000(a)mail.ru --- Comment #8 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 17425 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 --- Comment #9 from Sebastian Lackner <sebastian(a)fds-team.de> --- Should be fixed with http://source.winehq.org/git/wine.git/patch/912035f9c8b1a76741d3f2c6821a5731... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |912035f9c8b1a76741d3f2c6821 | |a573159edf6dd Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Michael Müller <michael(a)fds-team.de> --- Fixed by 912035f9c8b1a76741d3f2c6821a573159edf6dd -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37239 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.27. -- 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