Bug 211175

Summary: Krunner crashes during typing [QFactoryLoader::instance, createReadHandlerHelper, QImageReaderPrivate::initHandler]
Product: [Plasma] krunner Reporter: Tomas Vavra <xtom.vavra>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: andresbajotierra, anselmolsm, wilderkde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tomas Vavra 2009-10-20 08:53:54 UTC
Application: krunner (0.1)
KDE Version: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.30-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
During typing of app name I am getting this crash. This problem is not happening always but about 1 per 3 usages of krunner. I have updated yesterday from svn and qt to version 4.6.0 beta1 previous week.

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa9293b87f0 (LWP 3861))]

Thread 5 (Thread 0x7fa8ff281910 (LWP 4920)):
#0  0x00007fa928c4af99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa928ee4979 in QWaitConditionPrivate::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa918466fe4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007fa91846986b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007fa918467cef in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007fa918468129 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007fa928ee3a85 in QThreadPrivate::start (arg=0x29801d0) at thread/qthread_unix.cpp:244
#8  0x00007fa928c4673a in start_thread () from /lib/libpthread.so.0
#9  0x00007fa9255e749d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa8fea80910 (LWP 4921)):
#0  0x00007fa928c4af99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa928ee4979 in QWaitConditionPrivate::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa918466fe4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007fa91846986b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007fa918467cef in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007fa918468129 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007fa928ee3a85 in QThreadPrivate::start (arg=0x2975e90) at thread/qthread_unix.cpp:244
#8  0x00007fa928c4673a in start_thread () from /lib/libpthread.so.0
#9  0x00007fa9255e749d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa8fe27f910 (LWP 4922)):
#0  0x00007fa928c4af99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa928ee4979 in QWaitConditionPrivate::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa918466fe4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007fa91846986b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007fa918467cef in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007fa918468129 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007fa928ee3a85 in QThreadPrivate::start (arg=0x2983240) at thread/qthread_unix.cpp:244
#8  0x00007fa928c4673a in start_thread () from /lib/libpthread.so.0
#9  0x00007fa9255e749d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa8fda7e910 (LWP 4923)):
#0  0x00007fa928c4af99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa928ee4979 in QWaitConditionPrivate::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x264aa68, mutex=0x2615380, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa918466fe4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007fa91846986b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007fa918467cef in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007fa918468129 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007fa928ee3a85 in QThreadPrivate::start (arg=0x2985db0) at thread/qthread_unix.cpp:244
#8  0x00007fa928c4673a in start_thread () from /lib/libpthread.so.0
#9  0x00007fa9255e749d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa9293b87f0 (LWP 3861)):
[KCrash Handler]
#5  0x00007fa92558cd01 in ?? () from /lib/libc.so.6
#6  0x00007fa92558ea00 in ?? () from /lib/libc.so.6
#7  0x00007fa915d3ca3b in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#8  0x00007fa928fbdd53 in QFactoryLoader::instance (this=<value optimized out>, key=...) at plugin/qfactoryloader.cpp:244
#9  0x00007fa9262d488e in createReadHandlerHelper (device=0x7ffff848b320, format=<value optimized out>, autoDetectImageFormat=true, ignoresFormatAndExtension=false) at image/qimagereader.cpp:328
#10 0x00007fa9262d6461 in QImageReaderPrivate::initHandler (this=0x2cd31d0) at image/qimagereader.cpp:531
#11 0x00007fa9262d7ab8 in QImageReader::read (this=0x7ffff848b330, image=0x7ffff848b2e0) at image/qimagereader.cpp:1098
#12 0x00007fa9262d7d1c in QImageReader::read (this=0x7ffff848b330) at image/qimagereader.cpp:1068
#13 0x00007fa9262c3fb8 in QImage::fromData (data=<value optimized out>, size=<value optimized out>, format=<value optimized out>) at image/qimage.cpp:4644
#14 0x00007fa926d032cc in QImage::fromData (parent=0x2c14360, attributes=<value optimized out>, handler=<value optimized out>) at ../../include/QtGui/../../src/gui/image/qimage.h:238
#15 createImageNode (parent=0x2c14360, attributes=<value optimized out>, handler=<value optimized out>) at qsvghandler.cpp:2672
#16 0x00007fa926d002d0 in QSvgHandler::startElement (this=0x7ffff848bce0, localName=..., attributes=...) at qsvghandler.cpp:3614
#17 0x00007fa926d02537 in QSvgHandler::parse (this=0x7ffff848bce0) at qsvghandler.cpp:3540
#18 0x00007fa926d02825 in QSvgHandler::init (this=0x7ffff848bce0) at qsvghandler.cpp:3520
#19 0x00007fa926d02b56 in QSvgHandler (this=0x7ffff848bce0, data=<value optimized out>) at qsvghandler.cpp:3503
#20 0x00007fa926d1208b in QSvgTinyDocument::load (contents=...) at qsvgtinydocument.cpp:208
#21 0x00007fa926d122b4 in QSvgTinyDocument::load (fileName=...) at qsvgtinydocument.cpp:182
#22 0x00007fa926d14007 in loadDocument<QString> (this=0x2c3a260, filename=...) at qsvgrenderer.cpp:317
#23 QSvgRenderer::load (this=0x2c3a260, filename=...) at qsvgrenderer.cpp:343
#24 0x00007fa926d1479d in QSvgRenderer (this=0x2c3a260, filename=..., parent=0x0) at qsvgrenderer.cpp:140
#25 0x00007fa927464eb9 in KSvgRenderer::KSvgRenderer(QString const&, QObject*) () from /opt/kde4/lib/libkdeui.so.5
#26 0x00007fa91a2800ba in Plasma::SvgPrivate::createRenderer() () from /opt/kde4/lib/libplasma.so.3
#27 0x00007fa91a280a05 in Plasma::SvgPrivate::elementRect(QString const&) () from /opt/kde4/lib/libplasma.so.3
#28 0x00007fa91a2816f3 in Plasma::SvgPrivate::setImagePath(QString const&) () from /opt/kde4/lib/libplasma.so.3
#29 0x00007fa91a27e2ac in Plasma::Svg::setImagePath(QString const&) () from /opt/kde4/lib/libplasma.so.3
#30 0x00007fa91a220c87 in Plasma::FrameSvg::setImagePath(QString const&) () from /opt/kde4/lib/libplasma.so.3
#31 0x00007fa91a2b4b95 in Plasma::ToolButton::ToolButton(QGraphicsWidget*) () from /opt/kde4/lib/libplasma.so.3
#32 0x00007fa915abd0b8 in ResultItem::setMatch(Plasma::QueryMatch const&) () from /opt/kde4/lib/libkdeinit4_krunner.so
#33 0x00007fa915abe921 in ResultScene::addQueryMatch(Plasma::QueryMatch const&, bool) () from /opt/kde4/lib/libkdeinit4_krunner.so
#34 0x00007fa915abee6d in ResultScene::setQueryMatches(QList<Plasma::QueryMatch> const&) () from /opt/kde4/lib/libkdeinit4_krunner.so
#35 0x00007fa915abf47c in ResultScene::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libkdeinit4_krunner.so
#36 0x00007fa928fead89 in QMetaObject::activate (sender=0x260d4a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1f00000000000040) at kernel/qobject.cpp:3390
#37 0x00007fa91a271442 in Plasma::RunnerManager::matchesChanged(QList<Plasma::QueryMatch> const&) () from /opt/kde4/lib/libplasma.so.3
#38 0x00007fa91a273092 in Plasma::RunnerManager::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libplasma.so.3
#39 0x00007fa928fead89 in QMetaObject::activate (sender=0x2521818, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1f00000000000040) at kernel/qobject.cpp:3390
#40 0x00007fa928fe7443 in QObject::event (this=0x2521818, e=0x0) at kernel/qobject.cpp:1202
#41 0x00007fa92620acad in QApplicationPrivate::notify_helper (this=0x24753e0, receiver=0x2521818, e=0x7ffff848cf00) at kernel/qapplication.cpp:4277
#42 0x00007fa926212159 in QApplication::notify (this=0x2474fe0, receiver=0x2521818, e=0x7ffff848cf00) at kernel/qapplication.cpp:4166
#43 0x00007fa9273dd76b in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#44 0x00007fa928fd765c in QCoreApplication::notifyInternal (this=0x2474fe0, receiver=0x2521818, event=0x7ffff848cf00) at kernel/qcoreapplication.cpp:704
#45 0x00007fa929004cc4 in QCoreApplication::sendEvent (this=0x2478bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QTimerInfoList::activateTimers (this=0x2478bb0) at kernel/qeventdispatcher_unix.cpp:603
#47 0x00007fa9290012a8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#48 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#49 0x00007fa924a6b12a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x00007fa924a6e988 in ?? () from /lib/libglib-2.0.so.0
#51 0x00007fa924a6eb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00007fa929000f8c in QEventDispatcherGlib::processEvents (this=0x2473bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#53 0x00007fa9262b141f in QGuiEventDispatcherGlib::processEvents (this=0x2a5c630, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#54 0x00007fa928fd5f62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fa928fd6334 in QEventLoop::exec (this=0x7ffff848d1b0, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007fa928fd87c6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x00007fa915ab564c in kdemain () from /opt/kde4/lib/libkdeinit4_krunner.so
#58 0x00000000004074b4 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#59 0x0000000000407c78 in handle_launcher_request(int, char const*) ()
#60 0x0000000000408111 in handle_requests(int) ()
#61 0x00000000004088cb in main ()

Reported using DrKonqi
Comment 1 Jacopo De Simoi 2010-01-09 10:54:36 UTC
This seems like some bugs you reported (204946, 206844, 208155)
Can you still rep after upgrading nvidia drivers?
Comment 2 Dario Andres 2010-03-20 19:19:22 UTC
Waiting for feedback. In any case this seems to be a downstream issue (drivers related)

[KCrash Handler]
#5  0x00007fa92558cd01 in ?? () from /lib/libc.so.6
#6  0x00007fa92558ea00 in ?? () from /lib/libc.so.6
#7  0x00007fa915d3ca3b in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#8  0x00007fa928fbdd53 in QFactoryLoader::instance (this=<value optimized out>,
key=...) at plugin/qfactoryloader.cpp:244
#9  0x00007fa9262d488e in createReadHandlerHelper (device=0x7ffff848b320,
format=<value optimized out>, autoDetectImageFormat=true,
ignoresFormatAndExtension=false) at image/qimagereader.cpp:328
#10 0x00007fa9262d6461 in QImageReaderPrivate::initHandler (this=0x2cd31d0) at
image/qimagereader.cpp:531