[Bug 293126] Re: kmix crashes in Solid::DeviceManagerPrivate::_k_deviceAdded()

Bug Watch Updater 293126 at bugs.launchpad.net
Sat Jan 12 04:12:35 UTC 2013


Launchpad has imported 79 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=160221.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-04-01T17:39:49+00:00 Oliver Putz wrote:

Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 20070214 
OS:                Linux

I am not 100% sure what exactly I did, but today after working with a
USB stick (mounting and unmounting it) plasma crashed with the following
backtrace that seems to indicate some problem with Solid (kdelibs
r792052):

Application: Plasma Workspace (plasma), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb6014af0 (LWP 6165)]
[New Thread 0xb49b4b90 (LWP 6166)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb62e71f1 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb62e89b8 in *__GI_abort () at abort.c:88
#9  0xb6f76a45 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbf992b0c "ASSERT: \"dev->backendObject()==0\" in file /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/solid/solid/devicemanager.cpp, line 164") at global/qglobal.cpp:2047
#10 0xb6f76b0a in qFatal (msg=0xb70cefec "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2249
#11 0xb6f76fd5 in qt_assert (assertion=0xb71b7b31 "dev->backendObject()==0", 
    file=0xb71b7c18 "/var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/solid/solid/devicemanager.cpp", line=164) at global/qglobal.cpp:1821
#12 0xb717d812 in Solid::DeviceManagerPrivate::_k_deviceAdded (
    this=0x81d9bd0, udi=@0x83c3790)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/solid/solid/devicemanager.cpp:164
#13 0xb717d96b in Solid::DeviceManagerPrivate::qt_metacall (this=0x81d9bd0, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf994c3c)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/solid/solid/devicemanager_p.moc:72
#14 0xb708c2c8 in QMetaObject::activate (sender=0x81d9d90, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=<value optimized out>) at kernel/qobject.cpp:2995
#15 0xb708ca44 in QMetaObject::activate (sender=0x81d9d90, m=0xb71c28f8, 
    local_signal_index=0, argv=0xbf994c3c) at kernel/qobject.cpp:3065
#16 0xb71910b1 in Solid::Ifaces::DeviceManager::deviceAdded (this=0x81d9d90, 
    _t1=@0x83c3790)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/solid/solid/ifaces/devicemanager.moc:79
#17 0xb719f7be in Solid::Backends::Hal::HalManager::slotDeviceAdded (
    this=0x81d9d90, udi=@0x83c3790)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/solid/solid/backends/hal/halmanager.cpp:214
#18 0xb719f836 in Solid::Backends::Hal::HalManager::qt_metacall (
    this=0x81d9d90, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf994d38)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/solid/solid/backends/hal/halmanager.moc:70
#19 0xb6ecd838 in QDBusConnectionPrivate::deliverCall (this=0x81d9e70, 
    object=0x81d9d90, msg=@0x8739a44, metaTypes=@0x8739a48, slotIdx=6)
    at qdbusintegrator.cpp:865
#20 0xb6ed74c7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8739a18, 
    object=0x81d9d90) at qdbusintegrator_p.h:136
#21 0xb7087ede in QObject::event (this=0x81d9d90, e=0x8739a18)
    at kernel/qobject.cpp:1131
#22 0xb663771f in QApplicationPrivate::notify_helper (this=0x8074f38, 
    receiver=0x81d9d90, e=0x8739a18) at kernel/qapplication.cpp:3735
#23 0xb66392fa in QApplication::notify (this=0x8073c58, receiver=0x81d9d90, 
    e=0x8739a18) at kernel/qapplication.cpp:3329
#24 0xb76bbac3 in KApplication::notify (this=0x8073c58, receiver=0x81d9d90, 
    event=0x8739a18)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311
#25 0xb7075cf7 in QCoreApplication::notifyInternal (this=0x8073c58, 
    receiver=0x81d9d90, event=0x8739a18) at kernel/qcoreapplication.cpp:586
#26 0xb7077059 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804cb68)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 0xb70773bd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1084
#28 0xb66cfb1e in QEventDispatcherX11::processEvents (this=0x806fc90, 
    flags=@0xbf995434)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 0xb7074e61 in QEventLoop::processEvents (this=0xbf9954a0, 
    flags=@0xbf995468) at kernel/qeventloop.cpp:146
#30 0xb7074f8f in QEventLoop::exec (this=0xbf9954a0, flags=@0xbf9954a8)
    at kernel/qeventloop.cpp:197
#31 0xb7077476 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:838
#32 0xb6636e37 in QApplication::exec () at kernel/qapplication.cpp:3267
#33 0xb7f4bdd4 in kdemain (argc=1, argv=0xbf9956a4)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/workspace/plasma/plasma/main.cpp:54
#34 0x080487e2 in main (argc=)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/workspace/plasma/plasma/plasma-qgv_dummy.cpp:3
#35 0xb62d3fdc in __libc_start_main (main=0x80487c0 <main>, argc=1, 
    ubp_av=0xbf9956a4, init=0x8048810 <__libc_csu_init>, 
    fini=0x8048800 <__libc_csu_fini>, rtld_fini=0xb7f67100 <_dl_fini>, 
    stack_end=0xbf99569c) at libc-start.c:229
#36 0x08048731 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/0

------------------------------------------------------------------------
On 2008-04-03T17:36:44+00:00 Oliver Putz wrote:

I just experienced this crash again. Plasma crashed as soon as I plugged in a USB memory stick into the second USB slot. The first slot held a USB pointing presenter at that time. 
As soon as I started krunner in order to bring up a consle in order to mount the device, plasma crashed. Note: I do not have the plasma new device notifier running (if that makes any difference)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/1

------------------------------------------------------------------------
On 2008-04-10T06:48:43+00:00 ervin wrote:

Sorry I cannot reproduce this crash, could you make sure you KDE install
is up to date and provide a step by step way to reproduce this issue?

I definitely don't experience that here.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/2

------------------------------------------------------------------------
On 2008-08-07T08:36:00+00:00 Cgiboudeaux wrote:

*** Bug 168576 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/3

------------------------------------------------------------------------
On 2008-09-02T18:05:50+00:00 Matthias Kretz wrote:

I can reliably reproduce the failed assertion with my new device listing
code now (not committed yet). My guess is that in order to reproduce it
you need to plug in a device that will add more than one Solid::Device
object to the tree, i.e. you get multiple calls to deviceAdded, and then
in the slot iterate over all devices, i.e. access the devices that will
be announced with another deviceAdded later on.

Application: KDE Daemon (kded4), signal SIGABRT
0x00007fd91836cb50 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fd91d10d780 (LWP 14939)):
[KCrash Handler]
#5  0x00007fd918301095 in raise () from /lib/libc.so.6
#6  0x00007fd918302af0 in abort () from /lib/libc.so.6
#7  0x00007fd91b6cce1d in qt_message_output (msgType=QtFatalMsg, buf=0x7fff2513fa50 "ASSERT: \"dev->backendObject()==0\" in file /home/mkretz/KDE/src/kdelibs/solid/solid/devicemanager.cpp, line 164")
    at /home/mkretz/KDE/src/qt-copy/src/corelib/global/qglobal.cpp:2061
#8  0x00007fd91b6ccf3f in qFatal (msg=0x7fd91b849340 "ASSERT: \"%s\" in file %s, line %d") at /home/mkretz/KDE/src/qt-copy/src/corelib/global/qglobal.cpp:2263
#9  0x00007fd91b6cd3ad in qt_assert (assertion=0x7fd9179df25f "dev->backendObject()==0", file=0x7fd9179df2b0 "/home/mkretz/KDE/src/kdelibs/solid/solid/devicemanager.cpp", line=164)
    at /home/mkretz/KDE/src/qt-copy/src/corelib/global/qglobal.cpp:1831
#10 0x00007fd9179a60f3 in Solid::DeviceManagerPrivate::_k_deviceAdded (this=0x8f0e20, udi=@0x962d50) at /home/mkretz/KDE/src/kdelibs/solid/solid/devicemanager.cpp:164
#11 0x00007fd9179a61e3 in Solid::DeviceManagerPrivate::qt_metacall (this=0x8f0e20, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff25141d60)
    at /home/mkretz/KDE/obj/kdelibs/solid/solid/devicemanager_p.moc:72
#12 0x00007fd91b7fe04b in QMetaObject::activate (sender=0x8f0e70, from_signal_index=4, to_signal_index=4, argv=0x7fff25141d60) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qobject.cpp:3016
#13 0x00007fd91b7fe5d1 in QMetaObject::activate (sender=0x8f0e70, m=0x7fd917bfa040, local_signal_index=0, argv=0x7fff25141d60) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qobject.cpp:3086
#14 0x00007fd9179b3d44 in Solid::Ifaces::DeviceManager::deviceAdded (this=0x3a5b, _t1=<value optimized out>) at /home/mkretz/KDE/obj/kdelibs/solid/solid/ifaces/devicemanager.moc:79
#15 0x00007fd9179d3647 in Solid::Backends::Hal::HalManager::qt_metacall (this=0x8f0e70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff25141f90)
    at /home/mkretz/KDE/obj/kdelibs/solid/solid/backends/hal/halmanager.moc:70
#16 0x00007fd91bb431bb in QDBusConnectionPrivate::deliverCall (this=0x7ca130, object=0x8f0e70, msg=@0xa14468, metaTypes=@0xa14470, slotIdx=6)
    at /home/mkretz/KDE/src/qt-copy/src/dbus/qdbusintegrator.cpp:865
#17 0x00007fd91bb4f20f in QDBusCallDeliveryEvent::placeMetaCall (this=0xa14420, object=0x8f0e70) at /home/mkretz/KDE/src/qt-copy/src/dbus/qdbusintegrator_p.h:136
#18 0x00007fd91b7fbcce in QObject::event (this=0x8f0e70, e=0xa14420) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qobject.cpp:1140
#19 0x00007fd918f7495b in QApplicationPrivate::notify_helper (this=0x632010, receiver=0x8f0e70, e=0xa14420) at /home/mkretz/KDE/src/qt-copy/src/gui/kernel/qapplication.cpp:3805
#20 0x00007fd918f74c65 in QApplication::notify (this=0x7fff25142cb0, receiver=0x8f0e70, e=0xa14420) at /home/mkretz/KDE/src/qt-copy/src/gui/kernel/qapplication.cpp:3397
#21 0x00007fd91c4527b6 in KApplication::notify (this=0x7fff25142cb0, receiver=0x8f0e70, event=0xa14420) at /home/mkretz/KDE/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0x00007fd91b7e5e51 in QCoreApplication::notifyInternal (this=0x7fff25142cb0, receiver=0x8f0e70, event=0xa14420) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:591
#23 0x00007fd91b7ea4e9 in QCoreApplication::sendEvent (receiver=0x8f0e70, event=0xa14420) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#24 0x00007fd91b7e645d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x603360) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1202
#25 0x00007fd91b7e6728 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1095
#26 0x00007fd91b81ca41 in QCoreApplication::sendPostedEvents () at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#27 0x00007fd91b81bc5b in postEventSourceDispatch (s=0x634220) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#28 0x00007fd9160913d4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fd9160946e5 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fd916094bcb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fd91b81ade4 in QEventDispatcherGlib::processEvents (this=0x631f80, flags=@0x7fff25142ab0) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#32 0x00007fd91902cdf3 in QGuiEventDispatcherGlib::processEvents (this=0x631f80, flags=@0x7fff25142b10) at /home/mkretz/KDE/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fd91b7e28a4 in QEventLoop::processEvents (this=0x7fff25142bd0, flags=@0x7fff25142b90) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#34 0x00007fd91b7e2aa0 in QEventLoop::exec (this=0x7fff25142bd0, flags=@0x7fff25142bf0) at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qeventloop.cpp:200
#35 0x00007fd91b7e6833 in QCoreApplication::exec () at /home/mkretz/KDE/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:849
#36 0x00007fd918f746c0 in QApplication::exec () at /home/mkretz/KDE/src/qt-copy/src/gui/kernel/qapplication.cpp:3335
#37 0x00007fd91cd1daae in kdemain (argc=1, argv=0x7fff251431c8) at /home/mkretz/KDE/src/kdelibs/kded/kded.cpp:896
#38 0x00007fd9182ed1c4 in __libc_start_main () from /lib/libc.so.6
#39 0x0000000000400779 in _start ()


Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/4

------------------------------------------------------------------------
On 2008-09-07T21:13:13+00:00 Jeff Mitchell wrote:

*** Bug 169873 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/5

------------------------------------------------------------------------
On 2008-09-07T21:14:47+00:00 Jeff Mitchell wrote:

Kevin, see the bug I just marked as a duplicate for two other backtraces
from different programs, both using Solid and both with the same assert.

I believe I can get yet another soon, as I can repeatably crash Plasma
by either pulling the battery out of my laptop or plugging a new one in
(while on mains of course).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/6

------------------------------------------------------------------------
On 2008-10-07T17:08:39+00:00 Alan Jenkins wrote:

*** Bug 172290 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/7

------------------------------------------------------------------------
On 2008-10-16T22:06:52+00:00 Matthias Kretz wrote:

Created attachment 27956
minimal testcase to fail the assertion

set QTDIR and KDEDIR and run make, then execute ./test and plug in a USB
audio device => assertion fails. If you don't have a USB audio device
you can probably adjust the testcase to another kind of device.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/8

------------------------------------------------------------------------
On 2008-11-02T16:45:11+00:00 Oliver Putz wrote:

*** Bug 173864 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/9

------------------------------------------------------------------------
On 2008-11-02T16:47:53+00:00 Oliver Putz wrote:

*** Bug 171666 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/10

------------------------------------------------------------------------
On 2008-11-02T16:51:36+00:00 Oliver Putz wrote:

*** Bug 171499 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/11

------------------------------------------------------------------------
On 2008-11-03T12:19:54+00:00 Matthias Kretz wrote:

Created attachment 28296
Testcase for fake HW

This is the same testcase using the fake HW. It doesn't fail the
assertion there.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/12

------------------------------------------------------------------------
On 2008-11-13T22:27:01+00:00 ervin wrote:

Sorry, but I still can't reproduce this one with either test case...
This one is really a mistery to me, we have quite a few dup. reports, etc. but I never encountered it myself and I can't reproduce it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/19

------------------------------------------------------------------------
On 2008-11-21T10:36:34+00:00 Cgiboudeaux wrote:

*** Bug 175709 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/20

------------------------------------------------------------------------
On 2008-12-05T12:41:51+00:00 Dario Andres wrote:

*** Bug 170873 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/22

------------------------------------------------------------------------
On 2008-12-18T14:43:40+00:00 George Kiagiadakis wrote:

*** Bug 178063 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/23

------------------------------------------------------------------------
On 2008-12-18T14:44:59+00:00 George Kiagiadakis wrote:

*** Bug 174380 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/24

------------------------------------------------------------------------
On 2008-12-18T14:51:47+00:00 George Kiagiadakis wrote:

*** Bug 174037 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/25

------------------------------------------------------------------------
On 2008-12-18T15:14:05+00:00 George Kiagiadakis wrote:

This crash seems to be TOO popular.... I just marked 3 reports as
duplicates, and the two of them have too many duplicates by
themselves....

Most of the crashes are reported against kmix and the steps to reproduce include:
- Pluging/Unpluging usb sticks.
- Installing/removing GPU drivers.
- Fidgeting with udev configuration (bug 178063).
- Updating system with apt-get/aptitude (which probably includes updating hal/udev and restarting one or both of them).

I can confirm this crash myself (I crashed kmix and plasma once or twice
while I was updating my system with aptitude) and I think that the kmix
crash is probably related to the fact that alsa reports two sound cards
for my computer (HDA ATI SB and HDA ATI HDMI), so it probably confirms
what Matthias said in comment 4 (but I am only guessing, I have no idea
how this code works).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/26

------------------------------------------------------------------------
On 2008-12-18T15:35:16+00:00 ervin wrote:

I know, but still see my comment #13. I've never been able to reproduce
it. I've two different computers, several usb devices to plug/unplug.
Tried by hand, tried with the testcases kindly provided by Matthias, and
it just never crashes for me (be it trunk or the version packaged by my
distro).

I'm of course concerned by all the dups etc. But, I'm really in "waiting
for a testcase which crashes for me or a patch" mode on this one. I
can't do much more unfortunately.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/27

------------------------------------------------------------------------
On 2008-12-18T16:10:36+00:00 George Kiagiadakis wrote:

*** Bug 177252 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/28

------------------------------------------------------------------------
On 2008-12-18T17:46:48+00:00 George Kiagiadakis wrote:

*** Bug 178072 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/29

------------------------------------------------------------------------
On 2008-12-19T12:15:13+00:00 George Kiagiadakis wrote:

*** Bug 178161 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/30

------------------------------------------------------------------------
On 2008-12-19T12:19:24+00:00 George Kiagiadakis wrote:

*** Bug 177265 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/31

------------------------------------------------------------------------
On 2008-12-19T12:23:25+00:00 George Kiagiadakis wrote:

*** Bug 174077 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/32

------------------------------------------------------------------------
On 2008-12-22T06:12:17+00:00 Cgiboudeaux wrote:

*** Bug 178408 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/33

------------------------------------------------------------------------
On 2008-12-23T21:32:14+00:00 Alexey Chernov wrote:

I experience the bug in Amarok
(http://bugs.kde.org/show_bug.cgi?id=178597) and there's a crash report
which obviously seems to be familiar with this case. I was suggested to
print here my case. The full report is in the link above.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/34

------------------------------------------------------------------------
On 2008-12-24T01:00:40+00:00 Dario Andres wrote:

*** Bug 178610 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/35

------------------------------------------------------------------------
On 2008-12-24T03:36:00+00:00 Cgiboudeaux wrote:

*** Bug 178363 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/36

------------------------------------------------------------------------
On 2008-12-24T03:37:33+00:00 Cgiboudeaux wrote:

*** Bug 178597 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/37

------------------------------------------------------------------------
On 2008-12-24T13:54:43+00:00 Kde-bugger wrote:

I can reproduce this bug quite well, it tends to kill kmix or even kded.
Seems that plugging in the USB audio device in my monitor and/or
switching between systems with the builtin KVM-device is a reliable way
to cause this crash.

@Kevin:  I have no idea how to debug this but I can help if you tell me
how.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/38

------------------------------------------------------------------------
On 2008-12-25T15:17:51+00:00 Dario Andres wrote:

*** Bug 178734 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/39

------------------------------------------------------------------------
On 2008-12-28T20:53:43+00:00 Dario Andres wrote:

*** Bug 178981 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/40

------------------------------------------------------------------------
On 2008-12-31T15:28:15+00:00 Matthias Kretz wrote:

Created attachment 29784
patch to skip the assertion

As far as I know the inner workings of Solid this patch should "fix" the
issue while not introducing any leaks or inconsistencies.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/41

------------------------------------------------------------------------
On 2008-12-31T15:32:44+00:00 Matthias Kretz wrote:

Created attachment 29785
real patch to skip the assertion

Ups, sorry. The patch before was my latest code to reproduce the failed
assertion. This time the real one.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/42

------------------------------------------------------------------------
On 2009-01-04T22:47:40+00:00 Dario Andres wrote:

*** Bug 179652 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/43

------------------------------------------------------------------------
On 2009-01-07T18:07:19+00:00 Dario Andres wrote:

*** Bug 179927 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/44

------------------------------------------------------------------------
On 2009-01-07T19:44:38+00:00 Alex Merry wrote:

The patch fixes it for me, and the device appears in the Multimedia KCM
as expected, and disappears when I take it out again.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/45

------------------------------------------------------------------------
On 2009-01-08T12:26:24+00:00 Dario Andres wrote:

*** Bug 180013 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/46

------------------------------------------------------------------------
On 2009-01-09T13:53:31+00:00 Dario Andres wrote:

*** Bug 180125 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/47

------------------------------------------------------------------------
On 2009-01-09T13:55:34+00:00 Dario Andres wrote:

As stated in bug 180125 , this still happens on KDE4.1.96, is the patch
gonna be aplied ? Thanks :)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/48

------------------------------------------------------------------------
On 2009-01-09T21:00:50+00:00 Christian Esken wrote:

Hi, KMix developer speaking now. :-)

While I wasn't able to reproduce the issue, I have found now awonderful way, which works 100% on my box.
1) Stop Kmix
2) Unload sound drivers (e.g. on OpenSUSE via "service alsasound stop").
3) Start KMix. => Crash in libsolid at solid/devicemanager.cpp,
line 164

I will try the patch now.


Reply at: https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/49

------------------------------------------------------------------------
On 2009-01-09T21:02:59+00:00 Christian Esken wrote:

Forgot the last point, so I'll correct it:

1) Stop Kmix
2) Unload sound drivers (e.g. on OpenSUSE via "service alsasound stop").
3) Start KMix
4) Load sound drivers (e.g. on OpenSUSE via "service alsasound start")

Crash happens of course after loading the sound drivers, not after
starting KMix.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/50

------------------------------------------------------------------------
On 2009-01-09T21:18:50+00:00 Christian Esken wrote:

Looks like user "divide" has commited the patch yesterday (slightly
modified):
http://websvn.kde.org/trunk/KDE/kdelibs/solid/solid/devicemanager.cpp?r1=907515&r2=907514&pathrev=907515

I can confirm that this fixes the issue for me. :-)

Please be aware that this has only be commited to trunk, as far as I
see. It should be backported to 4.2 branch, but as far as I am concerned
I don't consider this to be release critical, and thus should wait for
after 4.2 release (target: 4.2.1). But the Solid maintainer (Kevin)
should have the last word here.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/51

------------------------------------------------------------------------
On 2009-01-09T21:30:03+00:00 Jeff Mitchell wrote:

My $0.02:

This isn't release critical for people that don't continually suffer
from this problem.

For those that do, the patch can't come soon enough, and they may be
rather disappointed if they upgrade to 4.2 and still see it as a
problem.  Disappointment leads to unhappiness.  Unhappiness leads to
ranting and raving.

I'd recommend sticking it in 4.2 unless Kevin thinks that this might
have adverse effects.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/52

------------------------------------------------------------------------
On 2009-01-10T03:40:21+00:00 Dario Andres wrote:

*** Bug 180202 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/53

------------------------------------------------------------------------
On 2009-01-12T21:13:41+00:00 Dario Andres wrote:

*** Bug 180493 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/54

------------------------------------------------------------------------
On 2009-01-16T11:43:44+00:00 ervin wrote:

*** Bug 180820 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/55

------------------------------------------------------------------------
On 2009-01-17T16:23:08+00:00 George Kiagiadakis wrote:

*** Bug 181071 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/56

------------------------------------------------------------------------
On 2009-01-19T22:47:28+00:00 Dario Andres wrote:

*** Bug 181346 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/57

------------------------------------------------------------------------
On 2009-01-21T18:59:27+00:00 Somekool-f wrote:

if the patch fixes the problem, it should be in 4.2.0


Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/58

------------------------------------------------------------------------
On 2009-01-21T23:56:06+00:00 Dario Andres wrote:

*** Bug 181543 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/59

------------------------------------------------------------------------
On 2009-01-28T18:19:01+00:00 George Kiagiadakis wrote:

*** Bug 182166 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/60

------------------------------------------------------------------------
On 2009-02-01T20:21:44+00:00 Dario Andres wrote:

*** Bug 182680 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/61

------------------------------------------------------------------------
On 2009-02-03T19:12:19+00:00 Jonathan Thomas wrote:

This crash is quite bad. I had plasma, konqueror, ktorrent, krunner and
dolphin all die on every upgrade that hal was restarted. (They had the
same backtrace as the original post)

The good news is that the patch worked wonderfully.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/63

------------------------------------------------------------------------
On 2009-02-22T11:55:37+00:00 ervin wrote:

SVN commit 929830 by ervin:

Commit Matthias' patch which apparently creates no regression.

CCBUG: 160221


 M  +4 -3      devicemanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929830

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/65

------------------------------------------------------------------------
On 2009-02-22T11:57:22+00:00 ervin wrote:

SVN commit 929831 by ervin:

Backport 929830.

BUG: 160221


 M  +4 -3      devicemanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929831

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/66

------------------------------------------------------------------------
On 2009-03-14T22:39:14+00:00 Dario Andres wrote:

*** Bug 187113 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/67

------------------------------------------------------------------------
On 2009-04-12T15:52:43+00:00 Dario Andres wrote:

*** Bug 189438 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/68

------------------------------------------------------------------------
On 2009-07-05T17:07:00+00:00 Christian Esken wrote:

*** Bug 176528 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/69

------------------------------------------------------------------------
On 2009-07-05T17:07:28+00:00 Christian Esken wrote:

*** Bug 178845 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/70

------------------------------------------------------------------------
On 2009-10-26T23:54:31+00:00 bil wrote:

Created attachment 37872


test1

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/71

------------------------------------------------------------------------
On 2009-10-26T23:55:27+00:00 bil wrote:

Created attachment 37873


test2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/72

------------------------------------------------------------------------
On 2009-10-26T23:56:59+00:00 bil wrote:

Created attachment 37874


test3

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/73

------------------------------------------------------------------------
On 2011-08-05T08:43:47+00:00 Cactus wrote:

Created attachment 62564
device removed assertion patch

Please consider this patch for this crash, i have kde 4.7.0 and after
switch on from suspend-to-ram i have 5 crashes on 5 components on 3 hosts.

Waiting for feedback
Best regards.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/74

------------------------------------------------------------------------
On 2011-08-05T08:45:19+00:00 Cactus wrote:

Please also reopen this bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/75

------------------------------------------------------------------------
On 2011-08-05T11:48:30+00:00 Cactus wrote:

Ok this patch resolved my problems with solid.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/76

------------------------------------------------------------------------
On 2011-08-15T21:55:42+00:00 Christian Esken wrote:

Did you apply this patch to the KDE repository? Or is this still open.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/77

------------------------------------------------------------------------
On 2011-08-16T12:53:58+00:00 Cactus wrote:

It is still open because i have no account in kde git.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/78

------------------------------------------------------------------------
On 2012-03-17T13:03:37+00:00 Winter-s wrote:

Alex or Kevin,

Please can we commit this patch.  I'm hitting this assert now on two
different Fedora 15 computers and causing plasma-desktop, knotify and
krunner to die every few hours.

I've been running with this patch few a couple days now ok.

-Allen

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/79

------------------------------------------------------------------------
On 2012-03-18T00:57:20+00:00 Alex Fiestas wrote:

(In reply to comment #70)
> Alex or Kevin,
> 
> Please can we commit this patch.  I'm hitting this assert now on two
> different Fedora 15 computers and causing plasma-desktop, knotify and
> krunner to die every few hours.
> 
> I've been running with this patch few a couple days now ok.
> 
> -Allen

That patches remove an ASSERT that makes sense and show us a bug in the
library, removing it won't solve the real issue.

If you want to avoid the crash, compile libsolid without debug as you
should do in production, assert won't quit the application then.

I will try to reproduce this bug and fix the real issue asap.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/80

------------------------------------------------------------------------
On 2012-03-18T01:36:40+00:00 Alex Fiestas wrote:

Can you give me some information of which kind of hardware are you plugging/unplugging? 
Does this happen without unplugging/plugging anything? do you suspend/hibernate?

Can you run in a terminal "solid-hardware listen" and save all the debug
until it crashes as knotify/plasma-desktop does?

Thank s!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/81

------------------------------------------------------------------------
On 2012-03-18T12:20:40+00:00 Cactus wrote:

My patch is written according to assert done above this one, and that change was 
added to sources, so why You block this one also?

void Solid::DeviceManagerPrivate::_k_deviceAdded(const QString &udi)
{
    if (m_devicesMap.contains(udi)) {
        DevicePrivate *dev = m_devicesMap[udi].data();
 
        // Ok, this one was requested somewhere was invalid
        // and now becomes magically valid!
 
        if (dev && dev->backendObject() == 0) {
            dev->setBackendObject(createBackendObject(udi));
            Q_ASSERT(dev->backendObject()!=0);
        }
    }
 
    emit deviceAdded(udi);
}
 
     emit deviceAdded(udi);

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/82

------------------------------------------------------------------------
On 2012-03-18T13:29:37+00:00 Winter-s wrote:

Alex,

For me, I really think it's an automount that is going away.  I can't
think of anything I purposefully am plugging/unplugging nor is this a
suspend/hibernation issue.

In the meantime, I'll look for debug messages that might give you more
hints.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/83

------------------------------------------------------------------------
On 2012-03-18T16:34:37+00:00 Alex Fiestas wrote:

(In reply to comment #73)
>         if (dev && dev->backendObject() == 0) {
>             dev->setBackendObject(createBackendObject(udi));
>             Q_ASSERT(dev->backendObject()!=0);
>         }
Well I'm in a hurry so maybe I'm reading this wrong but if you set the backendObject just before asserting for sure the assert won't fail but that turns the assert in invalid since it is not checking what it should check.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/84

------------------------------------------------------------------------
On 2013-01-11T21:59:38+00:00 Alex Merry wrote:

I slightly confused by this report.  git claims that the change people
were requesting in March 2012 was already made in the repo in 2009.

Does this bug still exist?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/85

------------------------------------------------------------------------
On 2013-01-11T22:06:18+00:00 Winter-s wrote:

I have no recollection of what might have fixed this bug; however, no
such crash here in quite a long time.

Alex might remember.

AFIAK this one should be resolvable

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/86

------------------------------------------------------------------------
On 2013-01-11T22:43:01+00:00 Alex Merry wrote:

Let's resolve it WORKSFORME, and if someone can reproduce it, they can
re-open it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/293126/comments/87


** Changed in: kdemultimedia
       Status: Confirmed => Invalid

** Bug watch added: KDE Bug Tracking System #178597
   https://bugs.kde.org/show_bug.cgi?id=178597

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in Ubuntu.
https://bugs.launchpad.net/bugs/293126

Title:
  kmix crashes in Solid::DeviceManagerPrivate::_k_deviceAdded()

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdemultimedia/+bug/293126/+subscriptions




More information about the kubuntu-bugs mailing list