Bug 187593

Summary: Pressing ESC while fetching mail causes a crash
Product: [Unmaintained] kmail Reporter: Stefano Crocco <stefano.crocco>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: pano_90
Priority: NOR    
Version: 1.11.90   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefano Crocco 2009-03-19 13:09:37 UTC
Version:           1.11.90 (using 4.2.67 (KDE 4.2.67 (KDE 4.3 >= 20090318)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.28-gentoo-r3

While fetching message, if I press Esc to stop the operation, KMail crashes. Using the button near the progress bar to do the same, instead, works.
Comment 1 Stefano Crocco 2009-03-19 13:11:14 UTC
Here's the backtrace for the crash:

Application: KMail (kmail), signal SIGSEGV

Thread 1 (Thread 0xb44b2700 (LWP 2757)):
[KCrash Handler]
#6  0xb72aafab in KPIM::ProgressItem::cancel (this=0x2f86c381) at /var/tmp/paludis/kde-base-libkdepim-scm/work/libkdepim/libkdepim/progressmanager.cpp:83
#7  0xb72ab360 in KPIM::ProgressManager::slotAbortAll (this=0x868bb90) at /var/tmp/paludis/kde-base-libkdepim-scm/work/libkdepim/libkdepim/progressmanager.cpp:240
#8  0xb72ab45e in KPIM::ProgressManager::qt_metacall (this=0x868bb90, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf81297c)
    at /var/tmp/paludis/kde-base-libkdepim-scm/work/libkdepim_build/libkdepim/progressmanager.moc:219
#9  0xb65e49c1 in QMetaObject::activate (sender=0x868b7a8, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xbf81297c) at kernel/qobject.cpp:3057
#10 0xb65e4cd0 in QMetaObject::activate (sender=0x868b7a8, m=0xb635c208, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf81297c) at kernel/qobject.cpp:3154
#11 0xb5cd7393 in QAction::triggered (this=0x868b7a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#12 0xb5cd8492 in QAction::activate (this=0x868b7a8, event=QAction::Trigger) at kernel/qaction.cpp:1160
#13 0xb5cda533 in QAction::event (this=0x868b7a8, e=0xbf812d84) at kernel/qaction.cpp:1079
#14 0xb7d7cb9d in KAction::event (this=0x868b7a8, event=0xbf812d84) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/actions/kaction.cpp:88
#15 0xb5cdc4db in QApplicationPrivate::notify_helper (this=0x8077900, receiver=0x868b7a8, e=0xbf812d84) at kernel/qapplication.cpp:4084
#16 0xb5ce3822 in QApplication::notify (this=0xbf813bf8, receiver=0x868b7a8, e=0xbf812d84) at kernel/qapplication.cpp:3631
#17 0xb7e55d55 in KApplication::notify (this=0xbf813bf8, receiver=0x868b7a8, event=0xbf812d84) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:307
#18 0xb65d35c2 in QCoreApplication::notifyInternal (this=0xbf813bf8, receiver=0x868b7a8, event=0xbf812d84) at kernel/qcoreapplication.cpp:598
#19 0xb5d0cc7f in QShortcutMap::dispatchEvent (this=0x80779a0, e=0xbf8130fc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 0xb5d0e75e in QShortcutMap::tryShortcutEvent (this=0x80779a0, o=0x883ce48, e=0xbf8130fc) at kernel/qshortcutmap.cpp:369
#21 0xb5ce4b3e in QApplication::notify (this=0xbf813bf8, receiver=0x883ce48, e=0xbf8130fc) at kernel/qapplication.cpp:3673
#22 0xb7e55d55 in KApplication::notify (this=0xbf813bf8, receiver=0x883ce48, event=0xbf8130fc) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:307
#23 0xb65d35c2 in QCoreApplication::notifyInternal (this=0xbf813bf8, receiver=0x883ce48, event=0xbf8130fc) at kernel/qcoreapplication.cpp:598
#24 0xb5cdd807 in qt_sendSpontaneousEvent (receiver=0x883ce48, event=0x868bb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 0xb5d5f6fd in QKeyMapper::sendKeyEvent (keyWidget=0x883ce48, grab=false, type=QEvent::KeyPress, code=16777216, modifiers={i = -1082051652}, text=@0xbf8133e8, autorepeat=<value optimized out>, 
    count=1, nativeScanCode=9, nativeVirtualKey=65307, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1675
#26 0xb5d6145e in QKeyMapperPrivate::translateKeyEvent (this=0x80e71d8, keyWidget=0x883ce48, event=0xbf8138ac, grab=129) at kernel/qkeymapper_x11.cpp:1645
#27 0xb5d3da64 in QApplication::x11ProcessEvent (this=0xbf813bf8, event=0xbf8138ac) at kernel/qapplication_x11.cpp:3436
#28 0xb5d62b50 in x11EventSourceDispatch (s=0x807a308, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0xb4aef3b5 in IA__g_main_context_dispatch (context=0x8079890) at gmain.c:2144
#30 0xb4af2667 in g_main_context_iterate (context=0x8079890, block=1, dispatch=1, self=0x80771d0) at gmain.c:2778
#31 0xb4af2808 in IA__g_main_context_iteration (context=0x8079890, may_block=1) at gmain.c:2841
#32 0xb65f83f4 in QEventDispatcherGlib::processEvents (this=0x804fc18, flags={i = -1082049944}) at kernel/qeventdispatcher_glib.cpp:323
#33 0xb5d623cb in QGuiEventDispatcherGlib::processEvents (this=0x804fc18, flags={i = -1082049896}) at kernel/qguieventdispatcher_glib.cpp:202
#34 0xb65d2000 in QEventLoop::processEvents (this=0xbf813b00, flags={i = -1082049832}) at kernel/qeventloop.cpp:149
#35 0xb65d21a6 in QEventLoop::exec (this=0xbf813b00, flags={i = -1082049784}) at kernel/qeventloop.cpp:196
#36 0xb65d406e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#37 0xb5cdc387 in QApplication::exec () at kernel/qapplication.cpp:3553
#38 0x0804a9b7 in main (argc=) at /var/tmp/paludis/kde-base-kmail-scm/work/kmail/kmail/main.cpp:146
Comment 2 Panagiotis Papadopoulos 2009-07-04 12:17:15 UTC
I can't reproduce this crash: Pressing ESC here, does not do anything...
KMail from KDE Trunk rev. 991149 with a POP3 account
Comment 3 Stefano Crocco 2009-07-17 17:13:19 UTC
The crash has disappeared some time ago. Sorry for not closing this bug sooner.