Bug 205749

Summary: A crash in krunner (malloc, QString::operator=, KDebugPrivate::areaData, KDebugPrivate::stream, KTraderParse_error)
Product: [Unmaintained] kdelibs Reporter: Sputnik <sputnikshock>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED REMIND    
Severity: crash CC: ahartmetz, faure, jospoortvliet, kai.kasurinen
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sputnik 2009-08-31 04:25:26 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-10-generic i686
Distribution: Ubuntu 9.04

 -- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Aborted
[Current thread is 0 (LWP 6110)]

Thread 5 (Thread 0xacbe5b90 (LWP 6204)):
#0  0x007f4422 in __kernel_vsyscall ()
#1  0x007a10e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0699d2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x009b5172 in QWaitCondition::wait (this=0x897d5f8, mutex=0x89225e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0x06d3f148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x897d5e0, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x06d41eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x896e508, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x06d3dd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x897d5e0, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x06d41fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8a1e3e8, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x06d42009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8a1e3e8, previous=0x8ffa198) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x06d3ffbe in ThreadWeaver::ThreadRunHelper::run (this=0xacbe5330, parent=0x897d5e0, th=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#12 0x06d405fb in ThreadWeaver::Thread::run (this=0x8a1e3e8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#13 0x009b4132 in QThreadPrivate::start (arg=0x8a1e3e8) at thread/qthread_unix.cpp:188
#14 0x0079d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x0698e49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xac1ffb90 (LWP 6205)):
#0  0x007f4422 in __kernel_vsyscall ()
#1  0x0699d643 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0x0691ef5d in ?? () from /lib/tls/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xab9feb90 (LWP 6206)):
#0  0x007f4422 in __kernel_vsyscall ()
#1  0x007a10e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0699d2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x009b5172 in QWaitCondition::wait (this=0x897d5f8, mutex=0x89225e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0x06d3f148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x897d5e0, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x06d41eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x06d3dd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x897d5e0, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x06d41fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8f90c88, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x06d42009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8f90c88, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x06d42009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8f90c88, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0x06d42009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8f90c88, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0x06d42009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x896e508, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#16 0x06d3f6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x897d5e0, th=0x8f90c88, previous=0x8a750f8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#17 0x06d3ffbe in ThreadWeaver::ThreadRunHelper::run (this=0xab9fe330, parent=0x897d5e0, th=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#18 0x06d405fb in ThreadWeaver::Thread::run (this=0x8f90c88) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#19 0x009b4132 in QThreadPrivate::start (arg=0x8f90c88) at thread/qthread_unix.cpp:188
#20 0x0079d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#21 0x0698e49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xab1fdb90 (LWP 6207)):
[KCrash Handler]
#6  0x007f4422 in __kernel_vsyscall ()
#7  0x068d56d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x068d7098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x0691324d in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0x0691c276 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0x0691d9c5 in malloc () from /lib/tls/i686/cmov/libc.so.6
#12 0x009ae8ed in qMalloc (size=40) at global/qmalloc.cpp:55
#13 0x009f9e2d in QString::fromLatin1_helper (str=0x313f53 "WarnOutput", size=0) at tools/qstring.cpp:3452
#14 0x009f9eec in QString::fromLatin1 (str=0x313f53 "WarnOutput", size=-1) at tools/qstring.cpp:3500
#15 0x0017dee9 in QString::operator= (this=0xab1fc4d0, s=@0xab1fc4c4) at /usr/include/qt4/QtCore/qstring.h:706
#16 0x001cca19 in KDebugPrivate::areaData (this=0x88c34b8, type=QtWarningMsg, num=7014) at /build/buildd/kde4libs-4.3.0/kdecore/io/kdebug.cpp:308
#17 0x001cd797 in KDebugPrivate::stream (this=0x88c34b8, type=QtWarningMsg, area=7014, debugFile=0x319628 "/build/buildd/kde4libs-4.3.0/kdecore/services/ktraderparse.cpp", line=58, 
    funcinfo=0x3197c0 "void KTraderParse_error(const char*)") at /build/buildd/kde4libs-4.3.0/kdecore/io/kdebug.cpp:538
#18 0x001cac0d in kDebugStream (level=QtWarningMsg, area=7014, file=0x319628 "/build/buildd/kde4libs-4.3.0/kdecore/services/ktraderparse.cpp", line=58, 
    funcinfo=0x3197c0 "void KTraderParse_error(const char*)") at /build/buildd/kde4libs-4.3.0/kdecore/io/kdebug.cpp:632
#19 0x0023dd47 in KTraderParse_error (err=0x319e25 "syntax error") at /build/buildd/kde4libs-4.3.0/kdecore/io/kdebug.h:240
#20 0x00241e2d in kiotradererror (s=0x319e25 "syntax error") at yacc.y:145
#21 0x002423b7 in kiotraderparse () at yacc.c:1728
#22 0x00242802 in KTraderParse_mainParse (
    _code=0xac2f4c70 "exist Exec and ( (exist Keywords and 'opera' ~subin Keywords) or (exist GenericName and 'opera' ~~ GenericName) or (exist Name and 'opera' ~~ Name) )") at yacc.y:151
#23 0x0023e243 in KTraderParse::parseConstraints (_constr=@0xab1fd1a8) at /build/buildd/kde4libs-4.3.0/kdecore/services/ktraderparse.cpp:44
#24 0x0023c454 in KServiceTypeTrader::applyConstraints (lst=@0xab1fcff0, constraint=@0x183f) at /build/buildd/kde4libs-4.3.0/kdecore/services/kservicetypetrader.cpp:59
#25 0x0023c73c in KServiceTypeTrader::defaultOffers (this=0x89d94f8, serviceType=@0xab1fd178, constraint=@0xab1fd1a8) at /build/buildd/kde4libs-4.3.0/kdecore/services/kservicetypetrader.cpp:127
#26 0x0023d015 in KServiceTypeTrader::query (this=0x89d94f8, serviceType=@0xab1fd178, constraint=@0xab1fd1a8) at /build/buildd/kde4libs-4.3.0/kdecore/services/kservicetypetrader.cpp:141
#27 0x049811b9 in ServiceRunner::match (this=0x8c30a30, context=@0x963693c) at /build/buildd/kdebase-workspace-4.3.0/plasma/runners/services/servicerunner.cpp:88
#28 0x0156a9f7 in Plasma::AbstractRunner::performMatch (this=0x8c30a30, localContext=@0x963693c) at /build/buildd/kde4libs-4.3.0/plasma/abstractrunner.cpp:160
#29 0x015e0cfb in Plasma::FindMatchesJob::run (this=0x9636930) at /build/buildd/kde4libs-4.3.0/plasma/private/runnerjobs.cpp:158
#30 0x06d41014 in ThreadWeaver::JobRunHelper::runTheJob (this=0xab1fd2c8, th=0x8bc0528, job=0x9636930) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:106
#31 0x06d413b9 in ThreadWeaver::Job::execute (this=0x9636930, th=0x8bc0528) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Job.cpp:135
#32 0x06d3ff8a in ThreadWeaver::ThreadRunHelper::run (this=0xab1fd330, parent=0x897d5e0, th=0x8bc0528) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:95
#33 0x06d405fb in ThreadWeaver::Thread::run (this=0x8bc0528) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#34 0x009b4132 in QThreadPrivate::start (arg=0x8bc0528) at thread/qthread_unix.cpp:188
#35 0x0079d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#36 0x0698e49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7f0da10 (LWP 6110)):
#0  0x007f4422 in __kernel_vsyscall ()
#1  0x0699d643 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0x0691ef5d in ?? () from /lib/tls/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Reported using DrKonqi
Comment 1 jos poortvliet 2011-12-12 23:14:49 UTC
Hey Sputnik, any trouble with stability of KRunner these days? Could you provide a newer backtrace? I can't find any newer related reports and it doesn't crash for me so for now I'll close it as 'remind'. Please re-open if you have any troubles still!