Bug 282260 - Nepomuk crashed at KDE-Startup
Summary: Nepomuk crashed at KDE-Startup
Status: RESOLVED DUPLICATE of bug 239842
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: filewatch (show other bugs)
Version: 4.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 288632 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-18 10:24 UTC by matthias
Modified: 2012-05-26 09:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch against kde-runtime/nepomuk (1.35 KB, patch)
2011-09-19 08:15 UTC, Sebastian Trueg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthias 2011-09-18 10:24:12 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-0-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- Login in 
- Starting Kontact automaticaly
- Crash 
- Restarting  nepomuk on the restart prompt works.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb2a8cb70 (LWP 2280)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb61b948c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb62a63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb7645467 in wait (this=0x987b344, mutex=0x987b340, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x987b344, mutex=0x987b340, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb2ae5a74 in Nepomuk::MetadataMover::run (this=0x987b330) at ../../../../nepomuk/services/filewatch/metadatamover.cpp:165
#6  0xb7644da2 in QThreadPrivate::start (arg=0x987b330) at thread/qthread_unix.cpp:320
#7  0xb61b4e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb629873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb58a5710 (LWP 2275)):
[KCrash Handler]
#7  0xb7893424 in __kernel_vsyscall ()
#8  0xb61f2e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb61f634e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb6233b74 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0xb6236112 in ?? () from /lib/i386-linux-gnu/libc.so.6
#12 0xb6236f61 in ?? () from /lib/i386-linux-gnu/libc.so.6
#13 0xb6238579 in realloc () from /lib/i386-linux-gnu/libc.so.6
#14 0xb763ebf4 in qRealloc (ptr=0x98ac4e8, size=64) at global/qmalloc.cpp:65
#15 0xb764714e in QByteArray::realloc (this=0xbfec5a30, alloc=44) at tools/qbytearray.cpp:1440
#16 0xb7647eaf in QByteArray::append (this=0xbfec5a30, ba=...) at tools/qbytearray.cpp:1584
#17 0xb2aec08b in (anonymous namespace)::concatPath (p1=<value optimized out>, p2=...) at ../../../../nepomuk/services/filewatch/kinotify.cpp:59
#18 0xb2aefd5b in addWatchesRecursively (this=0x987d160) at ../../../../nepomuk/services/filewatch/kinotify.cpp:166
#19 KInotify::Private::_k_addWatches (this=0x987d160) at ../../../../nepomuk/services/filewatch/kinotify.cpp:198
#20 0xb2aeef4e in KInotify::addWatch (this=0x987ba98, path=..., mode=..., flags=...) at ../../../../nepomuk/services/filewatch/kinotify.cpp:284
#21 0xb2ae012a in (anonymous namespace)::IgnoringKInotify::addWatch (this=0x987ba98, path=..., modes=..., flags=...) at ../../../../nepomuk/services/filewatch/nepomukfilewatch.cpp:82
#22 0xb2ae084c in Nepomuk::FileWatch::watchFolder (this=0x98204d8, path=...) at ../../../../nepomuk/services/filewatch/nepomukfilewatch.cpp:178
#23 0xb2ae0e7d in Nepomuk::FileWatch::FileWatch (this=0x98204d8, parent=0x980dc78) at ../../../../nepomuk/services/filewatch/nepomukfilewatch.cpp:151
#24 0xb2ae1a68 in KPluginFactory::createInstance<Nepomuk::FileWatch, QObject> (parentWidget=0x0, parent=0x980dc78, args=...) at /usr/include/KDE/../kpluginfactory.h:473
#25 0xb750a104 in KPluginFactory::create (this=0x9803790, iface=0xb6f381a0 "Nepomuk::Service", parentWidget=0x0, parent=0x980dc78, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#26 0x0804bc5b in create<Nepomuk::Service> (this=0x980dc78) at /usr/include/kpluginfactory.h:527
#27 createInstance<Nepomuk::Service> (this=0x980dc78) at /usr/include/KDE/../kservice.h:551
#28 createInstance<Nepomuk::Service> (this=0x980dc78) at /usr/include/KDE/../kservice.h:528
#29 Nepomuk::ServiceControl::start (this=0x980dc78) at ../../../nepomuk/servicestub/servicecontrol.cpp:79
#30 0x0804befb in Nepomuk::ServiceControl::qt_metacall (this=0x980dc78, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x97f4ba0) at ./servicecontrol.moc:82
#31 0xb773f6ba in QMetaObject::metacall (object=0x980dc78, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x97f4ba0) at kernel/qmetaobject.cpp:237
#32 0xb7749e16 in QMetaCallEvent::placeMetaCall (this=0x980dc00, object=0x980dc78) at kernel/qobject.cpp:535
#33 0xb774e3b7 in QObject::event (this=0x980dc78, e=0x980dc00) at kernel/qobject.cpp:1226
#34 0xb6542d24 in QApplicationPrivate::notify_helper (this=0x976dea0, receiver=0x980dc78, e=0x980dc00) at kernel/qapplication.cpp:4462
#35 0xb65478ce in QApplication::notify (this=0xbfec66d8, receiver=0x980dc78, e=0x980dc00) at kernel/qapplication.cpp:3862
#36 0xb71313ca in KApplication::notify (this=0xbfec66d8, receiver=0x980dc78, event=0x980dc00) at ../../kdeui/kernel/kapplication.cpp:311
#37 0xb77390bb in QCoreApplication::notifyInternal (this=0xbfec66d8, receiver=0x980dc78, event=0x980dc00) at kernel/qcoreapplication.cpp:731
#38 0xb773cc79 in sendEvent (receiver=0x0, event_type=0, data=0x973b6f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x973b6f0) at kernel/qcoreapplication.cpp:1372
#40 0xb773ce0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#41 0xb77663c4 in sendPostedEvents (s=0x97706d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=0x97706d0) at kernel/qeventdispatcher_glib.cpp:277
#43 0xb60f0aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb60f1270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb60f1524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb776653c in QEventDispatcherGlib::processEvents (this=0x973b458, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0xb65f91e5 in QGuiEventDispatcherGlib::processEvents (this=0x973b458, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb7738289 in QEventLoop::processEvents (this=0xbfec6534, flags=...) at kernel/qeventloop.cpp:149
#49 0xb7738522 in QEventLoop::exec (this=0xbfec6534, flags=...) at kernel/qeventloop.cpp:201
#50 0xb773cecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#51 0xb65408e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#52 0x0804b07e in main (argc=) at ../../../nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 267728.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-09-19 08:15:10 UTC
Created attachment 63761 [details]
Patch against kde-runtime/nepomuk

This patch is a feeble attempt at trying to fix this crash. The best would be to get a backtrace with details about variable values though.
Please let me know if you would be willing to do a test session together, trying to pin down the issue (if this patch does not work).
Comment 2 Sebastian Trueg 2011-12-12 10:06:50 UTC
*** Bug 288632 has been marked as a duplicate of this bug. ***
Comment 3 Vishesh Handa 2012-05-26 09:38:42 UTC

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