http://bugs.winehq.org/show_bug.cgi?id=28672
Bug #: 28672 Summary: VirtualDub: crash when using directx for display panes Product: Wine Version: 1.3.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t0p0linik@yahoo.it Classification: Unclassified
Latest wine updates are causing constant crashes in VirtualDub; these happens with several file types since wine-1.3.28 and I've been able to load back those files after disabling directx usage. Running wine from console (when using directx, as I used to do) gives me a single error report (among several fixme messages, as usual) when VD has loaded the file and is about to show it:
err:d3d:context_create wglSwapIntervalEXT failed to set swap interval 1 for context 0x20b1c8, last error 0x591
then the application crashes and shows a dialog box with an alert "An integer division by zero occurred in module 'VirtualDub'" which I believe is not really related to the crash. The error message (d3d error) points me to a video issue which, in fact, disappears when disabling directx for display panes. These crashes appeared when upgrading from 1.3.26 to 1.3.28 (there was no 1.3.27 wine binary for my lucid lynx) and still happen with 1.3.29.
http://bugs.winehq.org/show_bug.cgi?id=28672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Austin English austinenglish@gmail.com 2011-10-12 11:51:31 CDT --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=28672
Caron caron@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://sourceforge.net/proj | |ects/virtualdub/files/virtu | |aldub-win/1.9.11.32842/Virt | |ualDub-1.9.11.zip/download CC| |caron@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=28672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
--- Comment #2 from Austin English austinenglish@gmail.com 2011-11-28 23:01:41 CST --- BTW, I can't reproduce this using the sample.avi from http://support.microsoft.com/kb/119383.
http://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #3 from topolinik t0p0linik@yahoo.it 2011-12-14 17:12:14 CST --- Well, it doesn't appear with `ordinary' avi files anymore. But it still does loading avisynth scripts (sources may be avi, mpeg2, avc...). Mmmhhh...
http://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #4 from Austin English austinenglish@gmail.com 2013-08-07 21:27:18 CDT --- (In reply to comment #3)
Well, it doesn't appear with `ordinary' avi files anymore. But it still does loading avisynth scripts (sources may be avi, mpeg2, avc...). Mmmhhh...
Could you give more clear instructions on how to reproduce this please? (Assuming that it's still present in 1.6 or newer wine).
http://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #5 from topolinik t0p0linik@yahoo.it 2013-11-06 09:09:19 CST --- Created attachment 46473 --> http://bugs.winehq.org/attachment.cgi?id=46473 sample avisynth script showing how to make vdub crash
http://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #6 from topolinik t0p0linik@yahoo.it 2013-11-06 09:10:25 CST --- Using now wine-1.7.5, OS is ubuntu 12.04 precise pangolin i386 with latest updates. My default display config in virtualdub is: (options -> preferences... -> display tab) - enable dithering for 16 bit displays DISABLED - use directx for display panes ENABLED below this, only "use directx overlay surfaces" is ENABLED - disable accelerated display when inactive ENABLED - show debug informations DISABLED
Well, loading an AVI file works well as expected. Loading an avs script brings to a crash. In details, the script may be as the attached one, loading every time a different source, and it crashes. Please note that the crash does NOT happen when analysis is performed (in fact, files are loaded and the ffms2 plugin does write its cache file), it happens when virtualdub has to show the panels. Further, if you disable both panels (View menu), even when enabling directx, loading the script will success in any case and no crash will happen.
https://bugs.winehq.org/show_bug.cgi?id=28672
JPT j-p-t@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |j-p-t@gmx.net
--- Comment #7 from JPT j-p-t@gmx.net --- Cannot reproduce. AVI loads fine regardless of the DirectX option. FFInputDriver loading MKV, MP4 etc crashes regardless of DirectX setting. (will file a separate bug) Did not try mpeg plugin yet.
Are you sure this bug is related to DirectX setting?
Versions: Virtualdub 1.10.4 Wine 1.7.44
https://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #8 from JPT j-p-t@gmx.net --- Also tried the MPEG2 plugin. Works fine, regardless of DirectX. Bug seems to be solved.
https://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #9 from Ken Sharp imwellcushtymelike@gmail.com --- (In reply to Austin English from comment #1)
Please run a regression test: http://wiki.winehq.org/RegressionTesting
Still needed.
https://bugs.winehq.org/show_bug.cgi?id=28672
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #10 from André H. nerv@dawncrow.de --- confirming, The crash happens for me with following file: https://cinelerra-cv.org/footage/bars_100.avi
It is as described. With disabled DirectX usage it works fine. Otherwise crashes with a division by zero: Backtrace: =>0 0x005a03d9 in virtualdub (+0x1a03d9) (0x00000240) 0x005a03d9: idivl 0xd0(%esi),%eax
https://bugs.winehq.org/show_bug.cgi?id=28672
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.29 |1.3.28
https://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #11 from André H. nerv@dawncrow.de --- I started a bisect and plan to continue it the next days.
So far I have: 1.3.28 bad 1.3.27 good dfa0acd1fd84f491ca4957feefe30d9734f04f0a bad 342faea03591e2d13851be798b5b61f9a68f9be0 bad 93b5f681d9c98b29491cea6b901002d8e1c4e714 good
https://bugs.winehq.org/show_bug.cgi?id=28672
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |94ae743ea668e49d40ae4e2dc5f | |e1f5d9be018cb
--- Comment #12 from André H. nerv@dawncrow.de --- dfa0acd1fd84f491ca4957feefe30d9734f04f0a bad 342faea03591e2d13851be798b5b61f9a68f9be0 bad 93b5f681d9c98b29491cea6b901002d8e1c4e714 good 97b074d2dac2063acfab918bf0ae320bb9c19dcf good c89a3ffe806278fa99cff7e3e27c3845c581315e bad c268c40fdf0ecf904769ad2e7fba23884f967c1e good 5f35075c8be21f46d5c73d782d2aa7435f5d576f good dd462052c62c3bca78dc51f6bcaa91dec0dfa59f good 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb bad
94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb is the first bad commit commit 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Aug 30 20:12:31 2011 +0200
ddraw: Make the OpenGL renderer the default one.
https://bugs.winehq.org/show_bug.cgi?id=28672
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wined3d-DDCAPS | |_ALIGNBOUNDARYSRC
https://bugs.winehq.org/show_bug.cgi?id=28672
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #13 from fjfrackiewicz@gmail.com --- Does this commit fix the issue: http://source.winehq.org/git/wine.git/commit/5fd9344362d43d13ee3131fa5619f25... ?
https://bugs.winehq.org/show_bug.cgi?id=28672
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5fd9344362d43d13ee3131fa561 | |9f25d57dd5f03 Status|STAGED |RESOLVED Target Milestone|--- |1.8.x Resolution|--- |FIXED Component|-unknown |directx-d3d
--- Comment #14 from André H. nerv@dawncrow.de --- The crash is gone, the behaviour is slightly different, but deserves an own bug... reverting 5fd9344362d43d13ee3131fa5619f25d57dd5f03 leads to the crash again thanks for the heads up
https://bugs.winehq.org/show_bug.cgi?id=28672
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=28672
--- Comment #16 from Michael Stefaniuc mstefani@redhat.com --- Remove 1.8.x target milestone from bugs that didn't make it into 1.8.x for one reason or another. This are all included in the stable 2.0 release.
https://bugs.winehq.org/show_bug.cgi?id=28672
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---