Bug 276502 - Nepomuk service stub crash when copying files
Summary: Nepomuk service stub crash when copying files
Status: RESOLVED NOT A BUG
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: fileindexer (show other bugs)
Version: 4.6
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 05:31 UTC by Troy Cotter
Modified: 2012-12-03 07:50 UTC (History)
2 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 Troy Cotter 2011-06-26 05:31:37 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Browsing web with Iceweasel, watching Futurama using VLC Media Player, and copying 40GB worth of files from my external hard drive to my home folder. I believe the crash is related to copying files as I have never seen this crash occur when I was just running Iceweasel or VLC.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0x7f2c0a30a760 (LWP 10394))]

Thread 3 (Thread 0x7f2bf93d5700 (LWP 10396)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2c09d0069b in wait (this=<value optimized out>, mutex=0x278cf30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x278cf30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2bf9a08a61 in Nepomuk::IndexFeeder::run (this=0x278cf10) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#4  0x00007f2c09d00205 in QThreadPrivate::start (arg=0x278cf10) at thread/qthread_unix.cpp:320
#5  0x00007f2c0764fb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f2c0793a2fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2bf3e4d700 (LWP 10397)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f2c078ddf48 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f2c078dc331 in __libc_free (mem=0x7f2be4000020) at malloc.c:3736
#3  0x00007f2c09e00b5d in QSocketNotifier::~QSocketNotifier (this=0x7f2be4028c80, __in_chrg=<value optimized out>) at kernel/qsocketnotifier.cpp:228
#4  0x00007f2c09e00b99 in QSocketNotifier::~QSocketNotifier (this=0x7f2be4028c80, __in_chrg=<value optimized out>) at kernel/qsocketnotifier.cpp:229
#5  0x00007f2c09a178ff in qDBusRemoveWatch (watch=0x7f2be4026080, data=0x7f2be4025270) at qdbusintegrator.cpp:301
#6  0x00007f2c062354fb in ?? () from /lib/libdbus-1.so.3
#7  0x00007f2c06233c24 in ?? () from /lib/libdbus-1.so.3
#8  0x00007f2c06233c99 in ?? () from /lib/libdbus-1.so.3
#9  0x00007f2c062330a7 in ?? () from /lib/libdbus-1.so.3
#10 0x00007f2c06233bf1 in ?? () from /lib/libdbus-1.so.3
#11 0x00007f2c06234647 in ?? () from /lib/libdbus-1.so.3
#12 0x00007f2c06234846 in ?? () from /lib/libdbus-1.so.3
#13 0x00007f2c062335fd in ?? () from /lib/libdbus-1.so.3
#14 0x00007f2c0621e485 in ?? () from /lib/libdbus-1.so.3
#15 0x00007f2c0621e5a2 in ?? () from /lib/libdbus-1.so.3
#16 0x00007f2c0621e9b0 in ?? () from /lib/libdbus-1.so.3
#17 0x00007f2c0621eb62 in dbus_connection_send_with_reply () from /lib/libdbus-1.so.3
#18 0x00007f2c0621ed89 in dbus_connection_send_with_reply_and_block () from /lib/libdbus-1.so.3
#19 0x00007f2c09a23073 in q_dbus_connection_send_with_reply_and_block (this=0x7f2be4025270, message=..., sendMode=<value optimized out>, timeout=-1) at qdbus_symbols_p.h:135
#20 QDBusConnectionPrivate::sendWithReply (this=0x7f2be4025270, message=..., sendMode=<value optimized out>, timeout=-1) at qdbusintegrator.cpp:1865
#21 0x00007f2c09a23e4f in QDBusConnectionPrivate::getNameOwnerNoCache (this=0x7f2be4025270, serviceName=...) at qdbusintegrator.cpp:2299
#22 0x00007f2c09a240b1 in QDBusConnectionPrivate::getNameOwner (this=0x7f2be4025270, serviceName=...) at qdbusintegrator.cpp:2289
#23 0x00007f2c09a2d0e9 in QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate (this=0x28ad3f0, serv=<value optimized out>, p=..., iface=..., con=<value optimized out>, isDynamic=<value optimized out>) at qdbusabstractinterface.cpp:99
#24 0x00007f2c09a322b4 in QDBusInterfacePrivate::QDBusInterfacePrivate (this=0x28ad3f0, serv=<value optimized out>, p=<value optimized out>, iface=<value optimized out>, con=<value optimized out>) at qdbusinterface.cpp:154
#25 0x00007f2c09a32449 in QDBusInterface::QDBusInterface (this=0x7f2bf3e4c6d0, service=..., path=..., interface=..., connection=<value optimized out>, parent=0x0) at qdbusinterface.cpp:220
#26 0x00007f2c08c19e75 in Nepomuk::ResourceData::determineUri (this=0x272fa80) at ../../nepomuk/core/resourcedata.cpp:592
#27 0x00007f2c08c2c233 in Nepomuk::Resource::determineFinalResourceData (this=0x7f2bf3e4cb10) at ../../nepomuk/core/resource.cpp:936
#28 0x00007f2c08c2c4a9 in Nepomuk::Resource::exists (this=0x7f2bf3e4cb10) at ../../nepomuk/core/resource.cpp:362
#29 0x00007f2bf99fd15b in Nepomuk::IndexScheduler::analyzeDir (this=0x273ac00, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:374
#30 0x00007f2bf99ff72c in Nepomuk::IndexScheduler::run (this=0x273ac00) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#31 0x00007f2c09d00205 in QThreadPrivate::start (arg=0x273ac00) at thread/qthread_unix.cpp:320
#32 0x00007f2c0764fb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#33 0x00007f2c0793a2fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#34 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2c0a30a760 (LWP 10394)):
[KCrash Handler]
#6  0x00007f2c07897405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2c0789a680 in abort () at abort.c:92
#8  0x00007f2c078cddbb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2c078d7606 in malloc_printerr (action=3, str=0x7f2c079ae3e8 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f2c078daee8 in _int_malloc (av=0x7f2be4000020, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007f2c078dc420 in __libc_malloc (bytes=96) at malloc.c:3660
#12 0x00007f2c09d41145 in QString::QString (this=0x7fff370c2700, size=32) at tools/qstring.cpp:1099
#13 0x00007f2c09e19d98 in QUtf8::convertToUnicode (chars=<value optimized out>, len=31, state=0x0) at codecs/qutfcodec.cpp:183
#14 0x00007f2c09d42eab in QString::fromUtf8 (str=<value optimized out>, size=<value optimized out>) at tools/qstring.cpp:3940
#15 0x00007f2c09a2ae18 in QDBusMessagePrivate::fromDBusMessage (dmsg=0x7f2be401a6f0) at qdbusmessage.cpp:232
#16 0x00007f2c09a25428 in qDBusSignalFilter (connection=<value optimized out>, message=<value optimized out>, data=0x269e120) at qdbusintegrator.cpp:538
#17 0x00007f2c0621f226 in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#18 0x00007f2c09a189e9 in q_dbus_connection_dispatch (this=0x269e120) at qdbus_symbols_p.h:115
#19 QDBusConnectionPrivate::doDispatch (this=0x269e120) at qdbusintegrator.cpp:1124
#20 0x00007f2c09a1c745 in QDBusConnectionPrivate::socketRead (this=0x269e120, fd=<value optimized out>) at qdbusintegrator.cpp:1144
#21 0x00007f2c09a5ba63 in QDBusConnectionPrivate::qt_metacall (this=0x269e120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff370c29e0) at .moc/release-shared/moc_qdbusconnection_p.cpp:99
#22 0x00007f2c09df916a in QMetaObject::activate (sender=0x26aa350, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff370c29e0) at kernel/qobject.cpp:3278
#23 0x00007f2c09e426ce in QSocketNotifier::activated (this=<value optimized out>, _t1=8) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#24 0x00007f2c09e00dfb in QSocketNotifier::event (this=0x26aa350, e=0x7fff370c3050) at kernel/qsocketnotifier.cpp:317
#25 0x00007f2c080f86d4 in notify_helper (this=0x25e7260, receiver=0x26aa350, e=0x7fff370c3050) at kernel/qapplication.cpp:4467
#26 QApplicationPrivate::notify_helper (this=0x25e7260, receiver=0x26aa350, e=0x7fff370c3050) at kernel/qapplication.cpp:4439
#27 0x00007f2c080fd561 in QApplication::notify (this=0x7fff370c3430, receiver=0x26aa350, e=0x7fff370c3050) at kernel/qapplication.cpp:4346
#28 0x00007f2c090f84f6 in KApplication::notify (this=0x7fff370c3430, receiver=0x26aa350, event=0x7fff370c3050) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f2c09de65ec in QCoreApplication::notifyInternal (this=0x7fff370c3430, receiver=0x26aa350, event=0x7fff370c3050) at kernel/qcoreapplication.cpp:731
#30 0x00007f2c09e10827 in sendEvent (source=0x25eaa10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 socketNotifierSourceDispatch (source=0x25eaa10) at kernel/qeventdispatcher_glib.cpp:110
#32 0x00007f2c06b764a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f2c06b76c80 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f2c06b76f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007f2c09e1110f in QEventDispatcherGlib::processEvents (this=0x25cbc90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f2c0819c6de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f2c09de57f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f2c09de59ef in QEventLoop::exec (this=0x7fff370c32a0, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f2c09de9bc7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x0000000000403b3f in main (argc=2, argv=0x7fff370c38c8) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 276306, bug 274763, bug 274169, bug 273673, bug 273503.

Reported using DrKonqi
Comment 1 Vishesh Handa 2012-12-03 07:50:43 UTC
I'm marking this as INVALID as the code has changed too much since KDE 4.6.4.

The good news is that this looks like the threading issue (fixed in 4.7) where certain dbus calls were not protected by a mutex.  One cannot be totally sure though, the backtrace doesn't tell much.