Bug 287736 - akonadiconsole crash on clear job tracker
Summary: akonadiconsole crash on clear job tracker
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 09:41 UTC by hgeerts
Modified: 2016-09-26 12:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hgeerts 2011-11-28 09:41:38 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
clearing the akonadi job tracker caused the attached crash.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd2286957a0 (LWP 6018))]

Thread 4 (Thread 0x7fd209d5d700 (LWP 6021)):
#0  0x00007fd22353d773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd21c359f68 in g_main_context_poll (n_fds=3, fds=0x7fd204000ec0, timeout=-1, context=0x19e8720, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x19e8720, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007fd21c35a792 in g_main_loop_run (loop=0x198cf30) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#4  0x00007fd211213516 in gdbus_shared_thread_func (user_data=0x19e86c0) at /build/buildd/glib2.0-2.30.0/./gio/gdbusprivate.c:276
#5  0x00007fd21c37f2b6 in g_thread_create_proxy (data=0x19e8390) at /build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#6  0x00007fd222f64efc in start_thread (arg=0x7fd209d5d700) at pthread_create.c:304
#7  0x00007fd22354989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd2000a9700 (LWP 6034)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd21f7ebc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd21f7ebd59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd222f64efc in start_thread (arg=0x7fd2000a9700) at pthread_create.c:304
#4  0x00007fd22354989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd1ff7a8700 (LWP 6035)):
#0  g_main_context_iterate (context=0x1e96fe0, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3064
#1  0x00007fd21c35a429 in g_main_context_iteration (context=0x1e96fe0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#2  0x00007fd225bdff3e in QEventDispatcherGlib::processEvents (this=0x1e95c60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007fd225bb3cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fd225bb3ef7 in QEventLoop::exec (this=0x7fd1ff7a7de0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007fd225acb27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007fd225acdd05 in QThreadPrivate::start (arg=0x1e94df0) at thread/qthread_unix.cpp:331
#7  0x00007fd222f64efc in start_thread (arg=0x7fd1ff7a8700) at pthread_create.c:304
#8  0x00007fd22354989d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd2286957a0 (LWP 6018)):
[KCrash Handler]
#6  ref (this=0x0) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (other=<optimized out>, this=0x7fffb9b706c0) at /usr/include/qt4/QtCore/qstring.h:729
#8  JobTracker::sessionForId (this=<optimized out>, _id=<optimized out>) at ../../akonadiconsole/jobtracker.cpp:275
#9  0x00000000004499dd in rowForParentId (parentid=-2, this=0x2054520) at ../../akonadiconsole/jobtrackermodel.cpp:53
#10 JobTrackerModel::jobsAdded (this=0x20543c0, jobs=<optimized out>) at ../../akonadiconsole/jobtrackermodel.cpp:227
#11 0x000000000044a151 in JobTrackerModel::qt_metacall (this=0x20543c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb9b707f0) at ./jobtrackermodel.moc:79
#12 0x00007fd225bc7eba in QMetaObject::activate (sender=0x2054528, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb9b707f0) at kernel/qobject.cpp:3278
#13 0x0000000000443320 in JobTracker::added (this=<optimized out>, _t1=<optimized out>) at ./jobtracker.moc:113
#14 0x0000000000446b71 in JobTracker::signalUpdates (this=0x2054528) at ../../akonadiconsole/jobtracker.cpp:326
#15 0x0000000000446bec in JobTracker::qt_metacall (this=0x2054528, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb9b70890) at ./jobtracker.moc:101
#16 0x00007fd225bc7eba in QMetaObject::activate (sender=0x2054630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007fd225bcb789 in QObject::event (this=0x2054630, e=<optimized out>) at kernel/qobject.cpp:1181
#18 0x00007fd2243f0424 in notify_helper (e=0x7fffb9b70df0, receiver=0x2054630, this=0x18b7a00) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x18b7a00, receiver=0x2054630, e=0x7fffb9b70df0) at kernel/qapplication.cpp:4458
#20 0x00007fd2243f5291 in QApplication::notify (this=0x7fffb9b710f0, receiver=0x2054630, e=0x7fffb9b70df0) at kernel/qapplication.cpp:4365
#21 0x00007fd225104126 in KApplication::notify (this=0x7fffb9b710f0, receiver=0x2054630, event=0x7fffb9b70df0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fd225bb4afc in QCoreApplication::notifyInternal (this=0x7fffb9b710f0, receiver=0x2054630, event=0x7fffb9b70df0) at kernel/qcoreapplication.cpp:787
#23 0x00007fd225be1d62 in sendEvent (event=0x7fffb9b70df0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QTimerInfoList::activateTimers (this=0x18bbf50) at kernel/qeventdispatcher_unix.cpp:603
#25 0x00007fd225bdf538 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#26 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#27 0x00007fd21c359a5d in g_main_dispatch (context=0x18bace0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#28 g_main_context_dispatch (context=0x18bace0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#29 0x00007fd21c35a258 in g_main_context_iterate (context=0x18bace0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#30 0x00007fd21c35a429 in g_main_context_iteration (context=0x18bace0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#31 0x00007fd225bdfed6 in QEventDispatcherGlib::processEvents (this=0x1892cd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007fd22449807e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fd225bb3cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fd225bb3ef7 in QEventLoop::exec (this=0x7fffb9b71080, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007fd225bb8789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#36 0x0000000000418609 in main (argc=1, argv=0x7fffb9b71528) at ../../akonadiconsole/main.cpp:65

Reported using DrKonqi
Comment 1 Allen Winter 2011-11-29 22:51:44 UTC
I couldn't reproduce this. But I made some educated guesses at what might be happening and committed a possible fix today.  The fix will be included with KDE 4.7.4.  Please try to duplicate the problem starting with 4.7.4.  and let us know if it still crashes
Comment 2 Denis Kurz 2016-09-24 20:32:37 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 hgeerts 2016-09-26 12:16:47 UTC
I haven't seen this bug again so this can be closed.