Application: nepomukservicestub (0.2) KDE Platform Version: 4.6.5 (4.6.5) Qt Version: 4.7.2 Operating System: Linux 2.6.38-10-generic x86_64 Distribution: Ubuntu 11.04 -- Information about the crash: - What I was doing when the application crashed: I download file in Chromium. While that process (for ten minutes) Nepomuk crashes three times. The crash can be reproduced every time. -- Backtrace: Application: Заглушка службы Nepomuk (nepomukservicestub), signal: Segmentation fault __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S [Current thread is 1 (Thread 0x7f71fe7a6780 (LWP 17186))] Thread 3 (Thread 0x7f71ed7e6700 (LWP 17188)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f71fe1a582b in wait (this=<value optimized out>, mutex=0x1f4e1b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1f4e1b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f71ede7141f in Nepomuk::IndexFeeder::run (this=0x1f4e190) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188 #4 0x00007f71fe1a5175 in QThreadPrivate::start (arg=0x1f4e190) at thread/qthread_unix.cpp:320 #5 0x00007f71fbb6cd8c in start_thread (arg=0x7f71ed7e6700) at pthread_create.c:304 #6 0x00007f71fbe6a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f71e8f42700 (LWP 17190)): [KCrash Handler] #6 0x00007f71fbdfbc07 in malloc_consolidate (av=0x7f71fc1131c0) at malloc.c:5161 #7 0x00007f71fbdfd472 in _int_malloc (av=0x7f71fc1131c0, bytes=65536) at malloc.c:4373 #8 0x00007f71fbe0031e in __libc_malloc (bytes=65536) at malloc.c:3660 #9 0x00007f71fe1a7218 in QByteArray::realloc (this=0x1e19848, alloc=65504) at tools/qbytearray.cpp:1428 #10 0x00007f71fe1a7339 in QByteArray::resize (this=0x1e19848, size=32768) at tools/qbytearray.cpp:1396 #11 0x00007f71fa4afd23 in reserve (this=<value optimized out>, data=0x7f71e8f411cc "\021", size=2) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158 #12 QAbstractSocket::writeData (this=<value optimized out>, data=0x7f71e8f411cc "\021", size=2) at socket/qabstractsocket.cpp:2214 #13 0x00007f71fe228d57 in QIODevice::write (this=0x1e199a0, data=0x7f71e8f411cc "\021", maxSize=<value optimized out>) at io/qiodevice.cpp:1362 #14 0x00007f71f89fd025 in ?? () from /usr/lib/libsopranoclient.so.1 #15 0x00007f71f8a0330a in ?? () from /usr/lib/libsopranoclient.so.1 #16 0x00007f71f8a04a73 in ?? () from /usr/lib/libsopranoclient.so.1 #17 0x00007f71fd110423 in Nepomuk::MainModel::executeQuery (this=0x1e20c90, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212 #18 0x00007f71f8c9f507 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4 #19 0x00007f71ede6f99e in Nepomuk::IndexFeeder::clearIndexedDataForResourceUri (res=<value optimized out>) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:323 #20 0x00007f71ede6daac in Nepomuk::StrigiIndexWriter::startAnalysis (this=0x1f1f7a0, idx=0x7f71e8f41a50) at ../../../../nepomuk/services/strigi/nepomukindexwriter.cpp:403 #21 0x00007f71ede73525 in Nepomuk::Indexer::indexFile (this=<value optimized out>, info=...) at ../../../../nepomuk/services/strigi/nepomukindexer.cpp:127 #22 0x00007f71ede6838a in Nepomuk::IndexScheduler::analyzeDir (this=0x1ef6010, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:450 #23 0x00007f71ede686ec in Nepomuk::IndexScheduler::run (this=0x1ef6010) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338 #24 0x00007f71fe1a5175 in QThreadPrivate::start (arg=0x1ef6010) at thread/qthread_unix.cpp:320 #25 0x00007f71fbb6cd8c in start_thread (arg=0x7f71e8f42700) at pthread_create.c:304 #26 0x00007f71fbe6a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #27 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f71fe7a6780 (LWP 17186)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f71fbe0280f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007f71fbe008d8 in __libc_free (mem=0x7f71fc1131c0) at malloc.c:3736 #3 0x00007f71fe2b6e57 in socketNotifierSourceCheck (source=0x1d922c0) at kernel/qeventdispatcher_glib.cpp:92 #4 0x00007f71fb090854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f71fb091122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007f71fb091639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007f71fe2b73ef in QEventDispatcherGlib::processEvents (this=0x1d4b4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #8 0x00007f71fc6814de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #9 0x00007f71fe28b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #10 0x00007f71fe28babc in QEventLoop::exec (this=0x7fff5e396a00, flags=...) at kernel/qeventloop.cpp:201 #11 0x00007f71fe28fecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #12 0x0000000000403d0f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:167 Possible duplicates by query: bug 277652, bug 275770, bug 274838, bug 274416, bug 270177. Reported using DrKonqi
Another crash with same behaviour: Application: nepomukservicestub (0.2) KDE Platform Version: 4.6.5 (4.6.5) Qt Version: 4.7.2 Operating System: Linux 2.6.38-10-generic x86_64 Distribution: Ubuntu 11.04 The crash can be reproduced every time. -- Backtrace: Application: Заглушка службы Nepomuk (nepomukservicestub), signal: Aborted [Current thread is 1 (Thread 0x7fede1b67780 (LWP 1917))] Thread 3 (Thread 0x7fedd0ba6700 (LWP 1993)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fede156682b in wait (this=<value optimized out>, mutex=0x1904740, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1904740, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007fedd123141f in Nepomuk::IndexFeeder::run (this=0x1904720) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188 #4 0x00007fede1566175 in QThreadPrivate::start (arg=0x1904720) at thread/qthread_unix.cpp:320 #5 0x00007feddef2dd8c in start_thread (arg=0x7fedd0ba6700) at pthread_create.c:304 #6 0x00007feddf22b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fedc815e700 (LWP 2000)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007feddf1c380f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007feddf1c18d8 in __libc_free (mem=0x7feddf4d41c0) at malloc.c:3736 #3 0x00007feddf1e3b7d in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435 #4 0x00007feddf1e3e30 in __tzset () at tzset.c:592 #5 0x00007feddf1e2b39 in mktime (tp=0x7fedc815d880) at mktime.c:515 #6 0x00007fede15753d8 in localToUtc (this=<value optimized out>, outDate=..., outTime=...) at tools/qdatetime.cpp:4080 #7 QDateTimePrivate::getUTC (this=<value optimized out>, outDate=..., outTime=...) at tools/qdatetime.cpp:4158 #8 0x00007fede15757e3 in QDateTime::toMSecsSinceEpoch (this=<value optimized out>) at tools/qdatetime.cpp:2351 #9 0x00007fede1575819 in QDateTime::toTime_t (this=<value optimized out>) at tools/qdatetime.cpp:2380 #10 0x00007fedd12334a4 in Nepomuk::Indexer::indexFile (this=0x18279e0, info=...) at ../../../../nepomuk/services/strigi/nepomukindexer.cpp:124 #11 0x00007fedd122838a in Nepomuk::IndexScheduler::analyzeDir (this=0x18a9390, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:450 #12 0x00007fedd12286ec in Nepomuk::IndexScheduler::run (this=0x18a9390) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338 #13 0x00007fede1566175 in QThreadPrivate::start (arg=0x18a9390) at thread/qthread_unix.cpp:320 #14 0x00007feddef2dd8c in start_thread (arg=0x7fedc815e700) at pthread_create.c:304 #15 0x00007feddf22b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #16 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fede1b67780 (LWP 1917)): [KCrash Handler] #6 0x00007feddf178d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007feddf17cab6 in abort () at abort.c:92 #8 0x00007feddf1b1d7b in __libc_message (do_abort=2, fmt=0x7feddf29a400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 #9 0x00007feddf1bbbb6 in malloc_printerr (action=3, str=0x7feddf29a980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283 #10 0x00007feddf1bee78 in _int_malloc (av=0x7feddf4d41c0, bytes=<value optimized out>) at malloc.c:4308 #11 0x00007feddf1c131e in __libc_malloc (bytes=78) at malloc.c:3660 #12 0x00007fede15a8415 in QString::QString (this=0x7fff6f3ab760, size=23) at tools/qstring.cpp:1099 #13 0x00007fede1681078 in QUtf8::convertToUnicode (chars=<value optimized out>, len=22, state=0x0) at codecs/qutfcodec.cpp:183 #14 0x00007fede15aa04b in QString::fromUtf8 (str=<value optimized out>, size=<value optimized out>) at tools/qstring.cpp:3940 #15 0x00007fede12a77f3 in QDBusMessagePrivate::fromDBusMessage (dmsg=0x7fedc0002320) at qdbusmessage.cpp:233 #16 0x00007fede12a228a in qDBusSignalFilter (connection=<value optimized out>, message=<value optimized out>, data=0x1812bd0) at qdbusintegrator.cpp:538 #17 0x00007fedddafaac6 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3 #18 0x00007fede1294609 in q_dbus_connection_dispatch (this=0x1812bd0) at qdbus_symbols_p.h:115 #19 QDBusConnectionPrivate::doDispatch (this=0x1812bd0) at qdbusintegrator.cpp:1125 #20 0x00007fede1296d6d in QDBusConnectionPrivate::socketRead (this=0x1812bd0, fd=<value optimized out>) at qdbusintegrator.cpp:1145 #21 0x00007fede12d75f3 in QDBusConnectionPrivate::qt_metacall (this=0x1812bd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6f3aba50) at .moc/release-shared/moc_qdbusconnection_p.cpp:99 #22 0x00007fede16625f8 in QMetaObject::activate (sender=0x181b910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6f3aba50) at kernel/qobject.cpp:3287 #23 0x00007fede16a9b7e in QSocketNotifier::activated (this=<value optimized out>, _t1=8) at .moc/release-shared/moc_qsocketnotifier.cpp:89 #24 0x00007fede1667f4b in QSocketNotifier::event (this=0x181b910, e=0x7fff6f3ac0e0) at kernel/qsocketnotifier.cpp:317 #25 0x00007feddf9989f4 in QApplicationPrivate::notify_helper (this=0x1746c10, receiver=0x181b910, e=0x7fff6f3ac0e0) at kernel/qapplication.cpp:4462 #26 0x00007feddf99d3ba in QApplication::notify (this=<value optimized out>, receiver=0x181b910, e=0x7fff6f3ac0e0) at kernel/qapplication.cpp:4341 #27 0x00007fede098b6c6 in KApplication::notify (this=0x7fff6f3ac500, receiver=0x181b910, event=0x7fff6f3ac0e0) at ../../kdeui/kernel/kapplication.cpp:311 #28 0x00007fede164d49c in QCoreApplication::notifyInternal (this=0x7fff6f3ac500, receiver=0x181b910, event=0x7fff6f3ac0e0) at kernel/qcoreapplication.cpp:731 #29 0x00007fede1677da9 in sendEvent (source=0x17452a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #30 socketNotifierSourceDispatch (source=0x17452a0) at kernel/qeventdispatcher_glib.cpp:110 #31 0x00007fedde451bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007fedde4523a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #33 0x00007fedde452639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x00007fede16783ef in QEventDispatcherGlib::processEvents (this=0x16fe4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #35 0x00007feddfa424de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00007fede164c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #37 0x00007fede164cabc in QEventLoop::exec (this=0x7fff6f3ac310, flags=...) at kernel/qeventloop.cpp:201 #38 0x00007fede1650ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #39 0x0000000000403d0f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:167
Still issue in KDE 4.7.
Created attachment 63280 [details] New crash information added by DrKonqi nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) "release 4" using Qt 4.7.3 - What I was doing when the application crashed: I was downloading a large file in Chrome(ium) and noticed that Nepomuk crashes each time I download a file. -- Backtrace (Reduced): #9 0x00007f035ff80118 in QByteArray::realloc (this=0x110db88, alloc=65504) at tools/qbytearray.cpp:1428 #10 0x00007f035ff80239 in QByteArray::resize (this=0x110db88, size=32768) at tools/qbytearray.cpp:1396 #11 0x00007f035c321803 in reserve (this=<value optimized out>, data=0x7f034fb2f50c "\021", size=2) at ../../src/corelib/tools/qringbuffer_p.h:158 #12 QAbstractSocket::writeData (this=<value optimized out>, data=0x7f034fb2f50c "\021", size=2) at socket/qabstractsocket.cpp:2214 #13 0x00007f0360002747 in QIODevice::write (this=0x1069020, data=0x7f034fb2f50c "\021", maxSize=<value optimized out>) at io/qiodevice.cpp:1362
Created attachment 63285 [details] New crash information added by DrKonqi nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3 If i download with >7-12 MB/s (google chrom/ iceweasel ) -- Backtrace (Reduced): #7 0xb5fd0e0a in malloc_consolidate (av=<value optimized out>) at malloc.c:5161 #8 0xb5fd3035 in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4373 #9 0xb5fd54ac in __libc_malloc (bytes=512) at malloc.c:3660 #10 0xb755a3cb in qMalloc(unsigned int) () from /usr/lib/libQtCore.so.4 #11 0xb75add1f in QString::realloc(int) () from /usr/lib/libQtCore.so.4
*** Bug 281218 has been marked as a duplicate of this bug. ***
*** Bug 272474 has been marked as a duplicate of this bug. ***
*** Bug 279185 has been marked as a duplicate of this bug. ***
*** Bug 278957 has been marked as a duplicate of this bug. ***
*** Bug 272642 has been marked as a duplicate of this bug. ***
Created attachment 64136 [details] New crash information added by DrKonqi nepomukservicestub (0.2) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2 - What I was doing when the application crashed: I was downloading a file using Chromium. During the download process, Nepomuk reported multiple crashes. -- Backtrace (Reduced): #6 0x00007f72a346dc07 in malloc_consolidate (av=0x7f72a37851c0) at malloc.c:5161 #7 0x00007f72a346f472 in _int_malloc (av=0x7f72a37851c0, bytes=65536) at malloc.c:4373 #8 0x00007f72a347231e in __libc_malloc (bytes=65536) at malloc.c:3660 #9 0x00007f72a5819218 in QByteArray::realloc (this=0x12298a8, alloc=65504) at tools/qbytearray.cpp:1428 #10 0x00007f72a5819339 in QByteArray::resize (this=0x12298a8, size=32768) at tools/qbytearray.cpp:1396
AFAIK not issue anymore. Somebody able to reproduce it with latest KDE releases?
*** Bug 285776 has been marked as a duplicate of this bug. ***
*** Bug 297904 has been marked as a duplicate of this bug. ***
Haven't seen this bug for a long time, for me it's fixed.
*** Bug 283597 has been marked as a duplicate of this bug. ***
This looks like another QLocalSocket is not threadsafe soprano bug, fixed in 2.8 (you can tell by the reference to QAbstractSocket in the backtrace, which isn't referenced in soprano 2.8). Given that, and since someone also reported it fixed, closing.