Bug 330213 - Kontact seg fault on exit
Summary: Kontact seg fault on exit
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.12
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-20 16:37 UTC by rick
Modified: 2017-01-07 22:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.52 KB, text/plain)
2014-04-22 18:48 UTC, David Murray
Details
Backtrace of crash (3.49 KB, text/plain)
2014-08-05 08:35 UTC, Matthew Flaschen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rick 2014-01-20 16:37:43 UTC
Application: kontact (4.12)
KDE Platform Version: 4.12.0
Qt Version: 4.8.2
Operating System: Linux 3.2.0-58-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
Every time I exit Kontact (Korganizer) I get a segmentation fault. Doesn't seem to matter what else is running at the time.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3ca404f7c0 (LWP 5535))]

Thread 4 (Thread 0x7f3c876af700 (LWP 5683)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3c9eec5dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3c9eec5f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3c9bcd1e9a in start_thread (arg=0x7f3c876af700) at pthread_create.c:308
#4  0x00007f3ca15833fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3c86dae700 (LWP 5692)):
#0  0x00007ffffbf138de in ?? ()
#1  0x00007f3c9a03415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f3ca1c21c84 in do_gettime (frac=0x7f3c86dadbe8, sec=0x7f3c86dadbe0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f3ca1cfa08d in QTimerInfoList::updateCurrentTime (this=0x7f3c80002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f3ca1cf9d41 in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:150
#6  timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:144
#7  0x00007f3c9b804b03 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3c9b804f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3c9b805124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3ca1cf9926 in QEventDispatcherGlib::processEvents (this=0x7f3c800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f3ca1cc8e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f3ca1cc90b7 in QEventLoop::exec (this=0x7f3c86daddc0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f3ca1bc8077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007f3ca1bcb09b in QThreadPrivate::start (arg=0x2142030) at thread/qthread_unix.cpp:307
#15 0x00007f3c9bcd1e9a in start_thread (arg=0x7f3c86dae700) at pthread_create.c:308
#16 0x00007f3ca15833fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3c3497d700 (LWP 6063)):
#0  0x00007f3ca1577a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c9b804ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c9b805124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ca1cf9926 in QEventDispatcherGlib::processEvents (this=0x7f3c280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3ca1cc8e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3ca1cc90b7 in QEventLoop::exec (this=0x7f3c3497cd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3ca1bc8077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3ca1ca8b6f in QInotifyFileSystemWatcherEngine::run (this=0x2d8f6b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3ca1bcb09b in QThreadPrivate::start (arg=0x2d8f6b0) at thread/qthread_unix.cpp:307
#9  0x00007f3c9bcd1e9a in start_thread (arg=0x7f3c3497d700) at pthread_create.c:308
#10 0x00007f3ca15833fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3ca404f7c0 (LWP 5535)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f3ca2a9b264 in QAbstractSlider::setValue (this=0x2a0dbc0, value=<optimized out>) at widgets/qabstractslider.cpp:530
#8  0x00007f3ca33cd4eb in restoreScrollBarState (this=0x264cd40) at ../../kdeui/itemviews/kviewstatesaver.cpp:65
#9  qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kviewstatesaver.moc:53
#10 KViewStateSaver::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kviewstatesaver.moc:46
#11 0x00007f3ca1ce3946 in QObject::event (this=0x2e6c350, e=<optimized out>) at kernel/qobject.cpp:1195
#12 0x00007f3ca26c97b4 in notify_helper (e=0x32ff6d0, receiver=0x2e6c350, this=0x1f537b0) at kernel/qapplication.cpp:4556
#13 QApplicationPrivate::notify_helper (this=0x1f537b0, receiver=0x2e6c350, e=0x32ff6d0) at kernel/qapplication.cpp:4528
#14 0x00007f3ca26ce583 in QApplication::notify (this=0x7ffffbe83cc0, receiver=0x2e6c350, e=0x32ff6d0) at kernel/qapplication.cpp:4417
#15 0x00007f3ca34020e6 in KApplication::notify (this=0x7ffffbe83cc0, receiver=0x2e6c350, event=0x32ff6d0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f3ca1cca32c in QCoreApplication::notifyInternal (this=0x7ffffbe83cc0, receiver=0x2e6c350, event=0x32ff6d0) at kernel/qcoreapplication.cpp:915
#17 0x00007f3ca1cce10a in sendEvent (event=0x32ff6d0, receiver=0x2e6c350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f1b2e0) at kernel/qcoreapplication.cpp:1539
#19 0x00007f3ca1cf9493 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007f3c9b804d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f3c9b805060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f3c9b805124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f3ca1cf98bf in QEventDispatcherGlib::processEvents (this=0x1f1c7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f3ca2771cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f3ca1cc8e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f3ca1cc90b7 in QEventLoop::exec (this=0x7ffffbe83c50, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f3ca1cce407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#29 0x00000000004035c9 in main (argc=3, argv=0x7ffffbe842e8) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 David Murray 2014-04-22 18:48:14 UTC
Created attachment 86215 [details]
New crash information added by DrKonqi

korganizer (4.13) on KDE Platform 4.13.0 using Qt 4.8.6

Looks like this crash still happens on exit with KDE 4.13.

-- Backtrace (Reduced):
#6  0x00007f6bf656ba21 in QAbstractSlider::setValue (this=0x2556cd0, value=value@entry=0) at widgets/qabstractslider.cpp:530
#7  0x00007f6bf8b642c9 in restoreScrollBarState (this=0x38d3530) at ../../kdeui/itemviews/kviewstatesaver.cpp:65
#8  KViewStateSaver::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kviewstatesaver.moc:52
#9  0x00007f6bf6e35c1e in QObject::event (this=0x1f8be90, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00007f6bf61b6e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1e987b0, receiver=receiver@entry=0x1f8be90, e=e@entry=0x3923ca0) at kernel/qapplication.cpp:4567
Comment 2 Matthew Flaschen 2014-08-05 08:34:30 UTC
Application: korganizer (4.12.4)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.14-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)

I have similar symptoms, and the backtrace (attached) looks similar.  Every time I exit KOrganizer, it crashes.  I have multiple calendars, including some from an old system (this system is a fresh install with a restored home directory).
Comment 3 Matthew Flaschen 2014-08-05 08:35:37 UTC
Created attachment 88122 [details]
Backtrace of crash
Comment 4 Denis Kurz 2016-09-24 19:25:59 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 22:02:06 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.