Bug 324039

Summary: Kontact Crash
Product: [Applications] kontact Reporter: Ted Henscheid <thenscheid>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ted Henscheid 2013-08-26 02:33:09 UTC
Application: kontact (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.9-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: changing a recurring scheduled appointment.  From one date to another

The crash can be reproduced sometimes.

-- 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 0x7f6bab75c8c0 (LWP 1615))]

Thread 4 (Thread 0x7f6b9e515700 (LWP 1616)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003a194cd34d in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x0000003a194cd389 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00000039f0a07c53 in start_thread (arg=0x7f6b9e515700) at pthread_create.c:308
#4  0x00000039f02f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f6b5da09700 (LWP 1617)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003a1920dadd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f6b9dc7f398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x0000003a194fcba6 in WTF::wtfThreadEntryPoint (param=0xcca410) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x00000039f0a07c53 in start_thread (arg=0x7f6b5da09700) at pthread_create.c:308
#4  0x00000039f02f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6b4ea77700 (LWP 1630)):
#0  0x00000039f2a86f9a in g_mutex_get_impl (mutex=0x7f6b400009a0) at gthread-posix.c:121
#1  0x00000039f2a87249 in g_mutex_lock (mutex=mutex@entry=0x7f6b400009a0) at gthread-posix.c:210
#2  0x00000039f2a480a9 in g_main_context_iterate (context=context@entry=0x7f6b400009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3705
#3  0x00000039f2a481fc in g_main_context_iteration (context=0x7f6b400009a0, may_block=1) at gmain.c:3762
#4  0x00000039f83a7166 in QEventDispatcherGlib::processEvents (this=0x7f6b400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00000039f8378ecf in QEventLoop::processEvents (this=this@entry=0x7f6b4ea76d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000039f83791c5 in QEventLoop::exec (this=this@entry=0x7f6b4ea76d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000039f827866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00000039f827ad0f in QThreadPrivate::start (arg=0xfd4a90) at thread/qthread_unix.cpp:338
#9  0x00000039f0a07c53 in start_thread (arg=0x7f6b4ea77700) at pthread_create.c:308
#10 0x00000039f02f5ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6bab75c8c0 (LWP 1615)):
[KCrash Handler]
#6  EventViews::IncidenceMonthItem::updateDates (this=this@entry=0x5d51560, startOffset=7, endOffset=endOffset@entry=7) at /usr/src/debug/kdepim-4.10.5/calendarviews/eventviews/month/monthitem.cpp:468
#7  0x00007f6b57da50af in EventViews::IncidenceMonthItem::finalizeMove (this=0x5d51560, newStartDate=...) at /usr/src/debug/kdepim-4.10.5/calendarviews/eventviews/month/monthitem.cpp:402
#8  0x00007f6b57da8ab1 in EventViews::MonthScene::mouseReleaseEvent (this=0x63c2170, mouseEvent=0x7fff3ce81a50) at /usr/src/debug/kdepim-4.10.5/calendarviews/eventviews/month/monthscene.cpp:668
#9  0x00000039f8fa6ac0 in QGraphicsScene::event (this=0x63c2170, event=0x7fff3ce81a50) at graphicsview/qgraphicsscene.cpp:3458
#10 0x00000039f89c84dc in QApplicationPrivate::notify_helper (this=0xb6a100, receiver=0x63c2170, e=0x7fff3ce81a50) at kernel/qapplication.cpp:4562
#11 0x00000039f89ceaa0 in QApplication::notify (this=this@entry=0x7fff3ce82800, receiver=receiver@entry=0x63c2170, e=e@entry=0x7fff3ce81a50) at kernel/qapplication.cpp:4348
#12 0x0000003a02e415ba in KApplication::notify (this=0x7fff3ce82800, receiver=0x63c2170, event=0x7fff3ce81a50) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#13 0x00000039f837a26d in QCoreApplication::notifyInternal (this=0x7fff3ce82800, receiver=0x63c2170, event=event@entry=0x7fff3ce81a50) at kernel/qcoreapplication.cpp:949
#14 0x00000039f89c6e76 in sendSpontaneousEvent (event=event@entry=0x7fff3ce81a50, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:234
#15 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fff3ce81a50) at kernel/qapplication.cpp:5560
#16 0x00000039f8fbd7e7 in QGraphicsView::mouseReleaseEvent (this=0x63c1990, event=0x7fff3ce81fb0) at graphicsview/qgraphicsview.cpp:3338
#17 0x00000039f8a17b1e in QWidget::event (this=this@entry=0x63c1990, event=event@entry=0x7fff3ce81fb0) at kernel/qwidget.cpp:8376
#18 0x00000039f8db3cde in QFrame::event (this=0x63c1990, e=0x7fff3ce81fb0) at widgets/qframe.cpp:557
#19 0x00000039f8fbe209 in QGraphicsView::viewportEvent (this=0x63c1990, event=0x7fff3ce81fb0) at graphicsview/qgraphicsview.cpp:2866
#20 0x00000039f837a3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x63af3f0, event=0x7fff3ce81fb0) at kernel/qcoreapplication.cpp:1059
#21 0x00000039f89c84bc in QApplicationPrivate::notify_helper (this=0xb6a100, receiver=0x63af3f0, e=0x7fff3ce81fb0) at kernel/qapplication.cpp:4558
#22 0x00000039f89cebdd in QApplication::notify (this=this@entry=0x7fff3ce82800, receiver=receiver@entry=0x63af3f0, e=e@entry=0x7fff3ce81fb0) at kernel/qapplication.cpp:4105
#23 0x0000003a02e415ba in KApplication::notify (this=0x7fff3ce82800, receiver=0x63af3f0, event=0x7fff3ce81fb0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#24 0x00000039f837a26d in QCoreApplication::notifyInternal (this=0x7fff3ce82800, receiver=0x63af3f0, event=0x7fff3ce81fb0) at kernel/qcoreapplication.cpp:949
#25 0x00000039f89ce393 in QApplicationPrivate::sendMouseEvent (receiver=0x63af3f0, event=0x7fff3ce81fb0, alienWidget=0x63af3f0, nativeWidget=0x63c1990, buttonDown=0x39f94a3258 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#26 0x00000039f8a3f92b in QETWidget::translateMouseEvent (this=0x63c1990, event=<optimized out>) at kernel/qapplication_x11.cpp:4538
#27 0x00000039f8a3e39c in QApplication::x11ProcessEvent (this=0x7fff3ce82800, event=event@entry=0x7fff3ce82320) at kernel/qapplication_x11.cpp:3661
#28 0x00000039f8a64e54 in x11EventSourceDispatch (s=s@entry=0xb6eb20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x00000039f2a47e06 in g_main_dispatch (context=0xb6dee0) at gmain.c:3054
#30 g_main_context_dispatch (context=context@entry=0xb6dee0) at gmain.c:3630
#31 0x00000039f2a48158 in g_main_context_iterate (context=context@entry=0xb6dee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#32 0x00000039f2a481fc in g_main_context_iteration (context=0xb6dee0, may_block=1) at gmain.c:3762
#33 0x00000039f83a7145 in QEventDispatcherGlib::processEvents (this=0xb2ecc0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#34 0x00000039f8a64fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x00000039f8378ecf in QEventLoop::processEvents (this=this@entry=0x7fff3ce82700, flags=...) at kernel/qeventloop.cpp:149
#36 0x00000039f83791c5 in QEventLoop::exec (this=this@entry=0x7fff3ce82700, flags=...) at kernel/qeventloop.cpp:204
#37 0x00000039f837e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x00000039f89c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#39 0x0000000000403750 in main (argc=1, argv=0x7fff3ce82948) at /usr/src/debug/kdepim-4.10.5/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:27:51 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 2 Denis Kurz 2017-01-07 22:27:58 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.