Summary: | Pulseaudio backend: crash when closing a player that was active before KMix was started | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Stefan Majewsky <majewsky> |
Component: | general | Assignee: | Christian Esken <esken> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | andrnils, anishd21, arnaudfrezet, asi99, avsa242, brooks, bug-ubuntu, bugs.kde.org3, cfeck, cpilgrim33, dajomu1, darkface456, ddrs, dgunchev, dmponceberkeley, esken, fedorastyle, fillumina, gaboriron, giri, iozzi, jayky, jemand, jnelson-kde, juha.tiensyrja, jussi.kekkonen, JustinReno, justusranvier, karl, kde, kdebugger, kelvie, ken20001, kevin.clevenger, kfunk, konold, kostacooker, L.Bonnaud, laurent.rineau, loic.grobol, mark, max.schwarz, maxime.haselbauer, maxvanceffer, mik.quinlan, misc-kdeorg, mjstefl, mrb, netziro, ost-nikolaj, portals94, pureacetone, rooksy, russianneuromancer, salcolon, ssk.kde.bugs, stvlpos, szymon.jazy, thilo, thiyagu_r, tim, tuk37, turtlevt, villimagg, wizter09, yamane, zacamendez, zorael |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Crude attempt at finding the cause
New try (the first one wasn't correct) New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Stefan Majewsky
2011-12-07 20:32:38 UTC
The crash is also reproducible with Dragon Player, Kaffeine, and MPlayer with audio only, but not with MPD (Music Player Daemon). Reassigning to the Pulseaudio Backend Component since PA seems to be involved in the crash. Created attachment 66608 [details] Crude attempt at finding the cause Using this crude (bad formatting etc.) patch I see that "kmix(9489) Mixer_PULSE::removeWidget: MixDevice deleted" is printed and a while later "kmix(9489) MDWSlider::update: Tying to update even though mixdevice was destroyed" every time just before the crash happens, so it probably has something to do with MixDevices being automatically destroyed. Also that MixDeviceWidgets aren't correctly removed from ViewDockAreaPopup. See bug 288637 that they don't seem to be added, either. Created attachment 66609 [details]
New try (the first one wasn't correct)
I can't reproduce this anymore after bug 288637 was fixed. Stefan, can you confirm it is fixed? Yes. A test would be very appreciated. It might also be related to 288675. Please try again with the newest from branch 4.8 (or trunk). I might have just fixed that today. *** Bug 295530 has been marked as a duplicate of this bug. *** Bug 295530 is from KDE 4.8.1, so it's not yet fixed. Created attachment 69635 [details]
New crash information added by DrKonqi
kmix (4) on KDE Platform 4.8.1 (4.8.1) "release 481" using Qt 4.8.0
- What I was doing when the application crashed:
Stopping Mplayer (KMix was started after starting Mplayer). Note that I’m using KDE 4.8.1.
-- Backtrace (Reduced):
#7 0x00007feeaa708526 in MDWSlider::update (this=0x9d0910) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/mdwslider.cpp:1001
#8 0x00007feeaa703d4b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/gui/viewdockareapopup.cpp:168
[...]
#11 0x00007feeaa6dccbc in Mixer_Backend::readSetFromHW (this=0x9f36f0) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_backend.cpp:155
#12 0x00007feeaa6ecfa5 in sink_cb (c=<optimized out>, i=<optimized out>, eol=<optimized out>) at /usr/src/debug/kdemultimedia-4.8.1/kmix/backends/mixer_pulse.cpp:191
[...]
#15 0x00007feeac6a73e3 in pa_pdispatch_run () from /usr/lib64/libpulsecommon-1.1.so
*** Bug 296158 has been marked as a duplicate of this bug. *** *** Bug 296110 has been marked as a duplicate of this bug. *** *** Bug 296102 has been marked as a duplicate of this bug. *** *** Bug 296079 has been marked as a duplicate of this bug. *** *** Bug 296010 has been marked as a duplicate of this bug. *** *** Bug 295969 has been marked as a duplicate of this bug. *** *** Bug 295907 has been marked as a duplicate of this bug. *** Created attachment 69672 [details]
New crash information added by DrKonqi
kmix (4) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0
- What I was doing when the application crashed:
nothing special, some konsole and chrome and thunderbid
- Unusual behavior I noticed:
nothing unusual
- Custom settings of the application:
nothing
-- Backtrace (Reduced):
#7 0x00967975 in MDWSlider::update (this=0x9477938) at ../../kmix/gui/mdwslider.cpp:1001
#8 0x009626d3 in ViewDockAreaPopup::refreshVolumeLevels (this=0x94771c0) at ../../kmix/gui/viewdockareapopup.cpp:168
#9 0x0095f41f in ViewBase::qt_metacall (this=0x94771c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfef4980) at ./viewbase.moc:87
#10 0x00962082 in ViewDockAreaPopup::qt_metacall (this=0x94771c0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfef4980) at ./viewdockareapopup.moc:73
#11 0x017aa4ad in metacall (argv=0xbfef4980, idx=30, cl=QMetaObject::InvokeMetaMethod, object=0x94771c0) at kernel/qmetaobject.cpp:245
*** Bug 295835 has been marked as a duplicate of this bug. *** *** Bug 295801 has been marked as a duplicate of this bug. *** *** Bug 295867 has been marked as a duplicate of this bug. *** *** Bug 295642 has been marked as a duplicate of this bug. *** Created attachment 69675 [details]
New crash information added by DrKonqi
kmix (4) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0
- What I was doing when the application crashed:
watching video online. It often crashes but only when flash is involved
-- Backtrace (Reduced):
#6 0x00007f25b3399753 in MDWSlider::update (this=0x107f290) at ../../kmix/gui/mdwslider.cpp:1001
#7 0x00007f25b339500b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#8 0x00007f25b3392311 in ViewBase::qt_metacall (this=0x106ef20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffba789530) at ./viewbase.moc:87
#9 0x00007f25b33949e0 in ViewDockAreaPopup::qt_metacall (this=0x106ef20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffba789530) at ./viewdockareapopup.moc:73
[...]
#11 0x00007f25b33b10cc in Mixer::qt_metacall (this=0xf3db50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffba789680) at ./mixer.moc:82
*** Bug 296184 has been marked as a duplicate of this bug. *** *** Bug 296194 has been marked as a duplicate of this bug. *** *** Bug 296231 has been marked as a duplicate of this bug. *** *** Bug 296235 has been marked as a duplicate of this bug. *** *** Bug 296269 has been marked as a duplicate of this bug. *** I think I may have figured out one potential trigger for this crash: KMix reliably SIGSEGVs during login when I have "Add virtual output device for simultaneous output on all local sound cards" on papref's "Simultaneous Output" tab enabled. Disabling this setting gets rid of the crash. I hope this sheds some light on how to reproduce the issue. *** Bug 296322 has been marked as a duplicate of this bug. *** *** Bug 296341 has been marked as a duplicate of this bug. *** *** Bug 296345 has been marked as a duplicate of this bug. *** *** Bug 296352 has been marked as a duplicate of this bug. *** *** Bug 296361 has been marked as a duplicate of this bug. *** *** Bug 296355 has been marked as a duplicate of this bug. *** *** Bug 296356 has been marked as a duplicate of this bug. *** *** Bug 296392 has been marked as a duplicate of this bug. *** *** Bug 296408 has been marked as a duplicate of this bug. *** *** Bug 296419 has been marked as a duplicate of this bug. *** *** Bug 296454 has been marked as a duplicate of this bug. *** *** Bug 296449 has been marked as a duplicate of this bug. *** I also have "Simultaneous Output" enabled (see Comment 28) and am using Fedora 15, package: kdemultimedia-kmix-4.8.1-1.fc16.x86_64. Similar backtrace to the one in Comment 22. *** Bug 296479 has been marked as a duplicate of this bug. *** *** Bug 296466 has been marked as a duplicate of this bug. *** *** Bug 296517 has been marked as a duplicate of this bug. *** *** Bug 296557 has been marked as a duplicate of this bug. *** *** Bug 296568 has been marked as a duplicate of this bug. *** *** Bug 296570 has been marked as a duplicate of this bug. *** *** Bug 296601 has been marked as a duplicate of this bug. *** *** Bug 296628 has been marked as a duplicate of this bug. *** *** Bug 296639 has been marked as a duplicate of this bug. *** *** Bug 296592 has been marked as a duplicate of this bug. *** *** Bug 296646 has been marked as a duplicate of this bug. *** *** Bug 296684 has been marked as a duplicate of this bug. *** *** Bug 296717 has been marked as a duplicate of this bug. *** *** Bug 296730 has been marked as a duplicate of this bug. *** *** Bug 296754 has been marked as a duplicate of this bug. *** *** Bug 296815 has been marked as a duplicate of this bug. *** *** Bug 296842 has been marked as a duplicate of this bug. *** *** Bug 296843 has been marked as a duplicate of this bug. *** *** Bug 296863 has been marked as a duplicate of this bug. *** *** Bug 296880 has been marked as a duplicate of this bug. *** *** Bug 296886 has been marked as a duplicate of this bug. *** *** Bug 296809 has been marked as a duplicate of this bug. *** *** Bug 296919 has been marked as a duplicate of this bug. *** Testers needed for Trunk version of KMix. This is a good time to test if you can easily reproduce the crash (I am not able to do so at all, as it never crashes for me, independent on the chosen Backend). The complete change to MixDevice is commited to trunk. There is more to do (especially for hotplug/unplug of complete cards), but this change is the most important one. If at all, I am expecting memory leaks but hopefully this should bring a lot of stability. PS: This bug report (and the duplicates) are similar to bug 290742. This here deals with the DockArea and the latter with the main window. Both are about referencing a "dead"/destroyed MixDevice. Merging all bug reports that have a backtrace that indicates access to a dead/destroyed MixDevice to Bug 290742 *** This bug has been marked as a duplicate of bug 290742 *** (In reply to comment #65) > Testers needed for Trunk version of KMix. This is a good time to test if you > can easily reproduce the crash (I am not able to do so at all, as it never > crashes for me, independent on the chosen Backend). > The complete change to MixDevice is commited to trunk. There is more to do > (especially for hotplug/unplug of complete cards), but this change is the > most important one. If at all, I am expecting memory leaks but hopefully > this should bring a lot of stability. > I can test KMix at least in terms of crash after exiting from suspent-to-RAM state as it crashes all the time in that case for me. I can help test too. on my system (SuSe 12.1 KDE 4.8.1) Kmix crashes on every system boot - easily reproducable. I can also test, fedora 16 Sent from my iPhone On Mar 28, 2012, at 6:49 AM, Mekenok HearsCrow <turtlevt@yahoo.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=288441 > > --- Comment #68 from Mekenok HearsCrow <turtlevt@yahoo.com> --- > I can help test too. on my system (SuSe 12.1 KDE 4.8.1) Kmix crashes on every > system boot - easily reproducable. > > -- > You are receiving this mail because: > You are on the CC list for the bug. *** Bug 296989 has been marked as a duplicate of this bug. *** *** Bug 296998 has been marked as a duplicate of this bug. *** *** Bug 297013 has been marked as a duplicate of this bug. *** *** Bug 297087 has been marked as a duplicate of this bug. *** *** Bug 297103 has been marked as a duplicate of this bug. *** *** Bug 297096 has been marked as a duplicate of this bug. *** It doesn't crash anymore in 4.8.1 "release 483". Using openSUSE tumbleweed. I'm sorry but I've just tried to close the player and it still crashes, I had another problem with kmix. In my case it also crashed when I turned on the usb sound card, this problem has vanished but this one keeps on doing it. *** Bug 297125 has been marked as a duplicate of this bug. *** *** Bug 297155 has been marked as a duplicate of this bug. *** *** Bug 297276 has been marked as a duplicate of this bug. *** *** Bug 297431 has been marked as a duplicate of this bug. *** Created attachment 70248 [details]
New crash information added by DrKonqi
kmix (4) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.0
- What I was doing when the application crashed:
Suring on the web with the Browser Google Chrome and watching a video on youtube
-- Backtrace (Reduced):
#7 0x00007fad96599756 in MDWSlider::update (this=0x17266c0) at ../../kmix/gui/mdwslider.cpp:1001
#8 0x00007fad9659500b in ViewDockAreaPopup::refreshVolumeLevels (this=<optimized out>) at ../../kmix/gui/viewdockareapopup.cpp:168
#9 0x00007fad96592311 in ViewBase::qt_metacall (this=0x1725220, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ffa8450) at ./viewbase.moc:87
#10 0x00007fad965949e0 in ViewDockAreaPopup::qt_metacall (this=0x1725220, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ffa8450) at ./viewdockareapopup.moc:73
[...]
#12 0x00007fad965b10cc in Mixer::qt_metacall (this=0x16bd5c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0ffa85a0) at ./mixer.moc:82
|