Bug 192986

Summary: krunner crash - SIGABRT - double free or corruption
Product: [Plasma] krunner Reporter: Alan Jenkins <alan.christopher.jenkins>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alan Jenkins 2009-05-17 12:35:22 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

The following crash occured when trying to run konqueror (after I pressed enter), just a few seconds after logging in.

Application: Run Command Interface (krunner), signal SIGABRT
[Current thread is 0 (LWP 3083)]

Thread 5 (Thread 0xa9425b90 (LWP 3369)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb67ce643 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb676af1b in _L_lock_1839 () at tzset.c:138
#3  0xb676ae4e in __tzset () at tzset.c:575
#4  0xb6b13cab in QTime::currentTime () at tools/qdatetime.cpp:1839
#5  0xb6b13d22 in QTime::elapsed (this=0x970d844) at tools/qdatetime.cpp:2062
#6  0xb7e213b8 in Plasma::AbstractRunner::performMatch () from /usr/lib/libplasma.so.3
#7  0xb7e8f507 in ?? () from /usr/lib/libplasma.so.3
#8  0xb7d9b014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa94252b8, th=0x96f6a90, job=0x9579e88) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:106
#9  0xb7d9b3b9 in ThreadWeaver::Job::execute (this=0x9579e88, th=0x96f6a90) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:135
#10 0xb7d99f8a in ThreadWeaver::ThreadRunHelper::run (this=0xa9425320, parent=0x95336a0, th=0x96f6a90) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:95
#11 0xb7d9a5fb in ThreadWeaver::Thread::run (this=0x96f6a90) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#12 0xb6b0496e in QThreadPrivate::start (arg=0x96f6a90) at thread/qthread_unix.cpp:189
#13 0xb50374ff in start_thread (arg=0xa9425b90) at pthread_create.c:297
#14 0xb67bf49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa8affb90 (LWP 3370)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb67ce643 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb676af1b in _L_lock_1839 () at tzset.c:138
#3  0xb676ae4e in __tzset () at tzset.c:575
#4  0xb6b13cab in QTime::currentTime () at tools/qdatetime.cpp:1839
#5  0xb6b13d22 in QTime::elapsed (this=0x970d844) at tools/qdatetime.cpp:2062
#6  0xb7e213b8 in Plasma::AbstractRunner::performMatch () from /usr/lib/libplasma.so.3
#7  0xb7e8f507 in ?? () from /usr/lib/libplasma.so.3
#8  0xb7d9b014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa8aff2b8, th=0x97090c8, job=0x9780fd8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:106
#9  0xb7d9b3b9 in ThreadWeaver::Job::execute (this=0x9780fd8, th=0x97090c8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:135
#10 0xb7d99f8a in ThreadWeaver::ThreadRunHelper::run (this=0xa8aff320, parent=0x95336a0, th=0x97090c8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:95
#11 0xb7d9a5fb in ThreadWeaver::Thread::run (this=0x97090c8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#12 0xb6b0496e in QThreadPrivate::start (arg=0x97090c8) at thread/qthread_unix.cpp:189
#13 0xb50374ff in start_thread (arg=0xa8affb90) at pthread_create.c:297
#14 0xb67bf49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa82feb90 (LWP 3371)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb67ce643 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb674ff5d in _L_lock_4597 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb674c5aa in *__GI___libc_free (mem=0xa704bec0) at malloc.c:3623
#4  0xb4ae20f1 in dbus_free () from /lib/libdbus-1.so.3
#5  0xb4adb2af in ?? () from /lib/libdbus-1.so.3
#6  0xb4ad62e9 in ?? () from /lib/libdbus-1.so.3
#7  0xb4ac7eb2 in dbus_connection_send_with_reply_and_block () from /lib/libdbus-1.so.3
#8  0xb6d17c0b in QDBusConnectionPrivate::sendWithReply (this=0x9521a08, message=@0xa82fdc78, sendMode=1, timeout=-1) at ./qdbus_symbols_p.h:133
#9  0xb6d01551 in QDBusConnection::call (this=0x96fe7c4, message=@0xa82fdc78, mode=QDBus::Block, timeout=-1) at qdbusconnection.cpp:516
#10 0xb6d1ff3b in QDBusAbstractInterface::callWithArgumentList (this=0x9700d00, mode=QDBus::Block, method=@0xa82fdf08, args=@0xa82fdd58) at qdbusabstractinterface.cpp:402
#11 0xb6d23e8d in QDBusAbstractInterface::call (this=0x9700d00, mode=QDBus::AutoDetect, method=@0xa82fdf08, arg1=@0xa82fdec0, arg2=@0xa82fdeb4, arg3=@0xa82fdea8, arg4=@0xa82fde9c, arg5=@0xa82fde90, 
    arg6=@0xa82fde84, arg7=@0xa82fde78, arg8=@0xa82fde6c) at qdbusabstractinterface.cpp:655
#12 0xb6d240ec in QDBusAbstractInterface::call (this=0x9700d00, method=@0xa82fdf08, arg1=@0xa82fdec0, arg2=@0xa82fdeb4, arg3=@0xa82fdea8, arg4=@0xa82fde9c, arg5=@0xa82fde90, arg6=@0xa82fde84, 
    arg7=@0xa82fde78, arg8=@0xa82fde6c) at qdbusabstractinterface.cpp:598
#13 0xb54f1aef in Solid::Backends::Hal::HalDevice::queryDeviceInterface (this=0x9704d38, type=@0xa82fdff4) at /build/buildd/kde4libs-4.2.2/solid/solid/backends/hal/haldevice.cpp:350
#14 0xb54ef69c in Solid::Backends::Hal::HalDevice::createDeviceInterface (this=0x9704d38, type=@0xa82fdff4) at /build/buildd/kde4libs-4.2.2/solid/solid/backends/hal/haldevice.cpp:366
#15 0xb54bbcf7 in Solid::Device::asDeviceInterface (this=0xa82fe018, type=@0xa82fdff4) at /build/buildd/kde4libs-4.2.2/solid/solid/device.cpp:158
#16 0xb54bc134 in Solid::Device::asDeviceInterface (this=0xa82fe018, type=@0xa82fdff4) at /build/buildd/kde4libs-4.2.2/solid/solid/device.cpp:142
#17 0xb643cb1c in KFilePlacesItem::deviceData (this=0x97042f8, role=0) at /build/buildd/kde4libs-4.2.2/solid/solid/device.h:224
#18 0xb643ce71 in KFilePlacesItem::data (this=0x97042f8, role=0) at /build/buildd/kde4libs-4.2.2/kfile/kfileplacesitem.cpp:96
#19 0xb643dce7 in KFilePlacesModel::data (this=0x9745958, index=@0xa82fe134, role=0) at /build/buildd/kde4libs-4.2.2/kfile/kfileplacesmodel.cpp:214
#20 0xb643d93e in KFilePlacesModel::text (this=0x9745958, index=@0xa82fe134) at /build/buildd/kde4libs-4.2.2/kfile/kfileplacesmodel.cpp:162
#21 0xa969bf1d in PlacesRunner::match (this=0x9755060, context=@0x9799aac) at /build/buildd/kdebase-workspace-4.2.2/plasma/runners/places/placesrunner.cpp:55
#22 0xb7e213a7 in Plasma::AbstractRunner::performMatch () from /usr/lib/libplasma.so.3
#23 0xb7e8f507 in ?? () from /usr/lib/libplasma.so.3
#24 0xb7d9b014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa82fe2b8, th=0x9536a58, job=0x9799aa0) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:106
#25 0xb7d9b3b9 in ThreadWeaver::Job::execute (this=0x9799aa0, th=0x9536a58) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:135
#26 0xb7d99f8a in ThreadWeaver::ThreadRunHelper::run (this=0xa82fe320, parent=0x95336a0, th=0x9536a58) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:95
#27 0xb7d9a5fb in ThreadWeaver::Thread::run (this=0x9536a58) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#28 0xb6b0496e in QThreadPrivate::start (arg=0x9536a58) at thread/qthread_unix.cpp:189
#29 0xb50374ff in start_thread (arg=0xa82feb90) at pthread_create.c:297
#30 0xb67bf49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa7afdb90 (LWP 3372)):
#0  0xb802b430 in __kernel_vsyscall ()
#1  0xb67ce643 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb674ff5d in _L_lock_4597 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb674c5aa in *__GI___libc_free (mem=0xa70338d8) at malloc.c:3623
#4  0xb676aae9 in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:417
#5  0xb676ae5d in __tzset () at tzset.c:577
#6  0xb6b13cab in QTime::currentTime () at tools/qdatetime.cpp:1839
#7  0xb6b13d22 in QTime::elapsed (this=0x970d844) at tools/qdatetime.cpp:2062
#8  0xb7e213b8 in Plasma::AbstractRunner::performMatch () from /usr/lib/libplasma.so.3
#9  0xb7e8f507 in ?? () from /usr/lib/libplasma.so.3
#10 0xb7d9b014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa7afd2b8, th=0x9744190, job=0x977f6d0) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:106
#11 0xb7d9b3b9 in ThreadWeaver::Job::execute (this=0x977f6d0, th=0x9744190) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Job.cpp:135
#12 0xb7d99f8a in ThreadWeaver::ThreadRunHelper::run (this=0xa7afd320, parent=0x95336a0, th=0x9744190) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:95
#13 0xb7d9a5fb in ThreadWeaver::Thread::run (this=0x9744190) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#14 0xb6b0496e in QThreadPrivate::start (arg=0x9744190) at thread/qthread_unix.cpp:189
#15 0xb50374ff in start_thread (arg=0xa7afdb90) at pthread_create.c:297
#16 0xb67bf49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c32710 (LWP 3083)):
[KCrash Handler]
#6  0xb802b430 in __kernel_vsyscall ()
#7  0xb67066d0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6708098 in *__GI_abort () at abort.c:88
#9  0xb674424d in __libc_message (do_abort=2, fmt=0xb681f5a8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#10 0xb674a604 in malloc_printerr (action=2, str=0xb681f63c "double free or corruption (fasttop)", ptr=0xa70098c0) at malloc.c:5994
#11 0xb674c5b6 in *__GI___libc_free (mem=0xa70098c0) at malloc.c:3625
#12 0xb692d231 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb6d191a9 in QDBusConnectionPrivate::customEvent (this=0x9521a08, e=0xa70586b0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:348
#14 0xb6c093ff in QObject::event (this=0x9521a08, e=0xa70586b0) at kernel/qobject.cpp:1149
#15 0xb70caf2c in QApplicationPrivate::notify_helper (this=0x9488908, receiver=0x9521a08, e=0xa70586b0) at kernel/qapplication.cpp:4084
#16 0xb70d322e in QApplication::notify (this=0x94819c0, receiver=0x9521a08, e=0xa70586b0) at kernel/qapplication.cpp:3631
#17 0xb7b8d94d in KApplication::notify (this=0x94819c0, receiver=0x9521a08, event=0xa70586b0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#18 0xb6bf8a3b in QCoreApplication::notifyInternal (this=0x94819c0, receiver=0x9521a08, event=0xa70586b0) at kernel/qcoreapplication.cpp:602
#19 0xb6bf9695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x945cae0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 0xb6bf988d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#21 0xb6c247ef in postEventSourceDispatch (s=0x948a190) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0xb5083b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb50870eb in ?? () from /usr/lib/libglib-2.0.so.0
#24 0xb5087268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb6c24438 in QEventDispatcherGlib::processEvents (this=0x945ff58, flags={i = -1077635976}) at kernel/qeventdispatcher_glib.cpp:323
#26 0xb716c3f5 in QGuiEventDispatcherGlib::processEvents (this=0x945ff58, flags={i = -1077635928}) at kernel/qguieventdispatcher_glib.cpp:202
#27 0xb6bf706a in QEventLoop::processEvents (this=0xbfc49520, flags={i = -1077635864}) at kernel/qeventloop.cpp:149
#28 0xb6bf74aa in QEventLoop::exec (this=0xbfc49520, flags={i = -1077635800}) at kernel/qeventloop.cpp:200
#29 0xb6bf9959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#30 0xb70cada7 in QApplication::exec () at kernel/qapplication.cpp:3553
#31 0xb7fec916 in kdemain (argc=1, argv=0xbfc496a4) at /build/buildd/kdebase-workspace-4.2.2/krunner/main.cpp:59
#32 0x08048712 in main (argc=) at /build/buildd/kdebase-workspace-4.2.2/obj-i486-linux-gnu/krunner/krunner_dummy.cpp:3
Comment 1 Dario Andres 2009-05-17 16:27:42 UTC
Marking as duplicate of bug 186829. KRunner is now more stable on 4.2.3 and 4.3x+
Thanks

*** This bug has been marked as a duplicate of bug 186829 ***
Comment 2 Alan Jenkins 2009-05-17 16:50:53 UTC
k, guess i have to take your word for it :-P

Backtrace is totally different tho, doesn't include delete/free, and theres no mention of a double free memory error.

It would be nice to have either a mention of how the two crashes tie togther, or e.g. WORKSFORME instead of DUPLICATE.  Thanks anyway.
Comment 3 Dario Andres 2009-05-17 17:06:18 UTC
The Qt code is the same, even the linenumbers:

#8  0x00007f7c50a36dc8 in QDBusConnectionPrivate::customEvent (this=0x9e4e80,
e=<value optimized out>) at
../../include/QtCore/../../../../src/qt-copy/src/corelib/tools/qlist.h:348
#9  0x00007f7c507247ed in QObject::event (this=0x9e4e80, e=0x1216280) at
/opt/qt-copy/src/corelib/kernel/qobject.cpp:1149
#10 0x00007f7c4f93d25d in QApplicationPrivate::notify_helper (this=0x9daad0,
receiver=0x9e4e80, e=0x1216280) at
/opt/qt-copy/src/gui/kernel/qapplication.cpp:4084

Differences may appear as you have debug information for libc and the other reporter didn't. Anyway, this should be fixed.

If you get the same error again with a recent KDE version (4.2.3(may be not), 4.3Beta1, 4.3.trunk), you can freely reopen this bug report :)

Thanks