[Bug 218309] New: KMail crashes on double send

Allan Sandfeld kde at carewolf.com
Fri Dec 11 17:25:39 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=218309

           Summary: KMail crashes on double send
           Product: kmail
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde at carewolf.com


Application that crashed: kmail
Version of the application: 1.12.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-local-1 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
After composing a message, I slick the send button and select account to send
over. KMail appears to do nothing for a moment and the composer is neither
closed not disabled. I click again and select the same account again. This
double send results reliably in a crash.

There is actually two bugs in this one:
- It shouldn't be possible to send again. The composer should be closed or the
buttons disabled.
- Even when something wierd and unexpected happens, KMail should never crash

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3329700 (LWP 6129))]

Thread 2 (Thread 0xaead8b70 (LWP 7643)):
#0  0xb78af424 in __kernel_vsyscall ()
#1  0xb5ee53d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/i686/cmov/libpthread.so.0
#2  0xb5f666c4 in QWaitCondition::wait(QMutex*, unsigned long) () from
/opt/qt-4.5/lib/libQtCore.so.4
#3  0xb5f5ac49 in ?? () from /opt/qt-4.5/lib/libQtCore.so.4
#4  0xb5f65098 in ?? () from /opt/qt-4.5/lib/libQtCore.so.4
#5  0xb5ee1585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb533a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3329700 (LWP 6129)):
[KCrash Handler]
#6  0xb6f33c8f in RecipientsEditor::recipientString (this=0x12,
type=Recipient::Cc) at /src/kde/kdepim-4.3/kmail/recipientseditor.cpp:949
#7  0xb6bfa618 in KMComposeWin::cc (this=0xb41af18) at
/src/kde/kdepim-4.3/kmail/kmcomposewin.cpp:1399
#8  0xb6c18dc3 in KMComposeWin::doSend (this=0xb41af18,
method=KMail::MessageSender::SendImmediate, saveIn=KMComposeWin::None) at
/src/kde/kdepim-4.3/kmail/kmcomposewin.cpp:3513
#9  0xb6c1b0f0 in KMComposeWin::slotSendNow (this=0xb41af18) at
/src/kde/kdepim-4.3/kmail/kmcomposewin.cpp:3799
#10 0xb6bf9d5b in KMComposeWin::slotSendNowVia (this=0xb41af18, item=0xbc05b98)
at /src/kde/kdepim-4.3/kmail/kmcomposewin.cpp:3760
#11 0xb6c2986d in KMComposeWin::qt_metacall (this=0xb41af18,
_c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff416ec) at
/src/kde/kdepim-4.3/build2/kmail/kmcomposewin.moc:241
#12 0xb608ab4b in QMetaObject::activate(QObject*, int, int, void**) () from
/opt/qt-4.5/lib/libQtCore.so.4
#13 0xb608af43 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /opt/qt-4.5/lib/libQtCore.so.4
#14 0xb5a714b4 in QMenu::triggered(QAction*) () from
/opt/qt-4.5/lib/libQtGui.so.4
#15 0xb5a7dded in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#16 0xb5a7e226 in QMenu::qt_metacall(QMetaObject::Call, int, void**) () from
/opt/qt-4.5/lib/libQtGui.so.4
#17 0xb77cc8db in KMenu::qt_metacall (this=0xbe53678,
_c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbff418bc) at
/src/kde/kdelibs-4.3/build2/kdeui/kmenu.moc:70
#18 0xb608ab4b in QMetaObject::activate(QObject*, int, int, void**) () from
/opt/qt-4.5/lib/libQtCore.so.4
#19 0xb608ae51 in QMetaObject::activate(QObject*, QMetaObject const*, int, int,
void**) () from /opt/qt-4.5/lib/libQtCore.so.4
#20 0xb5603132 in QAction::triggered(bool) () from
/opt/qt-4.5/lib/libQtGui.so.4
#21 0xb5603d83 in QAction::activate(QAction::ActionEvent) () from
/opt/qt-4.5/lib/libQtGui.so.4
#22 0xb5a720ba in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#23 0xb5a79ede in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#24 0xb5a7bc56 in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/opt/qt-4.5/lib/libQtGui.so.4
#25 0xb77cb276 in KMenu::mouseReleaseEvent (this=0xbc05b98, e=0xbff418bc) at
/src/kde/kdelibs-4.3/kdeui/widgets/kmenu.cpp:456
#26 0xb566d25a in QWidget::event(QEvent*) () from /opt/qt-4.5/lib/libQtGui.so.4
#27 0xb5a7ac51 in QMenu::event(QEvent*) () from /opt/qt-4.5/lib/libQtGui.so.4
#28 0xb560959c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/opt/qt-4.5/lib/libQtGui.so.4
#29 0xb560c8fc in QApplication::notify(QObject*, QEvent*) () from
/opt/qt-4.5/lib/libQtGui.so.4
#30 0xb76ccc1e in KApplication::notify (this=0xbff43ab0, receiver=0xbe53678,
event=0xbff42098) at /src/kde/kdelibs-4.3/kdeui/kernel/kapplication.cpp:302
#31 0xb60775a2 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/opt/qt-4.5/lib/libQtCore.so.4
#32 0xb560ec24 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*,
QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
/opt/qt-4.5/lib/libQtGui.so.4
#33 0xb56856f5 in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#34 0xb5684934 in QApplication::x11ProcessEvent(_XEvent*) () from
/opt/qt-4.5/lib/libQtGui.so.4
#35 0xb56b026a in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#36 0xb39b7e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0xb39bb623 in ?? () from /lib/libglib-2.0.so.0
#38 0xb39bb7a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0xb60a5439 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/qt-4.5/lib/libQtCore.so.4
#40 0xb56af856 in ?? () from /opt/qt-4.5/lib/libQtGui.so.4
#41 0xb607606b in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/opt/qt-4.5/lib/libQtCore.so.4
#42 0xb607652a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/qt-4.5/lib/libQtCore.so.4
#43 0xb607a501 in QCoreApplication::exec() () from
/opt/qt-4.5/lib/libQtCore.so.4
#44 0xb5609418 in QApplication::exec() () from /opt/qt-4.5/lib/libQtGui.so.4
#45 0x0804abb2 in main (argc=1, argv=0xbff43c44) at
/src/kde/kdepim-4.3/kmail/main.cpp:146

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list