http://bugs.winehq.org/show_bug.cgi?id=24932
Summary: GTA 3, VC, SA segfault in wine 1.3.5 Product: Wine Version: 1.3.5 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: b7.10110111@gmail.com
In 1.3.4 they worked OK. Here's the backtrace: Backtrace: =>0 0x7c25c549 fillcontrols+0x3a5() in winealsa (0x0032e538) 1 0x7c25d8cb ALSA_MixerInit+0xbca() in winealsa (0x0032e638) 2 0x7c261aa6 ALSA_mxdMessage+0xa7() in winealsa (0x0032e698) 3 0x7e57b46c MMDRV_InitPerType+0xe2() in winmm (0x0032e728) 4 0x7e57c0fe MMDRV_Install+0x680() in winmm (0x0032e7d8) 5 0x7e57c3d2 MMDRV_Init+0x168() in winmm (0x0032ea38) 6 0x7e57a14b MMDRV_InitSingleType+0x2a() in winmm (0x0032ea48) 7 0x7e57a1ee MMDRV_GetNum+0x9c() in winmm (0x0032ea78) 8 0x7e590397 waveOutGetNumDevs+0x1d() in winmm (0x0032ea88) 9 0x7c289c51 DEVENUM_CreateSpecialCategories+0x3f6() in devenum (0x0032f348) 10 0x7c2895a4 DEVENUM_ICreateDevEnum_CreateClassEnumerator+0x271() in devenum (0x0032f5f8) 11 0x7d14dcb3 FilterMapper2_EnumMatchingFilters+0x462() in quartz (0x0032f758) 12 0x7d13e860 FilterGraph2_Render+0x948() in quartz (0x0032fa28) 13 0x7d13f1ef FilterGraph2_RenderFile+0x172() in quartz (0x0032fab8) 14 0x00600871 in gta-vc (+0x200870) (0x006de5ac)
And here's the bisect result:
e96d3d538a33785b1ac4f505ab7643864a6d778c is first bad commit commit e96d3d538a33785b1ac4f505ab7643864a6d778c Author: Jeff Cook jeff@deserettechnology.com Date: Sun Oct 10 22:24:45 2010 -0600
winealsa.drv: Only set micelem as master if there are no other elems on this card.
:040000 040000 691d9197b65020404882cde782afa1b5cadd05f01 99820437fe5c80403c694c1d9243e02ef70e2a24 M dlls
http://bugs.winehq.org/show_bug.cgi?id=24932
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #1 from Ruslan b7.10110111@gmail.com 2010-10-28 16:42:48 CDT --- In fact, there're 2 different bug triggers with different backtraces. These 2 bugs compete with each other so that sometimes one wins, sometimes another. Here's one more crash type which triggers in some other cases (first one is most often when SW rendering is enabled), as well as when first described one is reverted. Here's the backtrace: Backtrace: =>0 0x7d577305 BasePinImpl_EnumMediaTypes+0x7f() in quartz (0x0032f6c8) 1 0x7d577a14 BaseOutputPinImpl_Connect+0x369() in quartz (0x0032f758) 2 0x7d504139 FilterGraph2_Render+0xdb5() in quartz (0x0032fa28) 3 0x7d50465b FilterGraph2_RenderFile+0x172() in quartz (0x0032fab8) 4 0x00600871 in gta-vc (+0x200870) (0x006de5ac)
And this is the bisect result (i had to revert commit e96d3d538 almost every test because first bug sometimes occured first):
7602829c4f5d255c1ecd7ecef386b4b2011e6137 is first bad commit commit 7602829c4f5d255c1ecd7ecef386b4b2011e6137 Author: Aric Stewart aric@codeweavers.com Date: Wed Oct 13 11:02:08 2010 -0500
strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
:040000 040000 cbcd286305743c70a30e3fc8eb95a958938150be 31732d19b6a643847cec3b5e6f6f9c3a922b89e1 M dlls :040000 040000 36289eb489280cadbad68e0fab1ccbb6b1ae2fbc c18866116743e5aca0fac51925ba25884eb78a71 M include
http://bugs.winehq.org/show_bug.cgi?id=24932
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeff@deserettechnology.com, | |xvachon@gmail.com
--- Comment #2 from Xavier Vachon xvachon@gmail.com 2010-10-28 16:56:37 CDT --- CCing Jeff and Aric.
http://bugs.winehq.org/show_bug.cgi?id=24932
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #3 from Jeff Cook jeff@deserettechnology.com 2010-10-28 17:25:53 CDT --- Can you include the output of amixer for each card you have attached to your system? Can you also include console output with WINEDEBUG=+mixer?
Does this crash occur every time if not preceded by the other crash you've reported here, or does it only happen sometimes?
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #4 from Ruslan b7.10110111@gmail.com 2010-10-28 17:36:52 CDT --- Created an attachment (id=31579) --> (http://bugs.winehq.org/attachment.cgi?id=31579) WINEDEBUG=+mixer console log
(In reply to comment #3)
Can you include the output of amixer for each card you have attached to your system? Can you also include console output with WINEDEBUG=+mixer?
Does this crash occur every time if not preceded by the other crash you've reported here, or does it only happen sometimes?
This crash occurs always with unset WINEDEBUG when i do a SSH X11-forwarding, where SW rendering gets enabled. But it always gets preceded by another crash when i set WINEDEBUG=+mixer. Anyway, i do attach the console output, maybe it still has needed information.
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #5 from Ruslan b7.10110111@gmail.com 2010-10-28 17:38:06 CDT --- Created an attachment (id=31580) --> (http://bugs.winehq.org/attachment.cgi?id=31580) amixer output
I have only one sound card on my system, so i only attach "amixer" output.
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #6 from Ruslan b7.10110111@gmail.com 2010-10-28 18:02:26 CDT --- Strangely enough, when WINEDEBUG=+mixer, the bug doesn't appear at all. I have checked this by doing "git bisect wine-1.3.5 wine-1.3.4; git bisect good" thus going to state where winealsa bug is present and another one isn't yet introduced. So far, i couldn't reproduce the bug with WINEDEBUG=+mixer, but could every time when WINEDEBUG is unset.
http://bugs.winehq.org/show_bug.cgi?id=24932
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GTA 3, VC, SA segfault in |GTA 3, VC, SA crash |wine 1.3.5 |
http://bugs.winehq.org/show_bug.cgi?id=24932
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-11-02 07:11:48 CDT --- *** Bug 24990 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #8 from Ruslan b7.10110111@gmail.com 2010-11-12 16:04:54 CST --- winealsa bug is still present in wine 1.3.7.
quartz issue is half fixed in bug 24782, but another issue remains as bug 25136.
http://bugs.winehq.org/show_bug.cgi?id=24932
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Ruslan b7.10110111@gmail.com 2010-11-28 10:49:41 CST --- winealsa bug seems to be fixed in wine 1.3.8.
http://bugs.winehq.org/show_bug.cgi?id=24932
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever Confirmed|0 |1
--- Comment #10 from Alexey Loukianov mooroon2@mail.ru 2010-11-28 16:30:21 CST --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #11 from Alexey Loukianov mooroon2@mail.ru 2010-11-28 16:34:00 CST --- I had reported this issue as bug #24990 and it was marked as a duplicate to this bug by Alexandre. Now this bug seems to be marked as a CLOSED FIXED, but the issue I had reported in bug #24990 is still here as of wine 1.3.8. Either the issues were non-related (which I don't believe to be true due to very small chances of coincidence that two regressions were introduces with almost the same symptoms) or this bug is still not fixed.
http://bugs.winehq.org/show_bug.cgi?id=24932
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #12 from Ruslan b7.10110111@gmail.com 2010-11-28 19:34:35 CST --- (In reply to comment #11)
I had reported this issue as bug #24990 and it was marked as a duplicate to this bug by Alexandre. Now this bug seems to be marked as a CLOSED FIXED, but the issue I had reported in bug #24990 is still here as of wine 1.3.8. Either the issues were non-related (which I don't believe to be true due to very small chances of coincidence that two regressions were introduces with almost the same symptoms) or this bug is still not fixed.
OK, i reopen it since it's still present for you.
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #13 from Ruslan b7.10110111@gmail.com 2010-12-10 14:04:36 CST --- Alsamixer bug is still present in 1.3.9. It doesn't reproduce in GTASA and GTAVC, but does in GTAIII.
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #14 from Ruslan b7.10110111@gmail.com 2010-12-11 11:05:40 CST --- Created an attachment (id=32449) --> (http://bugs.winehq.org/attachment.cgi?id=32449) More verbose crash log
I get this message when the bug doesn't appear case: fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
This means, fillcontrols() isn't called. Maybe, fillcontrols() contains the bug, not ALSA_MixerInit. I attach a more verbose crash log, with line where crash occurs indicated.
http://bugs.winehq.org/show_bug.cgi?id=24932
--- Comment #15 from Alexey Loukianov mooroon2@mail.ru 2010-12-24 23:36:59 CST --- I can't reproduce this bug (winecfg Audio tab crash case) with freshly built wine-1.3.10. Seems to be fixed, at least for the winecfg crash case.
http://bugs.winehq.org/show_bug.cgi?id=24932
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #16 from Ruslan b7.10110111@gmail.com 2010-12-25 07:51:16 CST --- (In reply to comment #15)
I can't reproduce this bug (winecfg Audio tab crash case) with freshly built wine-1.3.10. Seems to be fixed, at least for the winecfg crash case.
OK, i close then, since i can't reproduce too.
http://bugs.winehq.org/show_bug.cgi?id=24932
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2011-01-07 12:39:47 CST --- Closing bugs fixed in 1.3.11.