Bug 363396

Summary: KOrganizer (via KDEPIM) crashes on close after pasting events
Product: [Applications] kontact Reporter: Mark Stanton <mark>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Stanton 2016-05-22 11:26:35 UTC
Application: kontact (4.14.10)
KDE Platform Version: 4.14.17
Qt Version: 4.8.7
Operating System: Linux 4.4.9-200.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
Having an oddly recurring event I decided to copy the original and paste subsequent instances of it.
Firstly, on pasting the subsequent event does not show up on the date pasted to.
Having tried this before and found that the subsequent event has been created but simply hasn't been shown, I decided to close and reopen KDEPIM.
With either a single or multiple pastes, KDEPIM crashes on close.
I have done this two or three times with a crash every time.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fdf2f6b8700 (LWP 1092)):
#0  0x0000003e70a0c540 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003b7858af61 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQtWebKit.so.4
#2  0x0000003b788896d6 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQtWebKit.so.4
#3  0x0000003e70a07555 in start_thread (arg=0x7fdf2f6b8700) at pthread_create.c:333
#4  0x0000003e6ff02ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdf25a2a700 (LWP 1096)):
#0  0x00007ffe25be6c8f in clock_gettime ()
#1  0x0000003e6ff10fcd in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fdf25a29a90) at ../sysdeps/unix/clock_gettime.c:115
#2  0x000000316e2e6c35 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  0x000000316e2e6c35 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:144
#4  0x000000316e3cc939 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7fdf200030e0) at kernel/qeventdispatcher_unix.cpp:354
#5  0x000000316e3cb766 in timerSourceCheckHelper(GTimerSource*) (src=0x7fdf20003080) at kernel/qeventdispatcher_glib.cpp:157
#6  0x0000003e71649801 in g_main_context_check () at /lib64/libglib-2.0.so.0
#7  0x0000003e71649d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#8  0x0000003e71649ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#9  0x000000316e3cbe7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fdf200008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#10 0x000000316e39a131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf25a29cd0, flags=...) at kernel/qeventloop.cpp:149
#11 0x000000316e39a4a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdf25a29cd0, flags=...) at kernel/qeventloop.cpp:204
#12 0x000000316e289a99 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#13 0x000000316e28c38c in QThreadPrivate::start(void*) (arg=0x15e3da0) at thread/qthread_unix.cpp:352
#14 0x0000003e70a07555 in start_thread (arg=0x7fdf25a2a700) at pthread_create.c:333
#15 0x0000003e6ff02ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdf7a7e6900 (LWP 1091)):
[KCrash Handler]
#6  0x00000030e4ddbb00 in QAbstractSlider::maximum() const (this=0x0) at widgets/qabstractslider.cpp:366
#7  0x0000003448023764 in KViewStateSaver::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (this=0x1729690) at ../../kdeui/itemviews/kviewstatesaver.cpp:67
#8  0x0000003448023764 in KViewStateSaver::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kviewstatesaver.moc:52
#9  0x000000316e3b57f1 in QObject::event(QEvent*) (this=0xb006380, e=<optimized out>) at kernel/qobject.cpp:1222
#10 0x00000030e4a0293c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1032c00, receiver=receiver@entry=0xb006380, e=e@entry=0x1b787e0) at kernel/qapplication.cpp:4565
#11 0x00000030e4a09796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe25bbef80, receiver=receiver@entry=0xb006380, e=e@entry=0x1b787e0) at kernel/qapplication.cpp:4351
#12 0x000000344805559a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe25bbef80, receiver=0xb006380, event=0x1b787e0) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x000000316e39b8bd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe25bbef80, receiver=receiver@entry=0xb006380, event=event@entry=0x1b787e0) at kernel/qcoreapplication.cpp:955
#14 0x000000316e39eed6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1b787e0, receiver=0xb006380) at kernel/qcoreapplication.h:231
#15 0x000000316e39eed6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf87c60) at kernel/qcoreapplication.cpp:1579
#16 0x000000316e39f1b3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#17 0x000000316e3cbcee in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#18 0x000000316e3cbcee in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x104f1f0) at kernel/qeventdispatcher_glib.cpp:300
#19 0x0000003e71649a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#20 0x0000003e71649e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#21 0x0000003e71649ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#22 0x000000316e3cbe5e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xf89530, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0x00000030e4aab436 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#24 0x000000316e39a131 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe25bbee90, flags=...) at kernel/qeventloop.cpp:149
#25 0x000000316e39a4a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe25bbee90, flags=...) at kernel/qeventloop.cpp:204
#26 0x000000316e3a0039 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#27 0x00000000004038d0 in main ()

Possible duplicates by query: bug 356508, bug 330414, bug 329828, bug 328755.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-05-11 14:13:35 UTC

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