Bug 246818 - nepomuk crashes at login
Summary: nepomuk crashes at login
Status: RESOLVED DUPLICATE of bug 239842
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 17:02 UTC by Arne Babenhauserheide
Modified: 2010-08-09 17:46 UTC (History)
1 user (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 Arne Babenhauserheide 2010-08-05 17:02:29 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.31-gentoo-r6 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

simply login. 

I did the test from the possible duplicate, though (which also gave a crash): 

$ gdb --args nepomukservicestub nepomukfilewatch

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/nepomukservicestub...done.
(gdb) run
Starting program: /usr/bin/nepomukservicestub nepomukfilewatch
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe8705710 (LWP 14950)]
[New Thread 0x7fffe7f04710 (LWP 14951)]
[Thread 0x7fffe7f04710 (LWP 14951) exited]
*** glibc detected *** /usr/bin/nepomukservicestub: free(): invalid pointer: 0x00000000008708a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x740f8)[0x7ffff54a80f8]
/usr/lib64/kde4/nepomukfilewatch.so(+0x14505)[0x7fffe871a505]
/usr/lib64/kde4/nepomukfilewatch.so(+0x1355a)[0x7fffe871955a]
/usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x388)[0x7ffff7ad82f8]
/usr/lib64/qt4/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xad)[0x7ffff5c5585d]
/usr/lib64/qt4/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x294)[0x7ffff5c5cae4]
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3b)[0x7ffff6be4b7b]
/usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83)[0x7ffff7ac83f3]
/usr/lib64/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2f8)[0x7ffff7acaaf8]
/usr/lib64/qt4/libQtCore.so.4(+0x190a03)[0x7ffff7af1a03]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1fc)[0x7ffff4d69a4c]
/usr/lib/libglib-2.0.so.0(+0x41620)[0x7ffff4d6d620]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6b)[0x7ffff4d6d8ab]
/usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5c)[0x7ffff7af155c]
/usr/lib64/qt4/libQtGui.so.4(+0x26aa4f)[0x7ffff5d04a4f]
/usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7ffff7ac6d62]
/usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xd4)[0x7ffff7ac7134]
/usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xc6)[0x7ffff7acad86]
/usr/bin/nepomukservicestub[0x403ca1]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7ffff5452ba6]
/usr/bin/nepomukservicestub[0x4030d9]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:03 466484                             /usr/bin/nepomukservicestub
00605000-00606000 r--p 00005000 08:03 466484                             /usr/bin/nepomukservicestub
00606000-00607000 rw-p 00006000 08:03 466484                             /usr/bin/nepomukservicestub
00607000-008a0000 rw-p 00000000 00:00 0                                  [heap]
7fffe7704000-7fffe7705000 ---p 00000000 00:00 0 
7fffe7705000-7fffe7f05000 rw-p 00000000 00:00 0 
7fffe7f05000-7fffe7f06000 ---p 00000000 00:00 0 
7fffe7f06000-7fffe8706000 rw-p 00000000 00:00 0 
7fffe8706000-7fffe8729000 r-xp 00000000 08:03 1403579                    /usr/lib64/kde4/nepomukfilewatch.so
7fffe8729000-7fffe8928000 ---p 00023000 08:03 1403579                    /usr/lib64/kde4/nepomukfilewatch.so
7fffe8928000-7fffe8929000 r--p 00022000 08:03 1403579                    /usr/lib64/kde4/nepomukfilewatch.so
7fffe8929000-7fffe892a000 rw-p 00023000 08:03 1403579                    /usr/lib64/kde4/nepomukfilewatch.so
7fffe892a000-7fffe8935000 r-xp 00000000 08:03 1828498                    /lib64/libnss_files-2.11.2.so
7fffe8935000-7fffe8b35000 ---p 0000b000 08:03 1828498                    /lib64/libnss_files-2.11.2.so
7fffe8b35000-7fffe8b36000 r--p 0000b000 08:03 1828498                    /lib64/libnss_files-2.11.2.so
7fffe8b36000-7fffe8b37000 rw-p 0000c000 08:03 1828498                    /lib64/libnss_files-2.11.2.so
7fffe8b37000-7fffe8b41000 r-xp 00000000 08:03 1828520                    /lib64/libnss_nis-2.11.2.so
7fffe8b41000-7fffe8d40000 ---p 0000a000 08:03 1828520                    /lib64/libnss_nis-2.11.2.so
7fffe8d40000-7fffe8d41000 r--p 00009000 08:03 1828520                    /lib64/libnss_nis-2.11.2.so
7fffe8d41000-7fffe8d42000 rw-p 0000a000 08:03 1828520                    /lib64/libnss_nis-2.11.2.so
7fffe8d42000-7fffe8d57000 r-xp 00000000 08:03 481447                     /lib64/libnsl-2.11.2.so
7fffe8d57000-7fffe8f56000 ---p 00015000 08:03 481447                     /lib64/libnsl-2.11.2.so
7fffe8f56000-7fffe8f57000 r--p 00014000 08:03 481447                     /lib64/libnsl-2.11.2.so
7fffe8f57000-7fffe8f58000 rw-p 00015000 08:03 481447                     /lib64/libnsl-2.11.2.so
7fffe8f58000-7fffe8f5a000 rw-p 00000000 00:00 0 
7fffe8f5a000-7fffe8f61000 r-xp 00000000 08:03 1828467                    /lib64/libnss_compat-2.11.2.so
7fffe8f61000-7fffe9160000 ---p 00007000 08:03 1828467                    /lib64/libnss_compat-2.11.2.so
7fffe9160000-7fffe9161000 r--p 00006000 08:03 1828467                    /lib64/libnss_compat-2.11.2.so
7fffe9161000-7fffe9162000 rw-p 00007000 08:03 1828467                    /lib64/libnss_compat-2.11.2.so
7fffe9162000-7fffe939d000 r--s 00000000 08:05 27063                      /var/tmp/kdecache-arne/ksycoca4
7fffe939d000-7fffe93a1000 r-xp 00000000 08:03 204593                     /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
7fffe93a1000-7fffe95a0000 ---p 00004000 08:03 204593                     /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
7fffe95a0000-7fffe95a1000 r--p 00003000 08:03 204593                     /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
7fffe95a1000-7fffe95a2000 rw-p 00004000 08:03 204593                     /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
7fffe95a2000-7fffe95b1000 r-xp 00000000 08:03 205004                     /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so
7fffe95b1000-7fffe97b0000 ---p 0000f000 08:03 205004                     /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so
7fffe97b0000-7fffe97b1000 r--p 0000e000 08:03 205004                     /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so
7fffe97b1000-7fffe97b2000 rw-p 0000f000 08:03 205004                     /usr/lib64/kde4/plugins/imageformats/kimg_xcf.so
7fffe97b2000-7fffe97b6000 rw-p 00000000 00:00 0 
7fffe97b6000-7fffe97bb000 r-xp 00000000 08:03 205001                     /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fffe97bb000-7fffe99ba000 ---p 00005000 08:03 205001                     /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fffe99ba000-7fffe99bb000 r--p 00004000 08:03 205001                     /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fffe99bb000-7fffe99bc000 rw-p 00005000 08:03 205001                     /usr/lib64/kde4/plugins/imageformats/kimg_tga.so
7fffe99bc000-7fffe99c6000 r-xp 00000000 08:03 205005                     /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fffe99c6000-7fffe9bc5000 ---p 0000a000 08:03 205005                     /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fffe9bc5000-7fffe9bc6000 r--p 00009000 08:03 205005                     /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fffe9bc6000-7fffe9bc7000 rw-p 0000a000 08:03 205005                     /usr/lib64/kde4/plugins/imageformats/kimg_rgb.so
7fffe9bc7000-7fffe9bcc000 r-xp 00000000 08:03 204595                     /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fffe9bcc000-7fffe9dcb000 ---p 00005000 08:03 204595                     /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fffe9dcb000-7fffe9dcc000 r--p 00004000 08:03 204595                     /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fffe9dcc000-7fffe9dcd000 rw-p 00005000 08:03 204595                     /usr/lib64/kde4/plugins/imageformats/kimg_ras.so
7fffe9dcd000-7fffe9dd2000 r-xp 00000000 08:03 204332                     /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
7fffe9dd2000-7fffe9fd1000 ---p 00005000 08:03 204332                     /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
7fffe9fd1000-7fffe9fd2000 r--p 00004000 08:03 204332                     /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
7fffe9fd2000-7fffe9fd3000 rw-p 00005000 08:03 204332                     /usr/lib64/kde4/plugins/imageformats/kimg_psd.so
7fffe9fd3000-7fffe9fd8000 r-xp 00000000 08:03 204999                     /usr/lib64/kde4/plugins/imageformats/kimg_pic.so
7fffe9fd8000-7fffea1d7000 ---p 00005000 08:03 204999                     /usr/lib64/kde4/plugins/imageformats/kimg_pic.so
7fffea1d7000-7fffea1d8000 r--p 00004000 08:03 204999                     /usr/lib64/kde4/plugins/imageformats/kimg_pic.so
7fffea1d8000-7fffea1d9000 rw-p 00005000 08:03 204999                     /usr/lib64/kde4/plugins/imageformats/kimg_pic.so
7fffea1d9000-7fffea1e1000 r-xp 00000000 08:03 205000                     /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so
7fffea1e1000-7fffea3e0000 ---p 00008000 08:03 205000                     /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so
7fffea3e0000-7fffea3e1000 r--p 00007000 08:03 205000                     /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so
7fffea3e1000-7fffea3e2000 rw-p 00008000 08:03 205000                     /usr/lib64/kde4/plugins/imageformats/kimg_pcx.so
Program received signal SIGABRT, Aborted.
0x00007ffff5466445 in raise () from /lib/libc.so.6
(gdb)

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0x7f398de55760 (LWP 14516))]

Thread 2 (Thread 0x7f397e5b1710 (LWP 14545)):
#0  0x00007f398d5fc3dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f398d887c49 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f397e5bf520 in Nepomuk::MetadataMover::run() () from /usr/lib64/kde4/nepomukfilewatch.so
#3  0x00007f398d886d25 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f398d5f84e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f398b3b428d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f398de55760 (LWP 14516)):
[KCrash Handler]
#6  0x00007f398b312445 in raise () from /lib/libc.so.6
#7  0x00007f398b313941 in abort () from /lib/libc.so.6
#8  0x00007f398b34ea3f in __libc_message () from /lib/libc.so.6
#9  0x00007f398b3540f8 in malloc_printerr () from /lib/libc.so.6
#10 0x00007f397e5c6505 in KInotify::Private::_k_addWatches() () from /usr/lib64/kde4/nepomukfilewatch.so
#11 0x00007f397e5c555a in KInotify::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/nepomukfilewatch.so
#12 0x00007f398d9842f8 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f398bb0185d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f398bb08ae4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f398ca90b7b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f398d9743f3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f398d976af8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f398d99da03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f398ac15a4c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007f398ac19620 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#21 0x00007f398ac198ab in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007f398d99d55c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f398bbb0a4f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f398d972d62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f398d973134 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f398d976d86 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#27 0x0000000000403ca1 in main ()
The current source language is "auto; currently asm".

This bug may be a duplicate of or related to bug 239842.

Possible duplicates by query: bug 245714, bug 244766.

Reported using DrKonqi
Comment 1 Vishesh Handa 2010-08-05 17:12:57 UTC
You should give backtraces with debug symbols. It's a lot easier that way.

Please give the output of `cat /proc/sys/fs/inotify/max_user_watches`. It'll most probably be somewhere around 8k. 

If it is, please change it to at least the number of directories you have.
Comment 2 Arne Babenhauserheide 2010-08-06 15:08:49 UTC
Activating debug symbols in general sadly takes a few hours here (need to rebuild). It’s easy when I know the exact package for which I need debug symbols, though. 

With 10000000 in max_user_watches, it still breaks (it was 8192).
Comment 3 Pino Toscano 2010-08-09 17:46:55 UTC

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