Bug 354769

Summary: Kontact crashed when I set offline mode and then tried to check for new messages
Product: [Applications] kontact Reporter: RussianNeuroMancer <russianneuromancer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: auxsvr
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description RussianNeuroMancer 2015-11-03 03:34:15 UTC
Application: kontact ()

Qt Version: 5.4.2
Operating System: Linux 4.1.5-040105-generic x86_64
Distribution: Ubuntu 15.10

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

I running KMail under Kontact, select offline mode and then tried to check for new messages. Expected to get request to reconnect, but Kontact crash instead.

-- 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 0x7f404e244880 (LWP 30799))]

Thread 9 (Thread 0x7f404a20e700 (LWP 30801)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f406883848b in WTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f40690da81c <WTF::pageheap_memory+57564>) at wtf/FastMalloc.cpp:2825
#2  0x00007f40688384c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=0x7f40690da81c <WTF::pageheap_memory+57564>) at wtf/FastMalloc.cpp:1993
#3  0x00007f4063fb86aa in start_thread (arg=0x7f404a20e700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f4002bd3700 (LWP 30802)):
#0  0x00007f406337f880 in g_mutex_unlock (mutex=0x7f3ffc000990) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread-posix.c:1347
#1  0x00007f406333a1ee in g_main_context_acquire (context=0x7f3ffc000990) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3228
#2  0x00007f406333b0a5 in g_main_context_iterate (context=context@entry=0x7f3ffc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3790
#3  0x00007f406333b2fc in g_main_context_iteration (context=0x7f3ffc000990, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007f406a26029b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3ffc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f406a20675a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4002bd2d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f406a0243d4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f406a0292be in QThreadPrivate::start(void*) (arg=0x1bb8e40) at thread/qthread_unix.cpp:337
#8  0x00007f4063fb86aa in start_thread (arg=0x7f4002bd3700) at pthread_create.c:333
#9  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f3ffa0db700 (LWP 30803)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4001cefca3 in radeon_drm_cs_emit_ioctl (param=0x1c122b0) at ../../../../../../../include/c11/threads_posix.h:159
#2  0x00007f4001cef3c8 in impl_thrd_routine (p=<optimized out>) at ../../../../../../../include/c11/threads_posix.h:87
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3ffa0db700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f3ff978b700 (LWP 30804)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f40685465b4 in JSC::BlockAllocator::blockFreeingThreadMain() (this=0x7f4049967058) at heap/BlockAllocator.cpp:139
#2  0x00007f4068868341 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7f40499091b0) at wtf/ThreadingPthreads.cpp:195
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3ff978b700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f3ff8f8a700 (LWP 30805)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f40685475e3 in JSC::GCThread::gcThreadMain() (this=0x1bd1d50) at heap/GCThread.cpp:81
#2  0x00007f4068868341 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7f4049909140) at wtf/ThreadingPthreads.cpp:195
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3ff8f8a700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3ff3fff700 (LWP 30806)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f40685475e3 in JSC::GCThread::gcThreadMain() (this=0x1cca890) at heap/GCThread.cpp:81
#2  0x00007f4068868341 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7f4049909080) at wtf/ThreadingPthreads.cpp:195
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3ff3fff700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3feb7fe700 (LWP 30807)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f40685475e3 in JSC::GCThread::gcThreadMain() (this=0x1bd27f0) at heap/GCThread.cpp:81
#2  0x00007f4068868341 in WTF::ThreadSpecific<WTF::WTFThreadData>::destroy(void*) (ptr=0x7f40499093e0) at wtf/ThreadingPthreads.cpp:195
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3feb7fe700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3fd8cdd700 (LWP 30855)):
#0  0x00007f4063fbdda0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3ff1e71114 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f3ff1e71159 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f4063fb86aa in start_thread (arg=0x7f3fd8cdd700) at pthread_create.c:333
#4  0x00007f406972aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f404e244880 (LWP 30799)):
[KCrash Handler]
#6  0x00007f405ca73c84 in KNotification::flags() const (this=this@entry=0x1a4eaf0) at ../../src/knotification.cpp:233
#7  0x00007f405ca91af7 in NotifyByAudio::onAudioFinished() (this=0x62ede50) at ../../src/notifybyaudio.cpp:140
#8  0x00007f405ca980a5 in NotifyByAudio::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x62ede50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffe0bbfe110) at moc_notifybyaudio.cpp:82
#9  0x00007f406a23978a in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7d9f090, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3717
#10 0x00007f405bfae3ad in  () at /usr/lib/x86_64-linux-gnu/libphonon4qt5.so.4
#11 0x00007f406a23a651 in QObject::event(QEvent*) (this=0x7d9f090, e=<optimized out>) at kernel/qobject.cpp:1245
#12 0x00007f406aad6b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1a2e600, receiver=receiver@entry=0x7d9f090, e=e@entry=0x6d44e50) at kernel/qapplication.cpp:3720
#13 0x00007f406aadc230 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe0bbfe940, receiver=0x7d9f090, e=0x6d44e50) at kernel/qapplication.cpp:3503
#14 0x00007f406a208f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe0bbfe940, receiver=0x7d9f090, event=event@entry=0x6d44e50) at kernel/qcoreapplication.cpp:935
#15 0x00007f406a20b057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x6d44e50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#16 0x00007f406a20b057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a01a90) at kernel/qcoreapplication.cpp:1552
#17 0x00007f406a20b588 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#18 0x00007f406a25fe73 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1a83470) at kernel/qeventdispatcher_glib.cpp:271
#19 0x00007f406333aff7 in g_main_context_dispatch (context=0x7f40440016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
#20 0x00007f406333aff7 in g_main_context_dispatch (context=context@entry=0x7f40440016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#21 0x00007f406333b250 in g_main_context_iterate (context=context@entry=0x7f40440016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840
#22 0x00007f406333b2fc in g_main_context_iteration (context=0x7f40440016f0, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#23 0x00007f406a26027f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1a83450, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#24 0x00007f406a20675a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe0bbfe6b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#25 0x00007f406a20e2cc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#26 0x00007f406a52300c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1510
#27 0x00007f406aad3025 in QApplication::exec() () at kernel/qapplication.cpp:2956
#28 0x0000000000404af1 in main(int, char**) (argc=1, argv=0x7ffe0bbfea98) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 354518, bug 354451, bug 353597, bug 351073, bug 351019.

Reported using DrKonqi
Comment 1 auxsvr 2015-12-17 06:10:28 UTC
Same here on openSUSE Leap 42.1 with kontact5-15.08.3.
Comment 2 Christoph Feck 2016-04-06 23:51:35 UTC

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