Bug 266177

Summary: Kontact (kmail) crashed when replying to email in IMAP folder
Product: [Applications] kontact Reporter: Chris Samuel <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Chris Samuel 2011-02-13 01:39:04 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.37-020637-generic x86_64
Distribution: Ubuntu 10.10

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

Replying to an email in an IMAP folder, when I hit send I got the segmentation fault.

I'm also getting crashes on exit, but I don't have a backtrace to hand to compare with this (will try and reproduce).

I've selected an existing bug as a potential duplicate, the stack trace looks very similar but I'm not completely convinced it's the same issue.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7fad5ae3c700 (LWP 4977)):
#0  0x00007fad7e5d42c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fad7ed1076e in qt_safe_select (nfds=29, fdread=0xaa62a0, fdwrite=0xaa6538, fdexcept=0xaa67d0, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007fad7ed15beb in QEventDispatcherUNIXPrivate::doSelect (this=0xaa60e0, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007fad7ed1681b in QEventDispatcherUNIX::processEvents (this=0x2a2c780, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007fad7ece5a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fad7ece5dec in QEventLoop::exec (this=0x7fad5ae3bd90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fad7ebf02fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fad7ecc55f8 in QInotifyFileSystemWatcherEngine::run (this=0x2341ff0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fad7ebf327e in QThreadPrivate::start (arg=0x2341ff0) at thread/qthread_unix.cpp:266
#9  0x00007fad7810d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fad7e5db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fad81656780 (LWP 4974)):
[KCrash Handler]
#6  0x00007fad62d69181 in c_str (aDwBodyPart=0x32a3570, aPart=0x78c5488, withBody=true) at ../../mimelib/mimelib/string.h:618
#7  partId (aDwBodyPart=0x32a3570, aPart=0x78c5488, withBody=true) at ../../mimelib/mimelib/msgcmp.h:259
#8  KMMessage::bodyPart (aDwBodyPart=0x32a3570, aPart=0x78c5488, withBody=true) at ../../kmail/kmmessage.cpp:2677
#9  0x00007fad63090701 in msgPart (this=<value optimized out>, url=..., w=<value optimized out>) at ../../kmail/partNode.h:103
#10 (anonymous namespace)::AttachmentURLHandler::statusBarMessage (this=<value optimized out>, url=..., w=<value optimized out>) at ../../kmail/urlhandlermanager.cpp:688
#11 0x00007fad6308f1d4 in KMail::URLHandlerManager::statusBarMessage (this=0x152a7c0, url=..., w=0x1443240) at ../../kmail/urlhandlermanager.cpp:355
#12 0x00007fad62e57a54 in KMReaderWin::slotUrlOn (this=0x1443240, aUrl=<value optimized out>) at ../../kmail/kmreaderwin.cpp:1966
#13 0x00007fad62e59a7e in KMReaderWin::qt_metacall (this=0x1443240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc4c18760) at ./kmreaderwin.moc:189
#14 0x00007fad7ecfeb27 in QMetaObject::activate (sender=0x1452bf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1010e90) at kernel/qobject.cpp:3280
#15 0x00007fad7daf8da2 in KHTMLPart::onURL (this=0x7fad7e873e40, _t1=<value optimized out>) at ./khtml_part.moc:408
#16 0x00007fad7db1c0c3 in KHTMLPart::overURL (this=0x1452bf0, url=..., target=...) at ../../khtml/khtml_part.cpp:3508
#17 0x00007fad7db1e193 in KHTMLPart::handleMouseMoveEventOver (this=0x1452bf0, event=<value optimized out>) at ../../khtml/khtml_part.cpp:6478
#18 0x00007fad7db1e56b in KHTMLPart::khtmlMouseMoveEvent (this=0x1452bf0, event=0x7fffc4c19b70) at ../../khtml/khtml_part.cpp:6526
#19 0x00007fad7ecf8c3c in QObject::event (this=0x1452bf0, e=<value optimized out>) at kernel/qobject.cpp:1250
#20 0x00007fad7f6c8fdc in QApplicationPrivate::notify_helper (this=0x9901e0, receiver=0x1452bf0, e=0x7fffc4c19b70) at kernel/qapplication.cpp:4396
#21 0x00007fad7f6ceaed in QApplication::notify (this=0x7fffc4c1b590, receiver=0x1452bf0, e=0x7fffc4c19b70) at kernel/qapplication.cpp:4277
#22 0x00007fad80458a36 in KApplication::notify (this=0x7fffc4c1b590, receiver=0x1452bf0, event=0x7fffc4c19b70) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fad7ece6cdc in QCoreApplication::notifyInternal (this=0x7fffc4c1b590, receiver=0x1452bf0, event=0x7fffc4c19b70) at kernel/qcoreapplication.cpp:732
#24 0x00007fad7daf1ca2 in sendEvent (this=0x1454520, _mouse=<value optimized out>) at /usr/include/qt4/QtCore/qcoreapplication.h:215
#25 KHTMLView::mouseMoveEvent (this=0x1454520, _mouse=<value optimized out>) at ../../khtml/khtmlview.cpp:1539
#26 0x00007fad7f71ecab in QWidget::event (this=0x1454520, event=0x7fffc4c1aa20) at kernel/qwidget.cpp:8172
#27 0x00007fad7faea5e6 in QFrame::event (this=0x1454520, e=0x7fffc4c1aa20) at widgets/qframe.cpp:557
#28 0x00007fad7daeef25 in KHTMLView::widgetEvent (this=0x1454520, e=0x0) at ../../khtml/khtmlview.cpp:2208
#29 0x00007fad7daef22f in KHTMLView::eventFilter (this=0x1454520, o=0x1457850, e=0x7fffc4c1aa20) at ../../khtml/khtmlview.cpp:2053
#30 0x00007fad7ece6507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1457850, event=0x7fffc4c1aa20) at kernel/qcoreapplication.cpp:847
#31 0x00007fad7f6c8fac in QApplicationPrivate::notify_helper (this=0x9901e0, receiver=0x1457850, e=0x7fffc4c1aa20) at kernel/qapplication.cpp:4392
#32 0x00007fad7f6cf30e in QApplication::notify (this=0x7fffc4c1b590, receiver=0x1457850, e=0x7fffc4c1aa20) at kernel/qapplication.cpp:3959
#33 0x00007fad80458a36 in KApplication::notify (this=0x7fffc4c1b590, receiver=0x1457850, event=0x7fffc4c1aa20) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fad7ece6cdc in QCoreApplication::notifyInternal (this=0x7fffc4c1b590, receiver=0x1457850, event=0x7fffc4c1aa20) at kernel/qcoreapplication.cpp:732
#35 0x00007fad7f6cddbe in sendEvent (receiver=0x1457850, event=0x7fffc4c1aa20, alienWidget=0x1457850, nativeWidget=0x1443b10, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x1457850, event=0x7fffc4c1aa20, alienWidget=0x1457850, nativeWidget=0x1443b10, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#37 0x00007fad7f751345 in QETWidget::translateMouseEvent (this=0x1443b10, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#38 0x00007fad7f74fc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc4c1b350) at kernel/qapplication_x11.cpp:3536
#39 0x00007fad7f77cb6f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132
#40 0x00007fad7ece5a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007fad7ece5dec in QEventLoop::exec (this=0x7fffc4c1b4d0, flags=) at kernel/qeventloop.cpp:201
#42 0x00007fad7ece9ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 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 251390.

Possible duplicates by query: bug 266084, bug 258213, bug 251390, bug 247275, bug 244067.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-14 10:52:25 UTC

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