kmix crashes in Solid::DeviceManagerPrivate::_k_deviceAdded()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Multimedia |
Invalid
|
High
|
|||
kde4libs (Ubuntu) |
Fix Released
|
Low
|
Jonathan Thomas |
Bug Description
Binary package hint: kdemultimedia
I've had my Intrepid system running for several minutes, without much activity and with no interaction with kmix. Suddenly I got a KDE Crash Handler window, with almost no debugging symbols available in the backtrace. I hope that apport will manage to collect some useful information for you. I'm not sure whether this is an Ubuntu bug or a KDE bug.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/kmix
NonfreeKernelMo
Package: kmix 4:4.1.2-0ubuntu1
SourcePackage: kdemultimedia
Uname: Linux 2.6.27-7-generic i686
Related branches
In KDE Bug Tracking System #160221, Oliver Putz (regnaron) wrote : | #9 |
In KDE Bug Tracking System #160221, Oliver Putz (regnaron) wrote : | #10 |
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)
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #11 |
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.
In KDE Bug Tracking System #160221, Cgiboudeaux (cgiboudeaux) wrote : | #12 |
*** Bug 168576 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Matthias Kretz (mkretz) wrote : | #13 |
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_
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=
at /home/mkretz/
#8 0x00007fd91b6ccf3f in qFatal (msg=0x7fd91b849340 "ASSERT: \"%s\" in file %s, line %d") at /home/mkretz/
#9 0x00007fd91b6cd3ad in qt_assert (assertion=
at /home/mkretz/
#10 0x00007fd9179a60f3 in Solid::
#11 0x00007fd9179a61e3 in Solid::
at /home/mkretz/
#12 0x00007fd91b7fe04b in QMetaObject:
#13 0x00007fd91b7fe5d1 in QMetaObject:
#14 0x00007fd9179b3d44 in Solid::
#15 0x00007fd9179d3647 in Solid::
at /home/mkretz/
#16 0x00007fd91bb431bb in QDBusConnection
at /home/mkretz/
#17 0x00007fd91bb4f20f in QDBusCallDelive
#18 0x00007fd91b7fbcce in QObject::event (this=0x8f0e70, e=0xa14420) at /home/mkretz/
#19 0x00007fd918f7495b in QApplicationPri
In KDE Bug Tracking System #160221, Jeff Mitchell (jefferai) wrote : | #14 |
*** Bug 169873 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Jeff Mitchell (jefferai) wrote : | #15 |
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).
In KDE Bug Tracking System #160221, Alan Jenkins (aj504) wrote : | #16 |
*** Bug 172290 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Matthias Kretz (mkretz) wrote : | #17 |
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.
In KDE Bug Tracking System #160221, Oliver Putz (regnaron) wrote : | #18 |
*** Bug 173864 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Oliver Putz (regnaron) wrote : | #19 |
*** Bug 171666 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Oliver Putz (regnaron) wrote : | #20 |
*** Bug 171499 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Matthias Kretz (mkretz) wrote : | #21 |
Created attachment 28296
Testcase for fake HW
This is the same testcase using the fake HW. It doesn't fail the assertion there.
Martin von Gagern (gagern) wrote : | #1 |
- Dependencies.txt Edit (6.4 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (176 bytes, text/plain; charset="utf-8")
- ProcMaps.txt Edit (14.4 KiB, text/plain; charset="utf-8")
- ProcStatus.txt Edit (781 bytes, text/plain; charset="utf-8")
Martin von Gagern (gagern) wrote : | #2 |
Jonathan Thomas (echidnaman) wrote : | #3 |
Unfortunately the backtrace is pretty much useless without debugging symbols. Installing kdemultimedia-dbg should provide debugging symbols. Due to the nature of this crash (random, uninstigated) it will probably hard to get the crash to occur again, so I am going to close this bug.
If by chance you re-encounter this bug with debugging symbols installed, feel free to reopen the bug by changing the status to "New". Thanks.
Changed in kdemultimedia: | |
status: | New → Invalid |
Martin von Gagern (gagern) wrote : | #4 |
After installing kdemultimedia-dbg I could use a running kmix instance to get more information from the files posted here. To do so, I compared the maps attached here with that of the running process in order to relocate the addresses mentioned in the backtrace to the corresponding addresses in the running process. Using the list command in gdb I could get function name and source file information about these addresses. As the addresses represent return addresses from the call stack, they seem to correspond to the command immediately after the one currently executing.
With this information I could get more details for two important stack frames:
#12 0xb7a1057a in ?? () from /usr/lib/
Solid::
(kde4libs-
#13 0xb7a1087f in ?? () from /usr/lib/
Solid::
(kde4libs-
So what happens is that the first assertion in _k_deviceAdded failed, which reads
Q_ASSERT(
See http://
From there on things get a bit tricky to debug, as I don't have the moc files generated here, only the sources unpacked, and as I can't get deeper in the stack, because debugging qt4 is impossible due to bug 261380. On the other hand, "_k_deviceAdded SIGABRT" give pretty good keywords for a web search, which yielded http://
Jonathan Thomas (echidnaman) wrote : | #5 |
Thank you for the thorough investigation. It is really appreciated.
Changed in kdemultimedia: | |
status: | Invalid → Triaged |
Changed in kde4libs: | |
importance: | Undecided → Low |
Changed in kdemultimedia: | |
status: | Unknown → Confirmed |
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #22 |
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.
In KDE Bug Tracking System #160221, Cgiboudeaux (cgiboudeaux) wrote : | #23 |
*** Bug 175709 has been marked as a duplicate of this bug. ***
James Lamb (admin-oranged) wrote : | #6 |
Hi,
I have this same issue with KDE 4.1.3 from kubuntu ppa. Here is a copy of my crash
Application: KMix (kmix), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb64178d0 (LWP 5457)]
[KCrash handler]
#6 0xb7f4f430 in __kernel_vsyscall ()
#7 0xb7da0880 in raise () from /lib/tls/
#8 0xb7da2248 in abort () from /lib/tls/
#9 0xb755c795 in qt_message_output () from /usr/lib/
#10 0xb755c872 in qFatal () from /usr/lib/
#11 0xb755c915 in qt_assert () from /usr/lib/
#12 0xb796c54a in Solid::
this=0x8d40b60, udi=@0x8feb970)
at /build/
#13 0xb796c84f in Solid::
_c=
at /build/
#14 0xb7669a60 in QMetaObject:
#15 0xb766a7e2 in QMetaObject:
#16 0xb797e853 in Solid::
_t1=@0x8feb970)
at /build/
#17 0xb79a446e in Solid::
this=0x8d25bb0, udi=@0x8feb970)
at /build/
#18 0xb79a455a in Solid::
this=0x8d25bb0, _c=QMetaObject:
at /build/
#19 0xb74c126e in ?? () from /usr/lib/
#20 0xb74c8627 in ?? () from /usr/lib/
#21 0xb7664771 in QObject::event () from /usr/lib/
#22 0xb6c928ec in QApplicationPri
from /usr/lib/
#23 0xb6c9a76e in QApplication:
#24 0xb7bd6b2d in KApplication:
event=
at /build/
#25 0xb7654e61 in QCoreApplicatio
from /usr/lib/
#26 0xb7655ae5 in QCoreApplicatio
from /usr/lib/
#27 0xb7655cdd in QCoreApplicatio
from /usr/lib/
#28 0xb767f82f in ?? () from /usr/lib/
#29 0xb663a6f8 in g_main_
#30 0xb663dda3 in ?? () from /usr/lib/
#31 0xb663df61 in g_main_
#32 0xb767f478 in QEventDispatche
from /usr/lib/
#33 0xb6d2cee5 in ?? () from /usr/lib/
#34 0xb765352a in QEventLoop:
#35 0xb76536ea in QEventLoop::exec () from /usr/lib/
#36 0xb7655da5 in QCoreApplicatio
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #24 |
*** Bug 170873 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #25 |
*** Bug 178063 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #26 |
*** Bug 174380 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #27 |
*** Bug 174037 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #28 |
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).
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #29 |
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.
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #30 |
*** Bug 177252 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #31 |
*** Bug 178072 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #32 |
*** Bug 178161 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #33 |
*** Bug 177265 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #34 |
*** Bug 174077 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Cgiboudeaux (cgiboudeaux) wrote : | #35 |
*** Bug 178408 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Alexey Chernov (4ernov) wrote : | #36 |
I experience the bug in Amarok (http://
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #37 |
*** Bug 178610 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Cgiboudeaux (cgiboudeaux) wrote : | #38 |
*** Bug 178363 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Cgiboudeaux (cgiboudeaux) wrote : | #39 |
*** Bug 178597 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Kde-bugger (kde-bugger) wrote : | #40 |
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.
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #41 |
*** Bug 178734 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #42 |
*** Bug 178981 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Matthias Kretz (mkretz) wrote : | #43 |
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.
In KDE Bug Tracking System #160221, Matthias Kretz (mkretz) wrote : | #44 |
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.
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #45 |
*** Bug 179652 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #46 |
*** Bug 179927 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Alex Merry (randomguy3) wrote : | #47 |
The patch fixes it for me, and the device appears in the Multimedia KCM as expected, and disappears when I take it out again.
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #48 |
*** Bug 180013 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #49 |
*** Bug 180125 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #50 |
As stated in bug 180125 , this still happens on KDE4.1.96, is the patch gonna be aplied ? Thanks :)
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #51 |
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/deviceman
line 164
I will try the patch now.
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #52 |
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.
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #53 |
Looks like user "divide" has commited the patch yesterday (slightly modified): http://
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.
In KDE Bug Tracking System #160221, Jeff Mitchell (jefferai) wrote : | #54 |
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.
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #55 |
*** Bug 180202 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #56 |
*** Bug 180493 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #57 |
*** Bug 180820 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #58 |
*** Bug 181071 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #59 |
*** Bug 181346 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Somekool-f (somekool-f) wrote : | #60 |
if the patch fixes the problem, it should be in 4.2.0
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #61 |
*** Bug 181543 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, George Kiagiadakis (kiagiadakis-george) wrote : | #62 |
*** Bug 182166 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #63 |
*** Bug 182680 has been marked as a duplicate of this bug. ***
Jonathan Thomas (echidnaman) wrote : | #7 |
Fix committed in bzr.
Changed in kde4libs: | |
status: | Triaged → Fix Committed |
milestone: | none → jaunty-alpha-5 |
assignee: | nobody → echidnaman |
In KDE Bug Tracking System #160221, Jonathan Thomas (echidnaman) wrote : | #64 |
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.
Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package kde4libs - 4:4.2.0-0ubuntu3
---------------
kde4libs (4:4.2.0-0ubuntu3) jaunty; urgency=low
[ Jonathan Thomas ]
* Add kubuntu_
restarts during upgrades. (LP: #293126)
[ Anthony Mercatante ]
* Add kubuntu_
- Install lilypond.js kate script, needed for lilypond support.
Fix from SVN rev 919189
* Fixed kdelibs5-
-- Anthony Mercatante <email address hidden> Fri, 13 Feb 2009 14:06:22 +0100
Changed in kde4libs: | |
status: | Fix Committed → Fix Released |
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #65 |
SVN commit 929830 by ervin:
Commit Matthias' patch which apparently creates no regression.
CCBUG: 160221
M +4 -3 devicemanager.cpp
WebSVN link: http://
In KDE Bug Tracking System #160221, ervin (ervin) wrote : | #66 |
SVN commit 929831 by ervin:
Backport 929830.
BUG: 160221
M +4 -3 devicemanager.cpp
WebSVN link: http://
Changed in kdemultimedia: | |
status: | Confirmed → Fix Released |
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #67 |
*** Bug 187113 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Dario Andres (andresbajotierra) wrote : | #68 |
*** Bug 189438 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #69 |
*** Bug 176528 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #70 |
*** Bug 178845 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #160221, bil (bil65klo3) wrote : | #71 |
Created attachment 37872
test1
In KDE Bug Tracking System #160221, bil (bil65klo3) wrote : | #72 |
Created attachment 37873
test2
In KDE Bug Tracking System #160221, bil (bil65klo3) wrote : | #73 |
Created attachment 37874
test3
Changed in kdemultimedia: | |
importance: | Unknown → High |
In KDE Bug Tracking System #160221, Cactus (uzi18) wrote : | #74 |
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.
In KDE Bug Tracking System #160221, Cactus (uzi18) wrote : | #75 |
Please also reopen this bug.
In KDE Bug Tracking System #160221, Cactus (uzi18) wrote : | #76 |
Ok this patch resolved my problems with solid.
In KDE Bug Tracking System #160221, Christian Esken (esken-kde) wrote : | #77 |
Did you apply this patch to the KDE repository? Or is this still open.
In KDE Bug Tracking System #160221, Cactus (uzi18) wrote : | #78 |
It is still open because i have no account in kde git.
Changed in kdemultimedia: | |
status: | Fix Released → Confirmed |
In KDE Bug Tracking System #160221, Winter-s (winter-s) wrote : | #79 |
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
In KDE Bug Tracking System #160221, Alex Fiestas (afiestas) wrote : | #80 |
(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.
In KDE Bug Tracking System #160221, Alex Fiestas (afiestas) wrote : | #81 |
Can you give me some information of which kind of hardware are you plugging/
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/
Thank s!
In KDE Bug Tracking System #160221, Cactus (uzi18) wrote : | #82 |
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::
{
if (m_devicesMap.
// Ok, this one was requested somewhere was invalid
// and now becomes magically valid!
if (dev && dev->backendObj
}
}
emit deviceAdded(udi);
}
emit deviceAdded(udi);
In KDE Bug Tracking System #160221, Winter-s (winter-s) wrote : | #83 |
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.
In KDE Bug Tracking System #160221, Alex Fiestas (afiestas) wrote : | #84 |
(In reply to comment #73)
> if (dev && dev->backendObj
> dev->setBackend
> Q_ASSERT(
> }
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.
In KDE Bug Tracking System #160221, Alex Merry (randomguy3) wrote : | #85 |
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?
In KDE Bug Tracking System #160221, Winter-s (winter-s) wrote : | #86 |
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
In KDE Bug Tracking System #160221, Alex Merry (randomguy3) wrote : | #87 |
Let's resolve it WORKSFORME, and if someone can reproduce it, they can re-open it.
Changed in kdemultimedia: | |
status: | Confirmed → Invalid |
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 _db.so. 1". sysdeps/ unix/sysv/ linux/raise. c:64 QtFatalMsg, 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 qglobal. cpp:2249 0xb71b7b31 "dev->backendOb ject()= =0", portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs- 9999.4/ solid/solid/ devicemanager. cpp", line=164) at global/ qglobal. cpp:1821 DeviceManagerPr ivate:: _k_deviceAdded ( portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs- 9999.4/ solid/solid/ devicemanager. cpp:164 DeviceManagerPr ivate:: qt_metacall (this=0x81d9bd0, QMetaObject: :InvokeMetaMeth od, _id=0, _a=0xbf994c3c) portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs_ build/solid/ solid/deviceman ager_p. moc:72 :activate (sender=0x81d9d90, signal_ index=< value optimized out>, to_signal_index=4, qobject. cpp:2995 :activate (sender=0x81d9d90, m=0xb71c28f8, signal_ index=0, argv=0xbf994c3c) at kernel/ qobject. cpp:3065 Ifaces: :DeviceManager: :deviceAdded (this=0x81d9d90, portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs_ build/solid/ solid/ifaces/ devicemanager. moc:79 Backends: :Hal::HalManage r::slotDeviceAd ded ( portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs- 9999.4/ solid/solid/ backends/ hal/halmanager. cpp:214 Backends: :Hal::HalManage r::qt_metacall ( :InvokeMetaMeth od, _id=6, _a=0xbf994d38) portage/ kde-base/ kdelibs- 9999.4/ work/kdelibs_ build/solid/ solid/backends/ hal/halmanager. moc:70 Private: :deliverCall (this=0x81d9e70, 0x81d9d90, msg=@0x8739a44, metaTypes= @0x8739a48, slotIdx=6) .cpp:865 ryEvent: :placeMetaCall (this=0x8739a18, 0x81d9d90) at qdbusintegrator _p.h:136
Using host libthread_db library "/lib/libthread
[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/
#8 0xb62e89b8 in *__GI_abort () at abort.c:88
#9 0xb6f76a45 in qt_message_output (msgType=
buf=0xbf992b0c "ASSERT: \"dev->
#10 0xb6f76b0a in qFatal (msg=0xb70cefec "ASSERT: \"%s\" in file %s, line %d")
at global/
#11 0xb6f76fd5 in qt_assert (assertion=
file=0xb71b7c18 "/var/tmp/
#12 0xb717d812 in Solid::
this=0x81d9bd0, udi=@0x83c3790)
at /var/tmp/
#13 0xb717d96b in Solid::
_c=
at /var/tmp/
#14 0xb708c2c8 in QMetaObject:
from_
argv=<value optimized out>) at kernel/
#15 0xb708ca44 in QMetaObject:
local_
#16 0xb71910b1 in Solid::
_t1=@0x83c3790)
at /var/tmp/
#17 0xb719f7be in Solid::
this=0x81d9d90, udi=@0x83c3790)
at /var/tmp/
#18 0xb719f836 in Solid::
this=0x81d9d90, _c=QMetaObject:
at /var/tmp/
#19 0xb6ecd838 in QDBusConnection
object=
at qdbusintegrator
#20 0xb6ed74c7 in QDBusCallDelive
object=
#21 0xb7087ede in QObject::event (this=0x81d9d90, e=0x8739a18)
at kernel/qobject....