Bug 284505

Summary: Kmail 2 crashes when I save a mail as a draft
Product: [Applications] kontact Reporter: Julien SCORDIA <julien.scordia>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: tbn
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Julien SCORDIA 2011-10-19 22:15:01 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
All is in the title.
I have no Imap account, only pop3 ones.
The bug is reproducible every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2dc30867a0 (LWP 7386))]

Thread 4 (Thread 0x7f2da94a2700 (LWP 7387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2dbf8cec2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f2dbf8ced59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f2dbaccfefc in start_thread (arg=0x7f2da94a2700) at pthread_create.c:304
#4  0x00007f2dc05dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2da8ca1700 (LWP 7388)):
#0  pthread_mutex_lock (mutex=0x7f2da40009a8) at forward.c:182
#1  0x00007f2dba202044 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dba202429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dc1a17f3e in QEventDispatcherGlib::processEvents (this=0x7f2da40008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2dc19ebcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2dc19ebef7 in QEventLoop::exec (this=0x7f2da8ca0de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2dc190327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f2dc1905d05 in QThreadPrivate::start (arg=0x82da40) at thread/qthread_unix.cpp:331
#8  0x00007f2dbaccfefc in start_thread (arg=0x7f2da8ca1700) at pthread_create.c:304
#9  0x00007f2dc05dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2d5a788700 (LWP 7391)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f2d5a787ad0 in ?? ()
#2  0x00007ffff11ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f2dc30867a0 (LWP 7386)):
[KCrash Handler]
#6  QSharedDataPointer (o=..., this=0x7ffff1156a10) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#8  0x00007f2dbd34290e in Akonadi::Entity::operator= (this=0x7ffff1156a50, other=<optimized out>) at ../../akonadi/entity.cpp:116
#9  0x00007f2d600f79e5 in operator= (this=0x7ffff1156a50) at /usr/include/akonadi/collection.h:75
#10 Message::ComposerViewBase::slotSaveMessage (this=0xf6b120, job=0x2508980) at ../../messagecomposer/composerviewbase.cpp:971
#11 0x00007f2d600c0534 in Message::ComposerViewBase::qt_metacall (this=0xf6b120, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff1156bc0) at moc_composerviewbase.cpp:112
#12 0x00007f2dc19ffeba in QMetaObject::activate (sender=0x2508980, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff1156bc0) at kernel/qobject.cpp:3278
#13 0x00007f2dc1e521d2 in KJob::result (this=<optimized out>, _t1=0x2508980) at ./kjob.moc:194
#14 0x00007f2dc1e52210 in KJob::emitResult (this=0x2508980) at ../../kdecore/jobs/kjob.cpp:312
#15 0x00007f2dbd3fff4d in Akonadi::Job::qt_metacall (this=0x2508980, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1f07900) at ./job.moc:91
#16 0x00007f2dbd37c605 in Akonadi::CollectionFetchJob::qt_metacall (this=0x2508980, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1f07900) at ./collectionfetchjob.moc:75
#17 0x00007f2dc1a03a5e in QObject::event (this=0x2508980, e=<optimized out>) at kernel/qobject.cpp:1217
#18 0x00007f2dc0d9d424 in notify_helper (e=0x24c7770, receiver=0x2508980, this=0x826ee0) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x826ee0, receiver=0x2508980, e=0x24c7770) at kernel/qapplication.cpp:4458
#20 0x00007f2dc0da2291 in QApplication::notify (this=0x7ffff1157430, receiver=0x2508980, e=0x24c7770) at kernel/qapplication.cpp:4365
#21 0x00007f2dc24221e6 in KApplication::notify (this=0x7ffff1157430, receiver=0x2508980, event=0x24c7770) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f2dc19ecafc in QCoreApplication::notifyInternal (this=0x7ffff1157430, receiver=0x2508980, event=0x24c7770) at kernel/qcoreapplication.cpp:787
#23 0x00007f2dc19f051f in sendEvent (event=0x24c7770, receiver=0x2508980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7fb8e0) at kernel/qcoreapplication.cpp:1428
#25 0x00007f2dc1a17a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f2dba201a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2dba202258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2dba202429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2dc1a17ed6 in QEventDispatcherGlib::processEvents (this=0x8268c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f2dc0e4507e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f2dc19ebcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f2dc19ebef7 in QEventLoop::exec (this=0x7ffff11573c0, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f2dc19f0789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#35 0x0000000000403629 in main (argc=1, argv=0x7ffff1157a58) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 283593.

Possible duplicates by query: bug 283619, bug 283593, bug 283364, bug 266358.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-21 14:26:37 UTC

*** This bug has been marked as a duplicate of bug 283593 ***
Comment 2 tbn 2012-01-08 17:48:37 UTC
Created attachment 67588 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

saving an Email as Draft. The mail was intended for a pop3 account.

-- Backtrace (Reduced):
#6  QSharedDataPointer (o=..., this=0x7fffb18e8320) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#8  0x00007fb7591e8b7e in Akonadi::Entity::operator= (this=0x7fffb18e8360, other=<optimized out>) at ../../akonadi/entity.cpp:116
#9  0x00007fb6fd8386a5 in operator= (this=0x7fffb18e8360) at /usr/include/akonadi/collection.h:75
#10 Message::ComposerViewBase::slotSaveMessage (this=0x2b63320, job=0x2467d20) at ../../messagecomposer/composerviewbase.cpp:971