Bug 336605 - Kmail (in kontact and alone) crashed on opening after trying to send email
Summary: Kmail (in kontact and alone) crashed on opening after trying to send email
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-23 08:39 UTC by Martin Tlustos
Modified: 2014-07-01 06:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tlustos 2014-06-23 08:39:32 UTC
Application: kmail (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I answered an email and sent it, then (first kontact) kmail crashed. When trying to reopen it, it kept crashing.
Konsole error messages: 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
*** KMail got signal 11 (Exiting)
kmail2(9937) MessageComposer::AttachmentJob::doStart: No charset specified. Using UTF-8. 
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/martin/.kde/socket-martin-W65-67SZ/kdeinit4__0
unnamed app(9936): Communication problem with  "kmail2" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fedb36b1700 (LWP 9942)):
#0  0x00007fedd9e456bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fedd1f18c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fedd1ed7b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fedd1ed7f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fedd1ed80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fedda7e37be in QEventDispatcherGlib::processEvents (this=0x7fedac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fedda7b50af in QEventLoop::processEvents (this=this@entry=0x7fedb36b0da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fedda7b53a5 in QEventLoop::exec (this=this@entry=0x7fedb36b0da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fedda6b1c5f in QThread::exec (this=this@entry=0x3191300) at thread/qthread.cpp:537
#9  0x00007fedda796823 in QInotifyFileSystemWatcherEngine::run (this=0x3191300) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fedda6b432f in QThreadPrivate::start (arg=0x3191300) at thread/qthread_unix.cpp:349
#11 0x00007fedd7715182 in start_thread (arg=0x7fedb36b1700) at pthread_create.c:312
#12 0x00007fedd9e5430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7feddcaeb800 (LWP 9937)):
[KCrash Handler]
#6  QTimer::start (this=0x7fffffff7fffffff) at kernel/qtimer.cpp:215
#7  0x00007feddb94baf1 in KMComposeWin::slotCloseAttachMissingFile (this=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:3524
#8  0x00007feddb98447d in KMComposeWin::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_kmcomposewin.cpp:302
#9  0x00007fedda7ca87a in QMetaObject::activate (sender=0x3bf3a40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#10 0x00007fedda7ca87a in QMetaObject::activate (sender=sender@entry=0x356cd70, m=m@entry=0x7fedd6240100 <MessageComposer::AttachmentControllerBase::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#11 0x00007fedd5f89bf3 in MessageComposer::AttachmentControllerBase::fileAttached (this=this@entry=0x356cd70) at ./moc_attachmentcontrollerbase.cpp:245
#12 0x00007fedd5f89ce0 in MessageComposer::AttachmentControllerBase::addAttachment (this=0x356cd70, part=...) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:813
#13 0x00007fedd5faa9c3 in MessageComposer::ComposerViewBase::addAttachmentPart (this=this@entry=0x2ae7fe0, partToAttach=<optimized out>) at ../../messagecomposer/composer/composerviewbase.cpp:1215
#14 0x00007fedd5fba5e3 in MessageComposer::ComposerViewBase::setMessage (this=0x2ae7fe0, msg=...) at ../../messagecomposer/composer/composerviewbase.cpp:176
#15 0x00007feddb95a6f8 in KMComposeWin::setMessage (this=0x29afe50, newMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, mayAutoSign=<optimized out>, allowDecryption=<optimized out>, isModified=false) at ../../kmail/editor/kmcomposewin.cpp:1600
#16 0x00007feddb886c4f in KMKernel::recoverDeadLetters (this=this@entry=0x7fffffd2bee0) at ../../kmail/kmkernel.cpp:1132
#17 0x0000000000402ceb in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:136

Reported using DrKonqi
Comment 1 Martin Tlustos 2014-06-23 09:42:46 UTC
after removing /.kde/share/config/kmail2rc it worked again. Still I wonder how it happened since I didn't change anything...
Comment 2 Laurent Montel 2014-07-01 06:20:32 UTC
Fixed in 4.13.3