Bug 404237

Summary: kmail crashed, and afterwards crashes on start
Product: [Applications] kmail2 Reporter: Weidner-Kim
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: Weidner-Kim
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Weidner-Kim 2019-02-12 13:15:35 UTC
Application: kmail (5.10.1)

Qt Version: 5.12.0
Frameworks Version: 5.54.0
Operating System: Linux 4.20.6-1-pae i686
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Because I did not activate my debuginfo repository, I couldn't report earlier. Now that I have found out, some information will be lost (gone from memory).

- What I was doing when the application crashed:
Generally, configuring kmail on an new Tumbleweed System
Shortly before the first crash (while kmail was running), I had tried to configure Virus scanning in kmail, but since I forgot to install a virus scanner had to abolish. Closed the window instead of pressing the "finish" button.

Immediately before the first crash I was adding and removing local Maildirs.

Several attempts to start kmail were partly after a system restart, partly later while doing other things.

- What I did after the first crash
Because I thought the error might be in a "crashed" configuration, I deinstalled kmail, deleted some configuratiuion files and installed again, it didn't help.

- Unusual behavior I noticed:
When trying to restart kmail, and listening to internetradio simultaneously, the sound got broken.

----

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xa5cbfe40 (LWP 3330))]

Thread 8 (Thread 0x999d8b40 (LWP 3337)):
#0  0xb32c3831 in g_poll (fds=0x217dbe0, nfds=1, timeout=-1) at gpoll.c:124
#1  0xb32b4203 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x217dbe0, timeout=<optimized out>, context=0xa35057c0) at gmain.c:4221
#2  g_main_context_iterate (context=context@entry=0xa35057c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
#3  0xb32b4344 in g_main_context_iteration (context=0xa35057c0, may_block=1) at gmain.c:3981
#4  0xb6a9bb8c in QEventDispatcherGlib::processEvents (this=0xa3506400, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb6a3f1f7 in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0xb68856c9 in QThread::exec (this=0x2132b30) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0xb68857b8 in QThread::run (this=0x2132b30) at thread/qthread.cpp:598
#8  0xb6886d0a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:361
#9  0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#10 0xb6561a66 in clone () from /lib/libc.so.6

Thread 7 (Thread 0x9a1d9b40 (LWP 3336)):
#0  0xb7f60a81 in __kernel_vsyscall ()
#1  0xb654f92b in read () from /lib/libc.so.6
#2  0xb32fbb85 in read (__nbytes=16, __buf=0x9a1d8eec, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x9bf03148) at gwakeup.c:210
#4  0xb32b3caf in g_main_context_check (context=0x9ca00790, max_priority=2147483647, fds=0x21213f0, n_fds=1) at gmain.c:3698
#5  0xb32b41a5 in g_main_context_iterate (context=context@entry=0x9ca00790, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3917
#6  0xb32b4344 in g_main_context_iteration (context=0x9ca00790, may_block=1) at gmain.c:3981
#7  0xb6a9bb8c in QEventDispatcherGlib::processEvents (this=0x9ca00720, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0xb6a3f1f7 in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0xb68856c9 in QThread::exec (this=0x216b4b0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0xb68857b8 in QThread::run (this=0x216b4b0) at thread/qthread.cpp:598
#11 0xb6886d0a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:361
#12 0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#13 0xb6561a66 in clone () from /lib/libc.so.6

Thread 6 (Thread 0x9aab4b40 (LWP 3335)):
#0  0xb7f60a81 in __kernel_vsyscall ()
#1  0xb654f92b in read () from /lib/libc.so.6
#2  0xb32fbb85 in read (__nbytes=16, __buf=0x9aab3eec, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x20a5050) at gwakeup.c:210
#4  0xb32b3caf in g_main_context_check (context=0x9bf00790, max_priority=2147483647, fds=0x9bf048f0, n_fds=1) at gmain.c:3698
#5  0xb32b41a5 in g_main_context_iterate (context=context@entry=0x9bf00790, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3917
#6  0xb32b4344 in g_main_context_iteration (context=0x9bf00790, may_block=1) at gmain.c:3981
#7  0xb6a9bb8c in QEventDispatcherGlib::processEvents (this=0x9bf00720, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0xb6a3f1f7 in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0xb68856c9 in QThread::exec (this=0x210d770) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0xb68857b8 in QThread::run (this=0x210d770) at thread/qthread.cpp:598
#11 0xb6886d0a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:361
#12 0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#13 0xb6561a66 in clone () from /lib/libc.so.6

Thread 5 (Thread 0x9bce5b40 (LWP 3334)):
#0  0xb6a9c150 in postEventSourcePrepare (timeout=0x0, s=0x20a1880) at kernel/qeventdispatcher_glib.cpp:253
#1  postEventSourceCheck (source=0x20a1880) at kernel/qeventdispatcher_glib.cpp:269
#2  0xb32b3bb2 in g_main_context_check (context=0x20a2d00, max_priority=2147483647, fds=0x217a360, n_fds=1) at gmain.c:3753
#3  0xb32b41a5 in g_main_context_iterate (context=context@entry=0x20a2d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3917
#4  0xb32b4344 in g_main_context_iteration (context=0x20a2d00, may_block=1) at gmain.c:3981
#5  0xb6a9bb8c in QEventDispatcherGlib::processEvents (this=0x20a1d00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6a3f1f7 in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0xb68856c9 in QThread::exec (this=0xb60556e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0xb5fb76ac in QDBusConnectionManager::run (this=0xb60556e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0xb6886d0a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:361
#10 0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#11 0xb6561a66 in clone () from /lib/libc.so.6

Thread 4 (Thread 0x9c8beb40 (LWP 3333)):
#0  0xb7f60a81 in __kernel_vsyscall ()
#1  0xb3cb8362 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xa2574d52 in cnd_wait (mtx=0x1f98708, cond=0x1f98720) at ../../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=<optimized out>) at u_queue.c:270
#4  0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#5  0xb6561a66 in clone () from /lib/libc.so.6

Thread 3 (Thread 0x9d3c0b40 (LWP 3332)):
#0  0xb7f60a81 in __kernel_vsyscall ()
#1  0xb3cb8362 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xa2574d52 in cnd_wait (mtx=0x1f980b0, cond=0x1f980c8) at ../../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=<optimized out>) at u_queue.c:270
#4  0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#5  0xb6561a66 in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa3e4eb40 (LWP 3331)):
#0  0xb7f60a81 in __kernel_vsyscall ()
#1  0xb655708b in poll () from /lib/libc.so.6
#2  0xb3063d6d in poll (__timeout=-1, __nfds=1, __fds=0xa3e4e00c) at /usr/include/bits/poll2.h:46
#3  _xcb_conn_wait (c=0x1e86330, cond=0x1e86354, vector=0x0, count=0x0) at xcb_conn.c:479
#4  0xb3065f23 in xcb_wait_for_event (c=0x1e86330) at xcb_in.c:697
#5  0xa3fe4f1f in QXcbEventQueue::run (this=<optimized out>) at qxcbeventqueue.cpp:225
#6  0xb6886d0a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:361
#7  0xb3cb1f47 in start_thread () from /lib/libpthread.so.0
#8  0xb6561a66 in clone () from /lib/libc.so.6

Thread 1 (Thread 0xa5cbfe40 (LWP 3330)):
[KCrash Handler]
#7  0xb6a6e12a in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#8  QObject::d_func (this=0x0) at kernel/qobject.h:121
#9  QObject::property (this=0x0, name=0xb638f156 "_k_DefaultShortcut") at kernel/qobject.cpp:3944
#10 0xb6357112 in KXMLGUIFactoryPrivate::refreshActionProperties (this=<optimized out>, client=<optimized out>, actions=..., doc=...) at /usr/src/debug/kxmlgui-5.54.0-1.2.i386/src/kxmlguifactory.cpp:354
#11 0xb63581b8 in KXMLGUIFactory::plugActionList (this=0x32bd720, client=0x20db064, name=..., actionList=...) at /usr/src/debug/kxmlgui-5.54.0-1.2.i386/src/kxmlguifactory.cpp:578
#12 0xb634ad57 in KXMLGUIClient::plugActionList (this=0x20db064, name=..., actionList=...) at /usr/include/c++/8/bits/atomic_base.h:390
#13 0xb7e11818 in KMComposerWin::initializePluginActions (this=0x20daed0) at /usr/include/qt5/QtCore/qhash.h:388
#14 0xb7e177c6 in KMComposerWin::setupActions (this=<optimized out>) at /usr/src/debug/kmail-18.12.1-1.2.i386/src/editor/kmcomposerwin.cpp:1299
#15 0xb7e2537d in KMComposerWin::KMComposerWin (this=<optimized out>, aMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=<optimized out>, id=<optimized out>, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kmail-18.12.1-1.2.i386/src/editor/kmcomposerwin.cpp:440
#16 0xb7e25cff in KMComposerWin::create (msg=..., lastSignState=false, lastEncryptState=false, context=KMail::Composer::NoTemplate, identity=0, textSelection=..., customTemplate=...) at /usr/src/debug/kmail-18.12.1-1.2.i386/src/editor/kmcomposerwin.cpp:226
#17 0xb7d1fd80 in KMKernel::recoverDeadLetters (this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:314
#18 0x004c81de in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-18.12.1-1.2.i386/src/main.cpp:163
[Inferior 1 (process 3330) detached]

Reported using DrKonqi
Comment 1 Weidner-Kim 2019-02-13 01:37:48 UTC
Created attachment 118027 [details]
New crash information added by DrKonqi

kmail (5.10.1) using Qt 5.12.0

Another crash, after deinstaling kmil and installing without "recommended" akonadi packgages.

-- Backtrace (Reduced):
#9  QObject::property (this=0x0, name=0xb6309156 "_k_DefaultShortcut") at kernel/qobject.cpp:3944
#10 0xb62d1112 in KXMLGUIFactoryPrivate::refreshActionProperties (this=<optimized out>, client=<optimized out>, actions=..., doc=...) at /usr/src/debug/kxmlgui-5.54.0-1.2.i386/src/kxmlguifactory.cpp:354
#11 0xb62d21b8 in KXMLGUIFactory::plugActionList (this=0x29f80d0, client=0x18195a4, name=..., actionList=...) at /usr/src/debug/kxmlgui-5.54.0-1.2.i386/src/kxmlguifactory.cpp:578
#12 0xb62c4d57 in KXMLGUIClient::plugActionList (this=0x18195a4, name=..., actionList=...) at /usr/include/c++/8/bits/atomic_base.h:390
#13 0xb7d8c818 in KMComposerWin::initializePluginActions (this=0x1819410) at /usr/include/qt5/QtCore/qhash.h:388
Comment 2 Christoph Feck 2019-03-09 00:52:37 UTC

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