[Bug 302590] New: Kontact crashed after killing virtuoso

Diego panda84 at inwind.it
Tue Jun 26 20:07:54 BST 2012


https://bugs.kde.org/show_bug.cgi?id=302590

            Bug ID: 302590
          Severity: crash
           Version: 4.8.3
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: Kontact crashed after killing virtuoso
    Classification: Unclassified
                OS: Linux
          Reporter: panda84 at inwind.it
          Hardware: Fedora RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kontact

Application: kontact (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.4.3-1.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

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

I was looking to get the source of a problem of Kontact being stuck. This is
what happened:
[19:08] <panda84kde> hi everybody. Can anybody help me to debug a problem I
currently have with Kontact? The Kontact (4.8.3) GUI got stuck and wasn't
responding. I force closed it and restarted again, but the GUI doesn't open up
anymore.
[19:09] <panda84kde> I've tried starting it from command line and the only
output I get is "loaded the Generic plugin" and nothing more.
[19:09] <panda84kde> te
[19:09] <dfaure> when you close it, does it really completely terminate? check
with Ctrl+Esc, that it's not running anymore
[19:10] <vkrause> a hanging Nepomuk query service could cause that
[19:11] <panda84kde> dfaure: thanks. yes, by "force close" i mean kill it. no
process opened 
[19:12] <panda84kde> vkrause: how can I check if I have a hanging Nepomuk query
service?
[19:14] <vkrause> try running "qdbus
org.kde.nepomuk.services.nepomukqueryservice /nepomukqueryservice", if that
hangs as well, that's the problem
[19:15] <vkrause> if it works the only other way to be sure is backtrace on
kontact or stopping nepomuk temporarily
[19:17] <panda84kde> no, that command doesn't hang:
http://pastebin.com/hfRiHixT
[19:17] <panda84kde> ok, I'll install Kontact debug symbols and see what's
going on.
[19:19] <panda84kde> gdb and Kontact debug symbols. anything else I may need?
[19:20] <dfaure> debug symbols for all underlying libs
[19:21] <dfaure> (akonadi, kdepimlibs, kdepim, kdelibs, soprano ...)
[19:21] <vkrause> I doubt that much detail will be needed for a first run
[19:21] <vkrause> I still suspect a sync dbus call to nepomuk, should be
visible already without all that
[19:23] <panda84kde> dfaure: yes, I've run Fedora's "debuginfo-install kdepim"
which should install everything that's needed (no disk space problem), around
900MB
[19:23] <dfaure> fun
[19:24] <panda84kde> vkrause: anything else I could try before going the gdb
road?
[19:24] <vkrause> stop nepomuk/virtuoso and try again, if it still hangs it's
something else
[19:25] <panda84kde> ok
[19:25] <vkrause> ie. if it still hangs then we really need a fully detailed
backtrace
[19:54] <panda84kde> vkrause: i've stopped nepomuk from systemsettings, but
still Kontact doesn't start. I still see some nepomuk processes anyway. Should
I kill them?
[20:02] <panda84kde> vkrause, dfaure: as soon as I killed virtuoso process,
Kontact started immediately.

The epilogue is that Kontact started correctly, but just after clicking on a
folder, Kontact crashed with this backtrace.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fc833cb6880 (LWP 1475))]

Thread 3 (Thread 0x7fc826938700 (LWP 1476)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007fc84a82077d in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fc84b20a9a0) at wtf/FastMalloc.cpp:2495
#2  0x00007fc84a820889 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007fc845615d14 in start_thread (arg=0x7fc826938700) at
pthread_create.c:309
#4  0x00007fc8448ba99d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc826037700 (LWP 1477)):
#0  0x00007fffda1f3827 in clock_gettime ()
#1  0x00007fc8429de10d in __GI_clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc8458fb4a4 in do_gettime (frac=0x7fc826036aa8, sec=0x7fc826036aa0)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc8459ced0d in QTimerInfoList::updateCurrentTime
(this=this at entry=0x7fc820002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fc8459cf053 in QTimerInfoList::timerWait (this=0x7fc820002860,
tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fc8459cdbcc in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7fc826036b7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc8423aa1ef in g_main_context_prepare
(context=context at entry=0x7fc8200009a0, priority=priority at entry=0x7fc826036bc8)
at gmain.c:2836
#8  0x00007fc8423aa8db in g_main_context_iterate
(context=context at entry=0x7fc8200009a0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3126
#9  0x00007fc8423aaad4 in g_main_context_iteration (context=0x7fc8200009a0,
may_block=1) at gmain.c:3207
#10 0x00007fc8459ce506 in QEventDispatcherGlib::processEvents
(this=0x7fc8200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fc84599f13f in QEventLoop::processEvents
(this=this at entry=0x7fc826036d20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fc84599f3c8 in QEventLoop::exec (this=0x7fc826036d20, flags=...) at
kernel/qeventloop.cpp:204
#13 0x00007fc8458a2650 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#14 0x00007fc8458a55eb in QThreadPrivate::start (arg=0x1802a00) at
thread/qthread_unix.cpp:307
#15 0x00007fc845615d14 in start_thread (arg=0x7fc826037700) at
pthread_create.c:309
#16 0x00007fc8448ba99d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc833cb6880 (LWP 1475)):
[KCrash Handler]
#6  0x00007fc83d53e17b in lockInline (this=0x1fee218) at
/usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x1fee218, this=<synthetic pointer>) at
/usr/include/QtCore/qmutex.h:109
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0x2003380,
__in_chrg=<optimized out>) at
/usr/src/debug/soprano-2.7.6/client/clientconnection.cpp:58
#9  0x00007fc83d53e329 in Soprano::Client::SocketHandler::~SocketHandler
(this=0x2003380, __in_chrg=<optimized out>) at
/usr/src/debug/soprano-2.7.6/client/clientconnection.cpp:61
#10 0x00007fc8458a33e0 in QThreadStorageData::set (this=<optimized out>,
p=0x3694cd0) at thread/qthreadstorage.cpp:165
#11 0x00007fc83d53bd7f in
qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=...,
t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0x3694cd0, this=<optimized out>) at
/usr/include/QtCore/qthreadstorage.h:155
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x20e2fe0)
at /usr/src/debug/soprano-2.7.6/client/clientconnection.cpp:95
#14 0x00007fc83d53bde9 in
Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized
out>) at /usr/src/debug/soprano-2.7.6/client/clientconnection.cpp:800
#15 0x00007fc83d53b3ca in Soprano::Client::LocalSocketClient::connect
(this=0x1fece88, name=...) at
/usr/src/debug/soprano-2.7.6/client/localsocketclient.cpp:141
#16 0x00007fc847a57eed in init (forced=true, this=0x1fece60) at
/usr/src/debug/kdelibs-4.8.3/nepomuk/core/nepomukmainmodel.cpp:102
#17 Nepomuk::MainModel::init (this=0x1f4ed30) at
/usr/src/debug/kdelibs-4.8.3/nepomuk/core/nepomukmainmodel.cpp:176
#18 0x00007fc847a53a02 in Nepomuk::ResourceManager::init (this=0x1ef3160) at
/usr/src/debug/kdelibs-4.8.3/nepomuk/core/resourcemanager.cpp:326
#19 0x00007fc847a55bc5 in
Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x1febf70,
success=false) at
/usr/src/debug/kdelibs-4.8.3/nepomuk/core/resourcemanager.cpp:225
#20 0x00007fc847a55d3b in Nepomuk::ResourceManager::qt_metacall
(this=0x1ef3160, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fffda127cc0) at
/usr/src/debug/kdelibs-4.8.3/x86_64-redhat-linux-gnu/nepomuk/resourcemanager.moc:111
#21 0x00007fc8453b5e53 in QDBusConnectionPrivate::deliverCall (this=0x17da8b0,
object=0x1ef3160, msg=..., metaTypes=..., slotIdx=10) at
qdbusintegrator.cpp:947
#22 0x00007fc8459b4cee in QObject::event (this=0x1ef3160, e=<optimized out>) at
kernel/qobject.cpp:1195
#23 0x00007fc8465e137c in QApplicationPrivate::notify_helper
(this=this at entry=0x17f7440, receiver=receiver at entry=0x1ef3160,
e=e at entry=0x3677d60) at kernel/qapplication.cpp:4551
#24 0x00007fc8465e57fa in QApplication::notify (this=0x7fffda1287d0,
receiver=0x1ef3160, e=0x3677d60) at kernel/qapplication.cpp:4412
#25 0x00007fc8472fda56 in KApplication::notify (this=0x7fffda1287d0,
receiver=0x1ef3160, event=0x3677d60) at
/usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#26 0x00007fc8459a03ee in QCoreApplication::notifyInternal
(this=0x7fffda1287d0, receiver=receiver at entry=0x1ef3160,
event=event at entry=0x3677d60) at kernel/qcoreapplication.cpp:915
#27 0x00007fc8459a3ea1 in sendEvent (event=0x3677d60, receiver=0x1ef3160) at
kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x17b8600) at kernel/qcoreapplication.cpp:1539
#29 0x00007fc8459ce353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=s at entry=0x17f3700) at
kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fc8423aa6e5 in g_main_dispatch (context=0x17f3600) at gmain.c:2539
#32 g_main_context_dispatch (context=context at entry=0x17f3600) at gmain.c:3075
#33 0x00007fc8423aaa18 in g_main_context_iterate
(context=context at entry=0x17f3600, block=block at entry=1,
dispatch=dispatch at entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3146
#34 0x00007fc8423aaad4 in g_main_context_iteration (context=0x17f3600,
may_block=1) at gmain.c:3207
#35 0x00007fc8459ce4e6 in QEventDispatcherGlib::processEvents (this=0x17b9ee0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007fc8466812ee in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x00007fc84599f13f in QEventLoop::processEvents
(this=this at entry=0x7fffda128640, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fc84599f3c8 in QEventLoop::exec (this=0x7fffda128640, flags=...) at
kernel/qeventloop.cpp:204
#39 0x00007fc8459a41b8 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#40 0x0000000000403459 in main (argc=1, argv=0x7fffda128918) at
/usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:218

Possible duplicates by query: bug 295200, bug 295120, bug 295107, bug 294886,
bug 294849.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list