Bug 287404 - Kmix crashes when removing USB audio device
Summary: Kmix crashes when removing USB audio device
Status: RESOLVED DUPLICATE of bug 292219
Alias: None
Product: kmix
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 21:35 UTC by Erik de Groot
Modified: 2012-07-03 20:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.50 KB, text/plain)
2012-07-03 15:52 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik de Groot 2011-11-23 21:35:17 UTC
Application: kmix (3.9)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 RC 1 (x86_64)"

-- Information about the crash:
When I remove my USB Headset from my laptop, Kmix immediately crashes. It does so every time I repeat the action.

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa5c2e4e760 (LWP 4497))]

Thread 2 (Thread 0x7fa5a632e700 (LWP 4522)):
#0  0x00007fa5c04bd423 in poll () from /lib64/libc.so.6
#1  0x00007fa5bd2b2a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa5bd2b2f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa5c1acf576 in QEventDispatcherGlib::processEvents (this=0x881450, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa5c1aa3a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa5c1aa3c1f in QEventLoop::exec (this=0x7fa5a632ddf0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa5c19bb5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fa5c1a86aef in QInotifyFileSystemWatcherEngine::run (this=0x8789b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa5c19be025 in QThreadPrivate::start (arg=0x8789b0) at thread/qthread_unix.cpp:331
#9  0x00007fa5c172df05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa5c04c653d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa5c2e4e760 (LWP 4497)):
[KCrash Handler]
#6  KMixWindow::saveAndCloseView (this=0x6e6660, idx=1) at /usr/src/debug/kdemultimedia-4.7.3/kmix/apps/kmix.cpp:719
#7  0x00007fa5b05f2d06 in KMixWindow::unplugged (this=0x6e6660, udi=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.3/kmix/apps/kmix.cpp:812
#8  0x00007fa5b05f3435 in KMixWindow::qt_metacall (this=0x6e6660, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff555475b0) at /usr/src/debug/kdemultimedia-4.7.3/build/kmix/kmix.moc:132
#9  0x00007fa5c1ab759a in QMetaObject::activate (sender=0x89d360, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff555475b0) at kernel/qobject.cpp:3287
#10 0x00007fa5b0611da5 in KMixDeviceManager::unplugged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.3/build/kmix/kmixdevicemanager.moc:102
#11 0x00007fa5b0611dd7 in KMixDeviceManager::unpluggedSlot (this=0x89d360, udi=...) at /usr/src/debug/kdemultimedia-4.7.3/kmix/core/kmixdevicemanager.cpp:164
#12 0x00007fa5b06127ec in KMixDeviceManager::qt_metacall (this=0x89d360, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff555476e0) at /usr/src/debug/kdemultimedia-4.7.3/build/kmix/kmixdevicemanager.moc:83
#13 0x00007fa5c1ab759a in QMetaObject::activate (sender=0x89d390, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff555476e0) at kernel/qobject.cpp:3287
#14 0x00007fa5ba35be35 in Solid::DeviceNotifier::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/devicenotifier.moc:94
#15 0x00007fa5ba35cf9d in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x89d390, udi=...) at /usr/src/debug/kdelibs-4.7.3/solid/solid/devicemanager.cpp:207
#16 0x00007fa5ba35d759 in Solid::DeviceManagerPrivate::qt_metacall (this=0x89d390, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff55547890) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/devicemanager_p.moc:80
#17 0x00007fa5c1ab759a in QMetaObject::activate (sender=0x8f1870, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff55547890) at kernel/qobject.cpp:3287
#18 0x00007fa5ba36fca5 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/ifaces/devicemanager.moc:94
#19 0x00007fa5ba3864e4 in Solid::Backends::UDev::UDevManager::slotDeviceRemoved (this=0x8f1870, device=...) at /usr/src/debug/kdelibs-4.7.3/solid/solid/backends/udev/udevmanager.cpp:208
#20 0x00007fa5ba359476 in Solid::Backends::UDev::UDevManager::qt_metacall (this=0x8f1870, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff555479e0) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/moc_udevmanager.cpp:78
#21 0x00007fa5c1ab759a in QMetaObject::activate (sender=0x8dd0a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff555479e0) at kernel/qobject.cpp:3287
#22 0x00007fa5ba38e7c5 in UdevQt::Client::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/udevqt.moc:139
#23 0x00007fa5ba38e96c in UdevQt::ClientPrivate::_uq_monitorReadyRead (this=0x83f4b0, fd=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/solid/solid/backends/shared/udevqtclient.cpp:107
#24 0x00007fa5ba38f014 in UdevQt::Client::qt_metacall (this=0x8dd0a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff55547b40) at /usr/src/debug/kdelibs-4.7.3/build/solid/solid/udevqt.moc:93
#25 0x00007fa5c1ab759a in QMetaObject::activate (sender=0x83f640, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff55547b40) at kernel/qobject.cpp:3287
#26 0x00007fa5c1b0116e in QSocketNotifier::activated (this=<optimized out>, _t1=11) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#27 0x00007fa5c1abf24b in QSocketNotifier::event (this=0x83f640, e=0x7fff555481b0) at kernel/qsocketnotifier.cpp:317
#28 0x00007fa5c0c56be4 in notify_helper (e=0x7fff555481b0, receiver=0x83f640, this=0x6d96d0) at kernel/qapplication.cpp:4481
#29 QApplicationPrivate::notify_helper (this=0x6d96d0, receiver=0x83f640, e=0x7fff555481b0) at kernel/qapplication.cpp:4453
#30 0x00007fa5c0c5ba71 in QApplication::notify (this=0x6cb2b0, receiver=0x83f640, e=0x7fff555481b0) at kernel/qapplication.cpp:4360
#31 0x00007fa5c2836e36 in KApplication::notify (this=0x6cb2b0, receiver=0x83f640, event=0x7fff555481b0) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#32 0x00007fa5c1aa481c in QCoreApplication::notifyInternal (this=0x6cb2b0, receiver=0x83f640, event=0x7fff555481b0) at kernel/qcoreapplication.cpp:787
#33 0x00007fa5c1acec27 in sendEvent (event=0x7fff555481b0, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#34 socketNotifierSourceDispatch (source=0x6e2170) at kernel/qeventdispatcher_glib.cpp:110
#35 0x00007fa5bd2b258d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fa5bd2b2d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fa5bd2b2f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fa5c1acf50f in QEventDispatcherGlib::processEvents (this=0x6d6f80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007fa5c0cf9f2e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fa5c1aa3a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fa5c1aa3c1f in QEventLoop::exec (this=0x7fff555483f0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007fa5c1aa7de7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#43 0x00007fa5b05eb6aa in kdemain (argc=1, argv=0x687ef0) at /usr/src/debug/kdemultimedia-4.7.3/kmix/apps/main.cpp:76
#44 0x0000000000408897 in _start ()

Reported using DrKonqi
Comment 1 Christian Esken 2011-12-30 12:45:02 UTC
Please try again with the newest from branch 4.8 (or trunk). I might have just fixed that today.
Comment 2 Peter 2012-07-03 15:52:16 UTC
Created attachment 72307 [details]
New crash information added by DrKonqi

kmix (3.9) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed: First using Skype for video-phone call, after finishing the call removing the USB headset

-- Backtrace (Reduced):
#6  KMixWindow::saveAndCloseView (this=0x826530, idx=1) at /usr/src/debug/kdemultimedia-4.7.2/kmix/apps/kmix.cpp:719
#7  0x00007f83d9168d06 in KMixWindow::unplugged (this=0x826530, udi=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.2/kmix/apps/kmix.cpp:812
#8  0x00007f83d9169435 in KMixWindow::qt_metacall (this=0x826530, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff10ccab00) at /usr/src/debug/kdemultimedia-4.7.2/build/kmix/kmix.moc:132
[...]
#10 0x00007f83d9187da5 in KMixDeviceManager::unplugged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdemultimedia-4.7.2/build/kmix/kmixdevicemanager.moc:102
#11 0x00007f83d9187dd7 in KMixDeviceManager::unpluggedSlot (this=0x8859f0, udi=...) at /usr/src/debug/kdemultimedia-4.7.2/kmix/core/kmixdevicemanager.cpp:164
Comment 3 Christian Esken 2012-07-03 20:32:34 UTC
Similar to Bug 290742, but on Mixer instead of Control level.

*** This bug has been marked as a duplicate of bug 292219 ***