Bug 265498 - kontact crash on quit
Summary: kontact crash on quit
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 11:27 UTC by tim blechmann
Modified: 2014-02-13 02:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (16.53 KB, text/plain)
2012-10-02 07:04 UTC, Brallan Aguilar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim blechmann 2011-02-05 11:27:01 UTC
Application: kontact (4.4.9)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.38-rc3+ x86_64
Distribution: Ubuntu 10.10

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

after hitting `send', the mail is not sent, but remains in the outbox. when i quit kontact, it crashes with attached backtrace

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fb57ef7a700 (LWP 2899)):
#0  0x00000035556da203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003733444009 in ?? () from /lib/libglib-2.0.so.0
#2  0x000000373344445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0000003733d951e6 in QEventDispatcherGlib::processEvents (this=0x387ba70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x0000003733d67a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x0000003733d67dec in QEventLoop::exec (this=0x7fb57ef79d90, flags=) at kernel/qeventloop.cpp:201
#6  0x0000003733c722fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x0000003733d475f8 in QInotifyFileSystemWatcherEngine::run (this=0x388e070) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003733c7527e in QThreadPrivate::start (arg=0x388e070) at thread/qthread_unix.cpp:266
#9  0x0000003555e07971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00000035556e692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb580535700 (LWP 9309)):
#0  0x00000035556da203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003733444009 in ?? () from /lib/libglib-2.0.so.0
#2  0x000000373344445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0000003733d951e6 in QEventDispatcherGlib::processEvents (this=0x2e817b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x0000003733d67a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x0000003733d67dec in QEventLoop::exec (this=0x7fb580534d90, flags=) at kernel/qeventloop.cpp:201
#6  0x0000003733c722fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x0000003733d475f8 in QInotifyFileSystemWatcherEngine::run (this=0x3bcef60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003733c7527e in QThreadPrivate::start (arg=0x3bcef60) at thread/qthread_unix.cpp:266
#9  0x0000003555e07971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00000035556e692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb58c299780 (LWP 2689)):
[KCrash Handler]
#6  0x0000003733d82469 in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#7  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#8  QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:963
#9  0x00007fb58b624cc7 in Oxygen::Animation::~Animation (this=0x325ce90, __in_chrg=<value optimized out>) at ../../../libs/oxygen/oxygenanimation.h:55
#10 0x0000003733d7ad5f in QObjectPrivate::deleteChildren (this=0x52b0150) at kernel/qobject.cpp:1957
#11 0x0000003733d8241b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#12 0x00007fb58b88dede in ~AnimationData (this=0x7164020, __in_chrg=<value optimized out>) at ../../../kstyles/oxygen/animations/oxygenanimationdata.h:59
#13 ~GenericData (this=0x7164020, __in_chrg=<value optimized out>) at ../../../kstyles/oxygen/animations/oxygengenericdata.h:55
#14 ~WidgetStateData (this=0x7164020, __in_chrg=<value optimized out>) at ../../../kstyles/oxygen/animations/oxygenwidgetstatedata.h:51
#15 Oxygen::EnableData::~EnableData (this=0x7164020, __in_chrg=<value optimized out>) at ../../../kstyles/oxygen/animations/oxygenenabledata.h:50
#16 0x0000003733d7ac08 in QObject::event (this=0x7164020, e=0x0) at kernel/qobject.cpp:1202
#17 0x00000033d9fb7fdc in QApplicationPrivate::notify_helper (this=0x1389450, receiver=0x7164020, e=0x62bdfc0) at kernel/qapplication.cpp:4396
#18 0x00000033d9fbdaed in QApplication::notify (this=0x7fffac9c2e90, receiver=0x7164020, e=0x62bdfc0) at kernel/qapplication.cpp:4277
#19 0x00000033db65fa36 in KApplication::notify (this=0x7fffac9c2e90, receiver=0x7164020, event=0x62bdfc0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x0000003733d68cdc in QCoreApplication::notifyInternal (this=0x7fffac9c2e90, receiver=0x7164020, event=0x62bdfc0) at kernel/qcoreapplication.cpp:732
#21 0x0000003733d6bc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x135c380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x135c380) at kernel/qcoreapplication.cpp:1373
#23 0x0000003733d95653 in sendPostedEvents (s=0x139c100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x139c100) at kernel/qeventdispatcher_glib.cpp:277
#25 0x0000003733440342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00000037334442a8 in ?? () from /lib/libglib-2.0.so.0
#27 0x000000373344445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0000003733d95193 in QEventDispatcherGlib::processEvents (this=0x135be90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#29 0x00000033da06aa4e in QGuiEventDispatcherGlib::processEvents (this=0x325ce90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x0000003733d67a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x0000003733d67dec in QEventLoop::exec (this=0x7fffac9c0cb0, flags=) at kernel/qeventloop.cpp:201
#32 0x00000033db6ebdb4 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#33 0x00000033e402735d in MailTransport::TransportManager::wallet (this=0x19a89c0) at ../../mailtransport/transportmanager.cpp:602
#34 0x00000033e40232dd in MailTransport::Transport::readPassword (this=0x6197f80) at ../../mailtransport/transport.cpp:305
#35 0x00000033e4023812 in MailTransport::Transport::password (this=<value optimized out>) at ../../mailtransport/transport.cpp:82
#36 0x00000033e40322e5 in MailTransport::SmtpJob::startSmtpJob (this=0x6319d90) at ../../mailtransport/smtpjob.cpp:168
#37 0x00000033e4033927 in MailTransport::SmtpJob::doStart (this=0x6319d90) at ../../mailtransport/smtpjob.cpp:129
#38 0x00000033e402f9ec in MailTransport::TransportJob::start (this=0x6319d90) at ../../mailtransport/transportjob.cpp:129
#39 0x00000033e641b38c in KMSender::doSendMsg (this=0x1adb080) at ../../kmail/kmsender.cpp:607
#40 0x00000033e641ca79 in KMSender::doSendQueued (this=0x1adb080, customTransport=...) at ../../kmail/kmsender.cpp:243
#41 0x00000033e6418e7f in sendQueued (this=0x1adb080, aMsg=0x325ce90, sendNow=<value optimized out>) at ../../kmail/messagesender.h:77
#42 KMSender::doSend (this=0x1adb080, aMsg=0x325ce90, sendNow=<value optimized out>) at ../../kmail/kmsender.cpp:193
#43 0x00000033e63952dd in send (this=0x6d3ba20, sentOk=<value optimized out>) at ../../kmail/messagesender.h:65
#44 KMComposeWin::slotContinueDoSend (this=0x6d3ba20, sentOk=<value optimized out>) at ../../kmail/kmcomposewin.cpp:3715
#45 0x00000033e63b1cdb in KMComposeWin::qt_metacall (this=0x6d3ba20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffac9c2230) at ./kmcomposewin.moc:324
#46 0x0000003733d80b27 in QMetaObject::activate (sender=0x6d3ba20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x325ce90) at kernel/qobject.cpp:3280
#47 0x00000033e6388e7f in KMComposeWin::applyChangesDone (this=0x325ce90, _t1=true) at ./kmcomposewin.moc:342
#48 0x00000033e638a1e0 in KMComposeWin::slotComposerDone (this=0x6d3ba20, rc=false) at ../../kmail/kmcomposewin.cpp:2030
#49 0x00000033e63b1cc7 in KMComposeWin::qt_metacall (this=0x6d3ba20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffac9c23c0) at ./kmcomposewin.moc:323
#50 0x0000003733d80b27 in QMetaObject::activate (sender=0x6334cb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x325ce90) at kernel/qobject.cpp:3280
#51 0x00000033e662493f in MessageComposer::done (this=0x325ce90, _t1=true) at ./messagecomposer.moc:88
#52 0x00000033e6624d75 in MessageComposer::emitDone (this=0x6334cb0, ok=false) at ../../kmail/messagecomposer.cpp:417
#53 0x00000033e6624fe1 in MessageComposer::qt_metacall (this=0x6334cb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x5003090) at ./messagecomposer.moc:76
#54 0x0000003733d7abde in QObject::event (this=0x6334cb0, e=0x325ce90) at kernel/qobject.cpp:1219
#55 0x00000033d9fb7fdc in QApplicationPrivate::notify_helper (this=0x1389450, receiver=0x6334cb0, e=0x71a2f90) at kernel/qapplication.cpp:4396
#56 0x00000033d9fbdaed in QApplication::notify (this=0x7fffac9c2e90, receiver=0x6334cb0, e=0x71a2f90) at kernel/qapplication.cpp:4277
#57 0x00000033db65fa36 in KApplication::notify (this=0x7fffac9c2e90, receiver=0x6334cb0, event=0x71a2f90) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x0000003733d68cdc in QCoreApplication::notifyInternal (this=0x7fffac9c2e90, receiver=0x6334cb0, event=0x71a2f90) at kernel/qcoreapplication.cpp:732
#59 0x0000003733d6bc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x135c380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x135c380) at kernel/qcoreapplication.cpp:1373
#61 0x0000003733d95653 in sendPostedEvents (s=0x139c100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=0x139c100) at kernel/qeventdispatcher_glib.cpp:277
#63 0x0000003733440342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0x00000037334442a8 in ?? () from /lib/libglib-2.0.so.0
#65 0x000000373344445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0x0000003733d95193 in QEventDispatcherGlib::processEvents (this=0x135be90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#67 0x00000033da06aa4e in QGuiEventDispatcherGlib::processEvents (this=0x325ce90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x0000003733d67a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#69 0x0000003733d67dec in QEventLoop::exec (this=0x7fffac9c2dd0, flags=) at kernel/qeventloop.cpp:201
#70 0x0000003733d6bebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#71 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

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

Possible duplicates by query: bug 262568, bug 261776, bug 255081, bug 254668, bug 238062.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-06 14:05:27 UTC
Hugo, The backtrace looks like the one in bug 250114 (but with KDE 4.6)
Comment 2 Christophe Marin 2011-04-08 15:42:32 UTC
Is that still reproducible with 4.6.1 or 4.6.2 ?
Comment 3 tim blechmann 2011-04-08 17:55:31 UTC
haven't experienced the issue for a few days. would be ok for me to close the bug in a but maybe it is better to wait for a few days to be sure that it is really fixed
Comment 4 tim blechmann 2011-04-25 20:23:29 UTC
doesn't seem to happen as often as before, but it is still a problem in kmail 1.13.6, kde 4.6.2
Comment 5 Christophe Marin 2011-09-24 16:28:19 UTC
KMail 1.13.6 is now obsolete and we didn't get reports for recent KDE and or kdepim versions.

Closing this report. Feel free to reopen if you encounter the same issue with kdepim >= 4.7.1
Comment 6 Brallan Aguilar 2012-10-02 07:04:09 UTC
Created attachment 74276 [details]
New crash information added by DrKonqi

kontact (4.9.1) on KDE Platform 4.9.1 using Qt 4.8.2

- What I was doing when the application crashed: Simply I pressed CTRL + Q to close the app, finally it crashed.

-- Backtrace (Reduced):
#8  0x41a06d73 in KWallet::Wallet::openWallet (name=..., w=33554450, ot=KWallet::Wallet::Synchronous) at /usr/src/debug/kdelibs-4.9.1/kdeui/util/kwallet.cpp:496
#9  0x459da71e in MailTransport::TransportManager::wallet (this=0x97bfb28) at /usr/src/debug/kdepimlibs-4.9.1/mailtransport/transportmanager.cpp:606
#10 0x459d183d in MailTransport::Transport::readPassword (this=0x9bc2268) at /usr/src/debug/kdepimlibs-4.9.1/mailtransport/transport.cpp:314
#11 0x459d220c in qt_static_metacall (_id=0, _o=0x9bc2268, _c=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.9.1/i686-redhat-linux-gnu/mailtransport/transport.moc:48
#12 MailTransport::Transport::qt_static_metacall (_o=0x9bc2268, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xb5e8868) at /usr/src/debug/kdepimlibs-4.9.1/i686-redhat-linux-gnu/mailtransport/transport.moc:42
Comment 7 Myriam Schweingruber 2012-10-03 23:23:57 UTC
Reopening based on comment #6
Comment 8 Jekyll Wu 2014-02-13 02:45:59 UTC
(In reply to comment #7)
> Reopening based on comment #6

crash from comment #6 is irrelevant with this report.  Reclose.

@Brallan, if the crash in comment #6 is still happening to you using KDE SC 4.11.5 or higher, please create a new report.