Bug 236787 - Failed malloc in Dolphin's main thread (locked secondary Nepomuk thread)
Summary: Failed malloc in Dolphin's main thread (locked secondary Nepomuk thread)
Status: RESOLVED DUPLICATE of bug 235166
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 236021 236246 237412 237586 238572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-07 23:47 UTC by Murray Colpman
Modified: 2010-08-16 18:28 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murray Colpman 2010-05-07 23:47:06 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I've been dumping a few of my discs into bin/toc files with cdrdao using the terminal built-in to dolphin, and just occasionally, when the .bin file first gets created dolphin will crash out when trying to read it (presumably) - irritating because I have to start the terminal job again too... the first time it happened, moreover, the bug report window didn't show up, but this time it did.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0xb7737710 (LWP 30533))]

Thread 8 (Thread 0xb5f1fb70 (LWP 30537)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x00732cf3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x006c9697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x006c7ec6 in *__GI___libc_free (mem=0x94e33e8) at malloc.c:3736
#4  0x0608bfc6 in IA__g_free (mem=0x94e33e8) at /build/buildd/glib2.0-2.24.0/glib/gmem.c:191
#5  0x06082f5a in g_source_unref_internal (source=0x94e33e8, context=<value optimized out>, have_lock=0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1339
#6  0x038ff0fd in ~QEventDispatcherGlib (this=0x94e3150, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#7  0x037cfe9a in QThreadPrivate::finish (arg=0x39e7890) at thread/qthread_unix.cpp:284
#8  0x037d0336 in ~__pthread_cleanup_class (arg=0x39e7890) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0x39e7890) at thread/qthread_unix.cpp:253
#10 0x008c796e in start_thread (arg=0xb5f1fb70) at pthread_create.c:300
#11 0x00725a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb3c6ab70 (LWP 30540)):
#0  0x0605bdd7 in __i686.get_pc_thunk.bx () from /lib/libglib-2.0.so.0
#1  0x060850c4 in IA__g_main_context_release (context=0x968c2c8) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2080
#2  0x060870e3 in g_main_context_iterate (context=0x968c2c8, block=<value optimized out>, dispatch=1, self=0xb5605fc0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2594
#3  0x060874b8 in IA__g_main_context_iteration (context=0x968c2c8, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#4  0x038fe60f in QEventDispatcherGlib::processEvents (this=0x94e3e78, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x038d1059 in QEventLoop::processEvents (this=0xb3c6a290, flags=) at kernel/qeventloop.cpp:149
#6  0x038d14aa in QEventLoop::exec (this=0xb3c6a290, flags=...) at kernel/qeventloop.cpp:201
#7  0x037cd5a8 in QThread::exec (this=0x968a778) at thread/qthread.cpp:487
#8  0x038b0c1b in QInotifyFileSystemWatcherEngine::run (this=0x968a778) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x037d032e in QThreadPrivate::start (arg=0x968a778) at thread/qthread_unix.cpp:248
#10 0x008c796e in start_thread (arg=0xb3c6ab70) at pthread_create.c:300
#11 0x00725a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1425b70 (LWP 30608)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x008cc342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x007329f4 in __pthread_cond_timedwait (cond=0x9a27620, mutex=0x9a27608, abstime=0xb1425320) at forward.c:152
#3  0x019dece7 in metronom_sync_loop (this=0x9a275c0) at metronom.c:851
#4  0x008c796e in start_thread (arg=0xb1425b70) at pthread_create.c:300
#5  0x00725a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1c26b70 (LWP 15283)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x008cc015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0073299d in __pthread_cond_wait (cond=0xb562f190, mutex=0xb562f178) at forward.c:139
#3  0x037cf8c2 in QMutexPrivate::wait (this=0xb562f160, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x037cb052 in QMutex::lock (this=0xb5643bf4) at thread/qmutex.cpp:167
#5  0x00f5e5e6 in QMutexLocker::relock (this=0xb5643bc8) at /usr/include/qt4/QtCore/qmutex.h:120
#6  QMutexLocker (this=0xb5643bc8) at /usr/include/qt4/QtCore/qmutex.h:102
#7  Nepomuk::ResourceData::load (this=0xb5643bc8) at ../../../nepomuk/core/resourcedata.cpp:409
#8  0x00f5f280 in Nepomuk::ResourceData::allProperties (this=0xb5643bc8) at ../../../nepomuk/core/resourcedata.cpp:218
#9  0x00f7d440 in Nepomuk::Resource::properties (this=0xb1c26294) at ../../../nepomuk/core/resource.cpp:238
#10 0x080aa48f in _start ()

Thread 4 (Thread 0xb2427b70 (LWP 15285)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x008ceaf9 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x008cc0d1 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:235
#3  0x0073299d in __pthread_cond_wait (cond=0xa27a1d8, mutex=0xa27a1c0) at forward.c:139
#4  0x037cf8c2 in QMutexPrivate::wait (this=0xa27a1a8, timeout=-1) at thread/qmutex_unix.cpp:84
#5  0x037cb052 in QMutex::lock (this=0x9737950) at thread/qmutex.cpp:167
#6  0x0088c000 in QMutexLocker::relock (this=0x9737930, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/include/qt4/QtCore/qmutex.h:120
#7  QMutexLocker (this=0x9737930, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/include/qt4/QtCore/qmutex.h:102
#8  Soprano::Client::ClientModel::executeQuery (this=0x9737930, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../client/clientmodel.cpp:103
#9  0x00f69a30 in Nepomuk::MainModel::executeQuery (this=0x944fe30, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#10 0x00abc3cd in Soprano::FilterModel::executeQuery (this=0x944e8b0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../soprano/filtermodel.cpp:164
#11 0x00f5d335 in Nepomuk::ResourceData::determineUri (this=0xb5643bc8) at ../../../nepomuk/core/resourcedata.cpp:671
#12 0x00f5e6a0 in Nepomuk::ResourceData::load (this=0xb5643bc8) at ../../../nepomuk/core/resourcedata.cpp:414
#13 0x00f5f19b in Nepomuk::ResourceData::property (this=0xb5643bc8, uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#14 0x00f7ccb7 in Nepomuk::Resource::property (this=0xb2427294, uri=...) at ../../../nepomuk/core/resource.cpp:280
#15 0x00f7fd41 in Nepomuk::Resource::rating (this=0xb2427294) at ../../../nepomuk/core/resource.cpp:800
#16 0x080aa1e9 in _start ()

Thread 3 (Thread 0xb0423b70 (LWP 15290)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x008cc015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0073299d in __pthread_cond_wait (cond=0xa006a68, mutex=0xa006a50) at forward.c:139
#3  0x037cf8c2 in QMutexPrivate::wait (this=0xa006a38, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x037cb052 in QMutex::lock (this=0xa1b2144) at thread/qmutex.cpp:167
#5  0x00f5e5e6 in QMutexLocker::relock (this=0xa1b2118) at /usr/include/qt4/QtCore/qmutex.h:120
#6  QMutexLocker (this=0xa1b2118) at /usr/include/qt4/QtCore/qmutex.h:102
#7  Nepomuk::ResourceData::load (this=0xa1b2118) at ../../../nepomuk/core/resourcedata.cpp:409
#8  0x00f5f19b in Nepomuk::ResourceData::property (this=0xa1b2118, uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#9  0x00f7ccb7 in Nepomuk::Resource::property (this=0xb0423294, uri=...) at ../../../nepomuk/core/resource.cpp:280
#10 0x00f7fd41 in Nepomuk::Resource::rating (this=0xb0423294) at ../../../nepomuk/core/resource.cpp:800
#11 0x080aa1e9 in _start ()

Thread 2 (Thread 0xafc22b70 (LWP 15291)):
#0  0x00402422 in __kernel_vsyscall ()
#1  0x00732cf3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x006c9697 in _L_lock_9637 () from /lib/tls/i686/cmov/libc.so.6
#3  0x006c7ec6 in *__GI___libc_free (mem=0xa132288) at malloc.c:3736
#4  0x037caa5d in qFree (ptr=0xa132288) at global/qmalloc.cpp:60
#5  0x0381a2b0 in QString::free (d=0xa132288) at tools/qstring.cpp:1108
#6  0x00d27b0d in ~QString (node=0xa132280) at ../../include/QtCore/../../src/corelib/tools/qstring.h:869
#7  ~QHashNode (node=0xa132280) at ../../include/QtCore/../../src/corelib/tools/qhash.h:217
#8  QHash<QString, QDomNodePrivate*>::deleteNode2 (node=0xa132280) at ../../include/QtCore/../../src/corelib/tools/qhash.h:518
#9  0x037ee33d in QHashData::free_helper (this=0xb564c320, node_delete=0xd27ae0 <QHash<QString, QDomNodePrivate*>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#10 0x00d1a47d in QHash<QString, QDomNodePrivate*>::freeData (this=0xb5648bd0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:567
#11 QHash<QString, QDomNodePrivate*>::operator= (this=0xb5648bd0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:593
#12 QHash<QString, QDomNodePrivate*>::clear (this=0xb5648bd0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:573
#13 QDomNamedNodeMapPrivate::clearMap (this=0xb5648bd0) at dom/qdom.cpp:3090
#14 0x00d1a552 in ~QDomNamedNodeMapPrivate (this=0xb5648bd0, __in_chrg=<value optimized out>) at dom/qdom.cpp:3060
#15 0x00d1e9f1 in ~QDomElementPrivate (this=0xb5649868, __in_chrg=<value optimized out>) at dom/qdom.cpp:4439
#16 0x00d1cae0 in ~QDomNodePrivate (this=0xb56415a8, __in_chrg=<value optimized out>) at dom/qdom.cpp:1495
#17 0x00d1ea01 in ~QDomElementPrivate (this=0xb56415a8, __in_chrg=<value optimized out>) at dom/qdom.cpp:4440
#18 0x00d14e78 in ~QDomNode (this=0xafc21a68, __in_chrg=<value optimized out>) at dom/qdom.cpp:2105
#19 0x002bb243 in ~QDomElement (xml=...) at ../../include/QtXml/../../src/xml/dom/qdom.h:477
#20 ~QDBusXmlParser (xml=...) at qdbusxmlparser_p.h:67
#21 QDBusIntrospection::parseInterfaces (xml=...) at qdbusintrospection.cpp:384
#22 0x002c43b7 in QDBusMetaObject::createMetaObject (interface=..., xml=..., cache=..., error=...) at qdbusmetaobject.cpp:540
#23 0x002a115e in QDBusConnectionPrivate::findMetaObject (this=0x9783750, service=..., path=..., interface=..., error=...) at qdbusintegrator.cpp:2309
#24 0x002af8ff in QDBusInterfacePrivate (this=0xb564c1b8, serv=..., p=..., iface=..., con=...) at qdbusinterface.cpp:156
#25 0x002af9ff in QDBusInterface (this=0xafc21e98, service=..., path=..., interface=..., connection=..., parent=0x0) at qdbusinterface.cpp:219
#26 0x00f5d838 in Nepomuk::ResourceData::determineUri (this=0xa1b2118) at ../../../nepomuk/core/resourcedata.cpp:702
#27 0x00f5e6a0 in Nepomuk::ResourceData::load (this=0xa1b2118) at ../../../nepomuk/core/resourcedata.cpp:414
#28 0x00f5f19b in Nepomuk::ResourceData::property (this=0xa1b2118, uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#29 0x00f7ccb7 in Nepomuk::Resource::property (this=0xafc22294, uri=...) at ../../../nepomuk/core/resource.cpp:280
#30 0x00f7fd41 in Nepomuk::Resource::rating (this=0xafc22294) at ../../../nepomuk/core/resource.cpp:800
#31 0x080aa1e9 in _start ()

Thread 1 (Thread 0xb7737710 (LWP 30533)):
[KCrash Handler]
#6  0x00402422 in __kernel_vsyscall ()
#7  0x00682651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00685a82 in *__GI_abort () at abort.c:92
#9  0x006b949d in __libc_message (do_abort=2, fmt=0x78df58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x006c3591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xa27a1a8) at malloc.c:6264
#11 0x006c6710 in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4306
#12 0x006c7f9c in *__GI___libc_malloc (bytes=96) at malloc.c:3660
#13 0x037cab8d in qMalloc (size=96) at global/qmalloc.cpp:55
#14 0x03829d35 in QVectorData::allocate (size=6, alignment=0) at tools/qvector.cpp:67
#15 0x053b48df in QVector<QPointF>::malloc (this=0xbfad302c, asize=0, aalloc=5) at ../../include/QtCore/../../src/corelib/tools/qvector.h:391
#16 QVector<QPointF>::realloc (this=0xbfad302c, asize=0, aalloc=5) at ../../include/QtCore/../../src/corelib/tools/qvector.h:468
#17 0x05459362 in QVector<QPointF>::operator+= (this=0xbfad3030, matrix=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:652
#18 QPainterPath::toFillPolygon (this=0xbfad3030, matrix=...) at painting/qpainterpath.cpp:2693
#19 0x05459642 in QPainterPath::toFillPolygon (this=0xbfad3030, matrix=...) at painting/qpainterpath.cpp:2707
#20 0x0550130c in QX11PaintEngine::updateState (this=0x94e6500, state=...) at painting/qpaintengine_x11.cpp:1084
#21 0x0543d6f4 in QPainterPrivate::updateStateImpl (this=0xa2269a8, newState=0x9aa8928) at painting/qpainter.cpp:892
#22 0x0543d7bc in QPainterPrivate::updateState (this=0xa2269a8, newState=0x9aa8928) at painting/qpainter.cpp:920
#23 0x05443dc4 in QPainter::setClipRegion (this=0xbfad3528, r=..., op=Qt::ReplaceClip) at painting/qpainter.cpp:2825
#24 0x05338f27 in QWidgetPrivate::paintBackground (this=0x91f2c30, painter=0xbfad3528, rgn=..., flags=<value optimized out>) at kernel/qwidget.cpp:2197
#25 0x05339edd in QWidgetPrivate::drawWidget (this=0x91f2c30, pdev=0x93a1a2c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x93a1918) at kernel/qwidget.cpp:5317
#26 0x05510890 in QWidgetBackingStore::sync (this=0x93a1918) at painting/qbackingstore.cpp:1291
#27 0x05329b93 in QWidgetPrivate::syncBackingStore (this=0x91f2c30) at kernel/qwidget.cpp:1672
#28 0x05330e76 in QWidget::event (this=0x919db10, event=0x9d727d0) at kernel/qwidget.cpp:8291
#29 0x0574bbc7 in QMainWindow::event (this=0x919db10, event=0x9d727d0) at widgets/qmainwindow.cpp:1433
#30 0x03510b04 in KMainWindow::event (this=0x919db10, ev=0x9d727d0) at ../../kdeui/widgets/kmainwindow.cpp:1103
#31 0x0355888f in KXmlGuiWindow::event (this=0x919db10, ev=0x9d727d0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#32 0x052d24dc in QApplicationPrivate::notify_helper (this=0x9161778, receiver=0x919db10, e=0x9d727d0) at kernel/qapplication.cpp:4300
#33 0x052d90f9 in QApplication::notify (this=0xbfad41c4, receiver=0x919db10, e=0x9d727d0) at kernel/qapplication.cpp:4265
#34 0x0341ef2a in KApplication::notify (this=0xbfad41c4, receiver=0x919db10, event=0x9d727d0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x038d2a3b in QCoreApplication::notifyInternal (this=0xbfad41c4, receiver=0x919db10, event=0x9d727d0) at kernel/qcoreapplication.cpp:704
#36 0x038d5473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9141ce0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9141ce0) at kernel/qcoreapplication.cpp:1345
#38 0x038d55dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#39 0x038feadf in QCoreApplication::sendPostedEvents (s=0x9164f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x9164f10) at kernel/qeventdispatcher_glib.cpp:276
#41 0x060835e5 in g_main_dispatch (context=0x9164e90) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#42 IA__g_main_context_dispatch (context=0x9164e90) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#43 0x060872d8 in g_main_context_iterate (context=0x9164e90, block=<value optimized out>, dispatch=1, self=0x9162770) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#44 0x060874b8 in IA__g_main_context_iteration (context=0x9164e90, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#45 0x038fe5d5 in QEventDispatcherGlib::processEvents (this=0x91419c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x05392135 in QGuiEventDispatcherGlib::processEvents (this=0x91419c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x038d1059 in QEventLoop::processEvents (this=0xbfad4124, flags=) at kernel/qeventloop.cpp:149
#48 0x038d14aa in QEventLoop::exec (this=0xbfad4124, flags=...) at kernel/qeventloop.cpp:201
#49 0x038d569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x052d2577 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0x0807bbcf in _start ()

Possible duplicates by query: bug 236773, bug 236761, bug 236624, bug 236519, bug 236505.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2010-05-26 16:06:25 UTC
*** Bug 236246 has been marked as a duplicate of this bug. ***
Comment 2 Frank Reininghaus 2010-05-26 16:06:34 UTC
*** Bug 237412 has been marked as a duplicate of this bug. ***
Comment 3 Frank Reininghaus 2010-05-26 16:06:40 UTC
*** Bug 238572 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2010-05-26 16:08:59 UTC
Thanks for the bug report! This may be related to bug 234799/bug 235166. A workaround might be to disable tool tips in the Dolphin settings or to disable Nepomuk in the System settings.
Comment 5 Frank Reininghaus 2010-06-17 09:39:41 UTC
*** Bug 236021 has been marked as a duplicate of this bug. ***
Comment 6 Frank Reininghaus 2010-06-17 09:42:18 UTC
*** Bug 237586 has been marked as a duplicate of this bug. ***
Comment 7 Peter Penz 2010-08-16 18:28:46 UTC

*** This bug has been marked as a duplicate of bug 235166 ***