Bug 243505

Summary: nepomukservicestub crash after plugging in USB flash drive and mounting it
Product: [Unmaintained] nepomuk Reporter: Igor Poboiko <igor.poboiko>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arne_bab, Freiheits, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Igor Poboiko 2010-07-03 16:24:24 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-rc3li3710 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I plugged in USB flash drive to my laptop and then I pressed "Mount" button in a "Device Manager" plasmoid. After it nepomukservicestub crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Заглушка службы Nepomuk (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0xb591a710 (LWP 3816))]

Thread 2 (Thread 0xb2c41b70 (LWP 3827)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb74d9fc5 in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb757aa97 in QWaitConditionPrivate::wait (this=0x82a9744, mutex=0x82a9740, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x82a9744, mutex=0x82a9740, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb2cb9512 in Nepomuk::MetadataMover::run (this=0x82a9730) at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/services/filewatch/metadatamover.cpp:163
#5  0xb7579a9e in QThreadPrivate::start (arg=0x82a9730) at thread/qthread_unix.cpp:248
#6  0xb74d592f in start_thread (arg=0xb2c41b70) at pthread_create.c:297
#7  0xb602f8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb591a710 (LWP 3816)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5f8c471 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5f8dbb2 in *__GI_abort () at abort.c:92
#10 0xb5fc7a15 in __libc_message (do_abort=2, fmt=0xb60876d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#11 0xb5fcd881 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x84583a0) at malloc.c:6267
#12 0xb5fd2236 in *__GI___libc_free (mem=0x6) at malloc.c:3700
#13 0xb61a6bc1 in operator delete (ptr=0x0) at /var/tmp/portage/sys-devel/gcc-4.4.4-r1/work/gcc-4.4.4/libstdc++-v3/libsupc++/del_op.cc:44
#14 0xb61a6c1d in operator delete[] (ptr=0x84583a0) at /var/tmp/portage/sys-devel/gcc-4.4.4-r1/work/gcc-4.4.4/libstdc++-v3/libsupc++/del_opv.cc:32
#15 0xb2cc023f in KInotify::Private::addWatchesRecursively (this=0x82f9b68, path=...) at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/services/filewatch/kinotify.cpp:161
#16 0xb2cbcf71 in KInotify::Private::_k_addWatches (this=0x82a9600, path=..., mode=..., flags=...)
    at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/services/filewatch/kinotify.cpp:179
#17 KInotify::addWatch (this=0x82a9600, path=..., mode=..., flags=...) at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/services/filewatch/kinotify.cpp:269
#18 0xb2cb45aa in Nepomuk::FileWatch::watchFolder (this=0x82249b0, path=...) at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/services/filewatch/nepomukfilewatch.cpp:146
#19 0xb2cb51e5 in Nepomuk::FileWatch::qt_metacall (this=0x82249b0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf936e78)
    at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90_build/nepomuk/services/filewatch/nepomukfilewatch.moc:92
#20 0xb747a7a9 in QDBusConnectionPrivate::deliverCall (this=0x8232320, object=0x82249b0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:904
#21 0xb747b9e5 in QDBusConnectionPrivate::activateCall (this=0x8232320, object=0x82249b0, flags=81, msg=...) at qdbusintegrator.cpp:816
#22 0xb747c14c in QDBusConnectionPrivate::activateObject (this=0x8232320, node=..., msg=..., pathStartPos=17) at qdbusintegrator.cpp:1383
#23 0xb747c6aa in QDBusActivateObjectEvent::placeMetaCall (this=0x8458350) at qdbusintegrator.cpp:1477
#24 0xb7685fbe in QObject::event (this=0x82249b0, e=0x8458350) at kernel/qobject.cpp:1240
#25 0xb6315fbc in QApplicationPrivate::notify_helper (this=0x81df960, receiver=0x82249b0, e=0x8458350) at kernel/qapplication.cpp:4302
#26 0xb631cb1e in QApplication::notify (this=0xbf9379f4, receiver=0x82249b0, e=0x8458350) at kernel/qapplication.cpp:3706
#27 0xb6ff327a in KApplication::notify (this=0xbf9379f4, receiver=0x82249b0, event=0x8458350) at /var/tmp/portage/kde-base/kdelibs-4.4.90/work/kdelibs-4.4.90/kdeui/kernel/kapplication.cpp:309
#28 0xb76756fb in QCoreApplication::notifyInternal (this=0xbf9379f4, receiver=0x82249b0, event=0x8458350) at kernel/qcoreapplication.cpp:726
#29 0xb767915c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x81cb778) at kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x81cb778) at kernel/qcoreapplication.cpp:1367
#31 0xb76792dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#32 0xb76a161f in QCoreApplication::sendPostedEvents (s=0x81e1f20) at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x81e1f20) at kernel/qeventdispatcher_glib.cpp:276
#34 0xb5ea5f55 in g_main_dispatch (context=0x81e1e98) at gmain.c:1960
#35 IA__g_main_context_dispatch (context=0x81e1e98) at gmain.c:2513
#36 0xb5ea9c28 in g_main_context_iterate (context=0x81e1e98, block=<value optimized out>, dispatch=1, self=0x81dfb88) at gmain.c:2591
#37 0xb5ea9e08 in IA__g_main_context_iteration (context=0x81e1e98, may_block=1) at gmain.c:2654
#38 0xb76a1115 in QEventDispatcherGlib::processEvents (this=0x81df920, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0xb63d26a5 in QGuiEventDispatcherGlib::processEvents (this=0x81df920, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb7673d39 in QEventLoop::processEvents (this=0xbf937874, flags=) at kernel/qeventloop.cpp:149
#41 0xb767418a in QEventLoop::exec (this=0xbf937874, flags=...) at kernel/qeventloop.cpp:201
#42 0xb767939f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0xb6316057 in QApplication::exec () at kernel/qapplication.cpp:3581
#44 0x0804b2ef in main (argc=2, argv=0xbf937b94) at /var/tmp/portage/kde-base/nepomuk-4.4.90/work/nepomuk-4.4.90/nepomuk/servicestub/main.cpp:152

Possible duplicates by query: bug 241554, bug 240783, bug 236519, bug 236422, bug 230687.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2010-07-27 11:37:19 UTC
*** Bug 241554 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Trueg 2010-07-27 11:40:29 UTC
what does "cat /proc/sys/fs/inotify/max_user_watches" say?
Comment 3 Sebastian Trueg 2010-07-27 11:40:36 UTC
*** Bug 244766 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Trueg 2010-07-27 12:00:31 UTC

*** This bug has been marked as a duplicate of bug 239842 ***
Comment 5 Igor Poboiko 2010-07-28 00:18:46 UTC
$ cat /proc/sys/fs/inotify/max_user_watches 
8192
Comment 6 Sebastian Trueg 2010-07-28 16:29:33 UTC
@Igor: Could you please run "echo "524288" > /proc/sys/fs/inotify/max_user_watches" as root and see if the bug is gone after that when you restart Nepomuk.
Comment 7 Igor Poboiko 2010-07-29 09:31:34 UTC
I don't know is this bug gone just because it happened only once and it doesn't seem to be reproducable :(