[KDE 4] hardy, krunner crashed (SIGSEGV)

Bug #193499 reported by Alexander Rødseth
28
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
High
kdebase-workspace (Ubuntu)
Fix Released
Medium
Rich Johnson

Bug Description

Steps to reproduce:
1. alt+f2
2. type "kdesudo synaptic" and press enter

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4f4b740 (LWP 7591)]
[New Thread 0xb0a94b90 (LWP 8341)]
[New Thread 0xb1a97b90 (LWP 8322)]
[New Thread 0xb2298b90 (LWP 8321)]
[New Thread 0xb2a99b90 (LWP 8320)]
[New Thread 0xb329ab90 (LWP 8319)]
[KCrash handler]
#6 0xb7e178ac in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7 0xb7b51ee8 in QIODevice::read () from /usr/lib/libQtCore.so.4
#8 0xb7b3c2e6 in QDataStream::operator>> () from /usr/lib/libQtCore.so.4
#9 0xb7a30ed9 in KSycoca::findEntry (this=0x81df7b8, offset=1285809,
    type=@0xb2297f84)
    at /build/buildd/kde4libs-4.0.1/kdecore/sycoca/ksycoca.cpp:330
#10 0xb79b7205 in KServiceFactory::createEntry (this=0x81b1340,
    offset=1285809)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicefactory.cpp:181
#11 0xb79b6e3a in KServiceFactory::serviceOffers (this=0x81b1340,
    serviceTypeOffset=17337, serviceOffersOffset=<value optimized out>)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicefactory.cpp:269
#12 0xb79c6354 in KServiceTypeTrader::defaultOffers (this=0x81e13b0,
    serviceType=@0xb2298100, constraint=@0xb229810c)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicetypetrader.cpp:125
#13 0xb79c63e0 in KServiceTypeTrader::query (this=0x81e13b0,
    serviceType=@0xb2298100, constraint=@0xb229810c)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicetypetrader.cpp:141
#14 0xb7f2ff7a in ?? () from /usr/lib/kde4/lib/libkdeinit4_krunner.so
#15 0xb2298104 in ?? ()
#16 0x081e13b0 in ?? ()
#17 0xb2298100 in ?? ()
#18 0xb229810c in ?? ()
#19 0xb2298118 in ?? ()
#20 0xb2298118 in ?? ()
#21 0xb22980f8 in ?? ()
#22 0xb7af0090 in QReadWriteLock::unlock () from /usr/lib/libQtCore.so.4
#23 0xb7ccf0ef in Plasma::AbstractRunner::performMatch ()
   from /usr/lib/kde4/lib/libplasma.so.1
#24 0xb7f2a6b7 in ?? () from /usr/lib/kde4/lib/libkdeinit4_krunner.so
#25 0x081d2488 in ?? ()
#26 0x08123374 in ?? ()
#27 0xb22981d8 in ?? ()
#28 0x00000000 in ?? ()

Thread 3 (Thread 0xb1a97b90 (LWP 8322)):
#0 0xb7f46410 in __kernel_vsyscall ()
#1 0xb7aa4aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e8776d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7af4904 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7a8cedd in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81e36b0, th=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5 0xb7a916ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (
    this=0x8231a18, th=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6 0xb7a8c59b in ThreadWeaver::WeaverImpl::waitForAvailableJob (
    this=0x81e36b0, th=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7 0xb7a917cf in ThreadWeaver::WorkingHardState::applyForWork (
    this=0x8231a18, th=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8 0xb7a8d103 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81e36b0,
    th=0x81a36c8, previous=0x8484a58)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9 0xb7a8f9cd in ThreadWeaver::ThreadRunHelper::run (this=0xb1a972c0,
    parent=0x81e36b0, th=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/Thread.cpp:87
#10 0xb7a8faf5 in ThreadWeaver::Thread::run (this=0x81a36c8)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/Thread.cpp:142
#11 0xb7af4037 in ?? () from /usr/lib/libQtCore.so.4
#12 0x081a36c8 in ?? ()
#13 0x00000000 in ?? ()

Thread 2 (Thread 0xb0a94b90 (LWP 8341)):
#0 0xb7f46410 in __kernel_vsyscall ()
#1 0xb7e73311 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7b8dc67 in ?? () from /usr/lib/libQtCore.so.4
#3 0x0000000c in ?? ()
#4 0xb0a94248 in ?? ()
#5 0x00000000 in ?? ()

Thread 1 (Thread 0xb4f4b740 (LWP 7591)):
#0 0xb7f46410 in __kernel_vsyscall ()
#1 0xb7aa4aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e8776d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7af4904 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7af40de in QThread::wait () from /usr/lib/libQtCore.so.4
#5 0xb7b8e0ad in ?? () from /usr/lib/libQtCore.so.4
#6 0x0806dfb0 in ?? ()
#7 0xffffffff in ?? ()
#8 0xbfec03c8 in ?? ()
#9 0xb6a64d31 in operator delete () from /usr/lib/libstdc++.so.6
#10 0xb7b8cc26 in ?? () from /usr/lib/libQtCore.so.4
#11 0x0806dfb0 in ?? ()
#12 0xb7eeeff4 in ?? () from /lib/tls/i686/cmov/libc.so.6
#13 0xbfec0408 in ?? ()
#14 0xb7dd1f34 in exit () from /lib/tls/i686/cmov/libc.so.6
Backtrace stopped: frame did not save the PC
#0 0xb7f46410 in __kernel_vsyscall ()

Revision history for this message
Rich Johnson (nixternal) wrote :

Confirming due to similarities seen in other report, as well as I was able to reproduce this. However, after crashing it I tried to reproduce it, but it seems that if your password is in memory with kdesu/kdesudo, it will not crash again. So I have to wait 15 or so minutes to try again w/o logging in and out :) Thanks!

Changed in kdebase-workspace:
assignee: nobody → nixternal
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Richard, you can use "sudo -k" to kill the cached sudo password.

Revision history for this message
Rich Johnson (nixternal) wrote :

sudo -k or -K doesn't do it, I had to kill it with kdesudo -s. However I can't get it to crash at all. I installed Synaptic to see if it was Synaptic only. I will continue messing around seeing if I can get it to crash, but right now it won't.

Revision history for this message
Rich Johnson (nixternal) wrote :
Download full text (8.5 KiB)

Well, I got it to crash by doing 'kdesudo kwrite' this time. Here is the crash report on it. I will search upstream a bit and see if I can find anything.
----------------------------------------

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5797720 (LWP 7260)]
[New Thread 0xb1c5db90 (LWP 23371)]
[New Thread 0xb245eb90 (LWP 17077)]
[New Thread 0xb2c5fb90 (LWP 17076)]
[New Thread 0xb3460b90 (LWP 17075)]
[New Thread 0xb3c61b90 (LWP 17074)]
[KCrash handler]
#6 0xb7afd1df in QIODevice::read () from /usr/lib/libQtCore.so.4
#7 0xb7ae82e6 in QDataStream::operator>> () from /usr/lib/libQtCore.so.4
#8 0xb7ae30ba in operator>> () from /usr/lib/libQtCore.so.4
#9 0xb795e638 in KServicePrivate::load (this=0x8399000, s=@0x81be7f0)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservice.cpp:304
#10 0xb795e7d1 in KService (this=0x8448cf0, _str=@0x81be7f0, _offset=1013809)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservice.cpp:370
#11 0xb7963301 in KServiceFactory::createEntry (this=0x8252ec0,
    offset=1013809)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicefactory.cpp:184
#12 0xb7962e3a in KServiceFactory::serviceOffers (this=0x8252ec0,
    serviceTypeOffset=19510, serviceOffersOffset=<value optimized out>)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicefactory.cpp:269
#13 0xb7972354 in KServiceTypeTrader::defaultOffers (this=0x814bbd0,
    serviceType=@0xb3c61120, constraint=@0xb3c6112c)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicetypetrader.cpp:125
#14 0xb79723e0 in KServiceTypeTrader::query (this=0x814bbd0,
    serviceType=@0xb3c61120, constraint=@0xb3c6112c)
    at /build/buildd/kde4libs-4.0.1/kdecore/services/kservicetypetrader.cpp:141
#15 0xb7edef7a in ?? () from /usr/lib/kde4/lib/libkdeinit4_krunner.so
#16 0xb3c61124 in ?? ()
#17 0x0814bbd0 in ?? ()
#18 0xb3c61120 in ?? ()
#19 0xb3c6112c in ?? ()
#20 0xb3c61138 in ?? ()
#21 0xb3c61138 in ?? ()
#22 0xb3c61118 in ?? ()
#23 0xb7a9c090 in QReadWriteLock::unlock () from /usr/lib/libQtCore.so.4
#24 0xb7c7b0ef in Plasma::AbstractRunner::performMatch ()
   from /usr/lib/kde4/lib/libplasma.so.1
#25 0xb7ed96b7 in ?? () from /usr/lib/kde4/lib/libkdeinit4_krunner.so
#26 0x08184b10 in ?? ()
#27 0x08138ddc in ?? ()
#28 0xb3c611f8 in ?? ()
#29 0x00000000 in ?? ()

Thread 5 (Thread 0xb3460b90 (LWP 17075)):
#0 0xb7ef5410 in __kernel_vsyscall ()
#1 0xb7a50aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e3376d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7aa0904 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7a38edd in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8185608, th=0x8236410)
    at /build/buildd/kde4libs-4.0.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5 0xb7a3d6ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (
...

Read more...

Revision history for this message
Rich Johnson (nixternal) wrote :

Hey found an upstream report and found out the reason for a lot of the KLauncher crashes which look like their fixes will make it into 4.0.3, so that is good news. Now I need to go through and find all of the KRunner crashes that deal with threading and subscribe this bug to them as well. Thanks!

Revision history for this message
Alexander Rødseth (alexanro) wrote :

Thanks for your good bug-management, Richard.

Revision history for this message
Rich Johnson (nixternal) wrote :

No problem. Funny thing is, I hadn't had any issues with KRunner, or at least noticed them, until I started working on these KRunner reports :)

Changed in kdebase:
status: Unknown → Fix Released
Revision history for this message
Rich Johnson (nixternal) wrote :

We should see this in the next couple of weeks make its way into Kubuntu!!!

Changed in kdebase-workspace:
status: Confirmed → Fix Committed
Revision history for this message
Alexander Rødseth (alexanro) wrote :

Great work, thanks.

Rich Johnson (nixternal)
Changed in kdebase-workspace:
status: Fix Committed → Fix Released
Changed in kdebase:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.