Bug 342655 - Kmail (git master) crashes when trying to reply to a message
Summary: Kmail (git master) crashes when trying to reply to a message
Status: CLOSED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-09 10:53 UTC by Raymond Wooninck
Modified: 2015-06-11 07:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Wooninck 2015-01-09 10:53:08 UTC
Application: kmail (4.73 pre)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-rc2-5.g7a4dbf7-desktop x86_64
Distribution: "openSUSE 20150106 (Tumbleweed) (x86_64)"

-- Information about the crash:
KMail crashes when replying to a message. It does not make any difference which reply function is being used. All of them causes the crash

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f1034f68700 (LWP 9368)):
#0  0x00007f105725e4ad in poll () at /lib64/libc.so.6
#1  0x00007f1044048322 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f1044049def in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f1036c87bb9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f1057ae594f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f102da0c700 (LWP 9376)):
#0  0x00007f105725e4ad in poll () at /lib64/libc.so.6
#1  0x00007f104c762be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f104c762cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1057d171fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1057cbdd9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1057ae0d1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1057ae594f in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f102cb84700 (LWP 9392)):
#0  0x00007f104cc8285f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1048c154d3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f1048c154f9 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f0febc79700 (LWP 9404)):
#0  0x00007f104cc8285f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1048920d7d in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f1048c43de1 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f0feb459700 (LWP 9405)):
#0  0x00007f104cc8285f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1048921d53 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f1048c43de1 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f0feac58700 (LWP 9406)):
#0  0x00007f104cc8285f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1048921d53 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f1048c43de1 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f0fea457700 (LWP 9407)):
#0  0x00007f104cc8285f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1048921d53 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f1048c43de1 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f104cc7e3a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1057266a4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1059f2b800 (LWP 9367)):
[KCrash Handler]
#5  0x00007f105941194b in KLocale::formatDate(QDate const&, KLocale::DateFormat) const () at /usr/lib64/libKF5KDELibs4Support.so.5
#6  0x00007f1055c4103d in TemplateParser::TemplateParser::processWithTemplate(QString const&) (this=0x7fff16bd2970, tmpl=...) at /usr/src/debug/kdepim-4.99.40/templateparser/templateparser.cpp:1040
#7  0x00007f1055c33214 in TemplateParser::TemplateParser::process(boost::shared_ptr<KMime::Message> const&, Akonadi::Collection const&) (this=this@entry=0x7fff16bd2970, aorig_msg=..., afolder=...) at /usr/src/debug/kdepim-4.99.40/templateparser/templateparser.cpp:273
#8  0x00007f105614eddf in MessageComposer::MessageFactory::createReply() (this=this@entry=0x7fff16bd2ae0) at /usr/src/debug/kdepim-4.99.40/messagecomposer/helper/messagefactory.cpp:318
#9  0x00007f1059a1c204 in KMReplyCommand::execute() (this=0x276d5c70) at /usr/src/debug/kdepim-4.99.40/kmail/kmcommands.cpp:845
#10 0x00007f1059a14e11 in KMCommand::slotPostTransfer(KMCommand::Result) (this=0x276d5c70, result=KMCommand::OK) at /usr/src/debug/kdepim-4.99.40/kmail/kmcommands.cpp:261
#11 0x00007f1057cef13f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#12 0x00007f1059b30e4e in KMCommand::messagesTransfered(KMCommand::Result) (this=this@entry=0x276d5c70, _t1=_t1@entry=KMCommand::OK) at /usr/src/debug/kdepim-4.99.40/build/kmail/moc_kmcommands.cpp:185
#13 0x00007f1059a17a28 in KMCommand::slotJobFinished() (this=0x276d5c70) at /usr/src/debug/kdepim-4.99.40/kmail/kmcommands.cpp:370
#14 0x00007f1057cef13f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f104fcefff2 in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib64/libKF5CoreAddons.so.5
#16 0x00007f104fcf082c in KJob::emitResult() () at /usr/lib64/libKF5CoreAddons.so.5
#17 0x00007f1052bf93a9 in  () at /usr/lib64/libKF5AkonadiCore.so.5
#18 0x00007f1057cf04c6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f1058baeb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f1058bb3bc0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f1057cbfe45 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f1057cc1cdf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f1057d17d63 in  () at /usr/lib64/libQt5Core.so.5
#24 0x00007f104c762a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f104c762c48 in  () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f104c762cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f1057d171dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f1057cbdd9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f1057cc5426 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#30 0x0000000000403642 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.99.40/kmail/main.cpp:155

Reported using DrKonqi
Comment 1 Laurent Montel 2015-06-11 06:46:14 UTC
REopen if you still have this bug.
I can't reproduce with last version
Comment 2 Raymond Wooninck 2015-06-11 07:22:42 UTC
Me neither :)  I wasn't even aware anymore that I opened a bug report for it.  

Kmail at the moment is in a good shape and working perfectly.