[Bug 201637] New: sending with non-running kmail leads to crash

Juha Tuomala tuju at iki.fi
Mon Jul 27 09:16:09 BST 2009


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

           Summary: sending with non-running kmail leads to crash
           Product: kmail
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: tuju at iki.fi


Version:            (using KDE 4.2.4)
Installed from:    Fedora RPMs

I read something in web page with konqueror, send that url with:

  alt+f, l

and it uses kmail to open that url in message body, ready for sending after
receivers have been fed. I send and probably something happens, not sure.

Then kmail main window appears like in this screenshot:

  http://tuju.fi/tmp/kmail-20090727.png

only horizontal scrolling works, presing the X symbol from window manager
causes crash:

Application: KMail (kmail), signal SIGSEGV
0x0000003875aa7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7fb3ec309810 (LWP 31706))]

Thread 1 (Thread 0x7fb3ec309810 (LWP 31706)):
[KCrash Handler]
#5  QWidget::height () at /usr/include/QtGui/qwidget.h:985
#6  KMMainWidget::writeConfig (this=0x4c89130) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwidget.cpp:657
#7  0x00000037bd97c65e in KMMainWidget::destruct (this=0x4c89130) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwidget.cpp:300
#8  0x00000037bd97d5bf in ~KMMainWidget (this=0x4c89130) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwidget.cpp:288
#9  0x0000003dda3523c1 in QObjectPrivate::deleteChildren (this=0x4ca4280) at
kernel/qobject.cpp:1854
#10 0x0000003f33ddb902 in ~QWidget (this=0x4cacb30) at kernel/qwidget.cpp:1366
#11 0x0000003f34ed07ec in ~KMainWindow (this=0x4cacb30) at
/usr/src/debug/kdelibs-4.2.4/kdeui/widgets/kmainwindow.cpp:467
#12 0x00000037bd70ad80 in ~KMMainWin (this=0x4cacb30) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwin.cpp:101
#13 0x0000003dda353a95 in QObject::event (this=0x4cacb30, e=0x37bdc2afcf) at
kernel/qobject.cpp:1101
#14 0x0000003f33ddfead in QWidget::event (this=0x4cacb30, event=0x2721650) at
kernel/qwidget.cpp:7918
#15 0x0000003f34196e6b in QMainWindow::event (this=0x4cacb30, event=0x2721650)
at widgets/qmainwindow.cpp:1402
#16 0x0000003f34f0ba98 in KXmlGuiWindow::event (this=0x7fffc6ad1340,
ev=0x37bdc2afcf) at
/usr/src/debug/kdelibs-4.2.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#17 0x0000003f33d8f46d in QApplicationPrivate::notify_helper (this=0x25cf200,
receiver=0x4cacb30, e=0x2721650) at kernel/qapplication.cpp:4057
#18 0x0000003f33d976ea in QApplication::notify (this=0x7fffc6ad4590,
receiver=0x4cacb30, e=0x2721650) at kernel/qapplication.cpp:4022
#19 0x0000003f34e070db in KApplication::notify (this=0x7fffc6ad4590,
receiver=0x4cacb30, event=0x2721650) at
/usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#20 0x0000003dda3437dc in QCoreApplication::notifyInternal
(this=0x7fffc6ad4590, receiver=0x4cacb30, event=0x2721650) at
kernel/qcoreapplication.cpp:610
#21 0x0000003dda34444a in QCoreApplication::sendEvent () at
kernel/qcoreapplication.h:213
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x2593900) at kernel/qcoreapplication.cpp:1247
#23 0x0000003dda36d3f3 in QCoreApplication::sendPostedEvents () at
kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:209
#25 0x0000003106c377bb in g_main_dispatch () at gmain.c:2144
#26 IA__g_main_context_dispatch (context=0x25d0e20) at gmain.c:2697
#27 0x0000003106c3af8d in g_main_context_iterate (context=0x25d0e20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#28 0x0000003106c3b14b in IA__g_main_context_iteration (context=0x25d0e20,
may_block=1) at gmain.c:2841
#29 0x0000003dda36d07f in QEventDispatcherGlib::processEvents (this=0x25a5e90,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#30 0x0000003f33e2675f in QGuiEventDispatcherGlib::processEvents
(this=0x7fffc6ad1340, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#31 0x0000003dda342082 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#32 0x0000003dda34244d in QEventLoop::exec (this=0x7fffc6ad20e0, flags=) at
kernel/qeventloop.cpp:200
#33 0x0000003f3424f20e in QDialog::exec (this=0x7fffc6ad2170) at
dialogs/qdialog.cpp:498
#34 0x00000037bd85d473 in KMail::ImapAccountBase::makeConnection
(this=0x47cbea0) at /usr/src/debug/kdepim-4.2.4/kmail/imapaccountbase.cpp:321
#35 0x00000037bd885937 in KMFolderImap::listDirectory (this=0x2a5c0e0) at
/usr/src/debug/kdepim-4.2.4/kmail/kmfolderimap.cpp:743
#36 0x00000037bd76d29c in KMail::FolderView::slotFolderExpanded (this=<value
optimized out>, item=<value optimized out>) at
/usr/src/debug/kdepim-4.2.4/kmail/folderview.cpp:2551
#37 0x00000037bd777832 in KMail::FolderView::qt_metacall (this=0x4b587f0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc6ad2510)
    at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/kmail/folderview.moc:226
#38 0x00000037bd77b196 in KMail::MainFolderView::qt_metacall
(this=0x7fffc6ad1340, _c=3183652815, _id=65, _a=0x0) at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64
#39 0x0000003dda359422 in QMetaObject::activate (sender=0x4b587f0,
from_signal_index=<value optimized out>, to_signal_index=101, argv=0x0) at
kernel/qobject.cpp:3120
#40 0x0000003f3431aa12 in QTreeWidget::itemExpanded (this=0x7fffc6ad1340,
_t1=0x2713d60) at .moc/release-shared/moc_qtreewidget.cpp:236
#41 0x0000003f34327a8b in QTreeWidget::qt_metacall (this=0x4b587f0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc6ad26f0)
at .moc/release-shared/moc_qtreewidget.cpp:149
#42 0x0000003f39e7bcc5 in KPIM::TreeWidget::qt_metacall (this=0x7fffc6ad1340,
_c=3183652815, _id=65, _a=0x0) at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/libkdepim/moc_treewidget.cpp:68
#43 0x0000003f39e7bdf5 in KPIM::FolderTreeWidget::qt_metacall
(this=0x7fffc6ad1340, _c=3183652815, _id=65, _a=0x0)
    at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/libkdepim/moc_foldertreewidget.cpp:64
#44 0x00000037bd7777c5 in KMail::FolderView::qt_metacall (this=0x7fffc6ad1340,
_c=3183652815, _id=65, _a=0x0) at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/kmail/folderview.moc:191
#45 0x00000037bd77b196 in KMail::MainFolderView::qt_metacall
(this=0x7fffc6ad1340, _c=3183652815, _id=65, _a=0x0) at
/usr/src/debug/kdepim-4.2.4/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64
#46 0x0000003dda359422 in QMetaObject::activate (sender=0x4b587f0,
from_signal_index=<value optimized out>, to_signal_index=69, argv=0x0) at
kernel/qobject.cpp:3120
#47 0x0000003f342dcd32 in QTreeView::expanded (this=0x7fffc6ad1340, _t1=<value
optimized out>) at .moc/release-shared/moc_qtreeview.cpp:213
#48 0x0000003f342edb78 in QTreeView::expand (this=0x4b587f0,
index=@0x7fffc6ad2780) at itemviews/qtreeview.cpp:752
#49 0x0000003f34322995 in QTreeWidget::setItemExpanded (this=0x4b587f0,
item=0x2713d60, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3120
#50 0x00000037bd77186e in QTreeWidgetItem::setExpanded () at
/usr/include/QtGui/qtreewidget.h:409
#51 KMail::FolderView::restoreItemStates (this=0x4b587f0) at
/usr/src/debug/kdepim-4.2.4/kmail/folderview.cpp:385
#52 0x00000037bd77759f in KMail::FolderView::reload (this=0x4b587f0,
openFoldersForUpdate=false) at
/usr/src/debug/kdepim-4.2.4/kmail/folderview.cpp:753
#53 0x00000037bd989f1d in KMMainWidget::readConfig (this=0x4c89130) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwidget.cpp:595
#54 0x00000037bd99a889 in KMMainWidget (this=0x4c89130, parent=<value optimized
out>, aGUIClient=0x4cacb90, actionCollection=<value optimized out>,
config=0x25c2a10)
    at /usr/src/debug/kdepim-4.2.4/kmail/kmmainwidget.cpp:233
#55 0x00000037bd70ba76 in KMMainWin (this=0x4cacb30) at
/usr/src/debug/kdepim-4.2.4/kmail/kmmainwin.cpp:41
#56 0x00000037bd8c3dcf in KMKernel::openReader (this=0x7fffc6ad4440,
onlyCheck=false) at /usr/src/debug/kdepim-4.2.4/kmail/kmkernel.cpp:375
#57 0x00000037bd8d1808 in KMKernel::action (this=0x7fffc6ad4440, mailto=<value
optimized out>, check=207, to=@0x7fffc6ad3230, cc=@0x7fffc6ad3220,
bcc=@0x7fffc6ad3210, subj=@0x7fffc6ad3200, 
    body=@0x7fffc6ad31f0, messageFile=@0x7fffc6ad2f80,
attachURLs=@0x7fffc6ad31d0, customHeaders=@0x7fffc6ad31e0) at
/usr/src/debug/kdepim-4.2.4/kmail/kmkernel.cpp:1832
#58 0x00000037bd8d2d38 in KMKernel::handleCommandLine (this=0x7fffc6ad4440,
noArgsOpensReader=true) at /usr/src/debug/kdepim-4.2.4/kmail/kmkernel.cpp:321
#59 0x0000000000401ff8 in KMailApplication::newInstance (this=<value optimized
out>) at /usr/src/debug/kdepim-4.2.4/kmail/main.cpp:84
#60 0x0000003f34e0fa56 in KUniqueApplicationAdaptor::newInstance
(this=0x2905cc0, asn_id=<value optimized out>, args=@0x51409b0) at
/usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kuniqueapplication_p.h:77
#61 0x0000003f34e0de22 in KUniqueApplicationAdaptor::qt_metacall
(this=0x2905cc0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc6ad3720)
    at
/usr/src/debug/kdelibs-4.2.4/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:75
#62 0x0000003ddb023763 in QDBusConnectionPrivate::deliverCall (this=0x25be690,
object=0x2905cc0, msg=@0x4aa4ff0, metaTypes=@0x4acb770, slotIdx=4) at
qdbusintegrator.cpp:891
#63 0x0000003ddb024a88 in QDBusConnectionPrivate::activateCall (this=0x25be690,
object=0x2905cc0, flags=337, msg=@0x4aa4ff0) at qdbusintegrator.cpp:803
#64 0x0000003ddb0250b1 in QDBusConnectionPrivate::activateObject
(this=0x25be690, node=@0x4aa4fc8, msg=@0x4aa4ff0, pathStartPos=<value optimized
out>) at qdbusintegrator.cpp:1352
#65 0x0000003ddb0253c8 in QDBusActivateObjectEvent::placeMetaCall
(this=0x4aa4f80) at qdbusintegrator.cpp:1469
#66 0x0000003dda353a78 in QObject::event (this=0x7fffc6ad4590, e=0x4aa4f80) at
kernel/qobject.cpp:1118
#67 0x0000003f33d94bea in QApplication::event (this=0x7fffc6ad4590,
e=0x4aa4f80) at kernel/qapplication.cpp:2318
#68 0x0000003f33d8f46d in QApplicationPrivate::notify_helper (this=0x25cf200,
receiver=0x7fffc6ad4590, e=0x4aa4f80) at kernel/qapplication.cpp:4057
#69 0x0000003f33d976ea in QApplication::notify (this=0x7fffc6ad4590,
receiver=0x7fffc6ad4590, e=0x4aa4f80) at kernel/qapplication.cpp:4022
#70 0x0000003f34e070db in KApplication::notify (this=0x7fffc6ad4590,
receiver=0x7fffc6ad4590, event=0x4aa4f80) at
/usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#71 0x0000003dda3437dc in QCoreApplication::notifyInternal
(this=0x7fffc6ad4590, receiver=0x7fffc6ad4590, event=0x4aa4f80) at
kernel/qcoreapplication.cpp:610
#72 0x0000003dda34444a in QCoreApplication::sendEvent () at
kernel/qcoreapplication.h:213
#73 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x2593900) at kernel/qcoreapplication.cpp:1247
#74 0x0000003dda36d3f3 in QCoreApplication::sendPostedEvents () at
kernel/qcoreapplication.h:218
#75 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:209
#76 0x0000003106c377bb in g_main_dispatch () at gmain.c:2144
#77 IA__g_main_context_dispatch (context=0x25d0e20) at gmain.c:2697
#78 0x0000003106c3af8d in g_main_context_iterate (context=0x25d0e20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#79 0x0000003106c3b14b in IA__g_main_context_iteration (context=0x25d0e20,
may_block=1) at gmain.c:2841
#80 0x0000003dda36d07f in QEventDispatcherGlib::processEvents (this=0x25a5e90,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#81 0x0000003f33e2675f in QGuiEventDispatcherGlib::processEvents
(this=0x7fffc6ad1340, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#82 0x0000003dda342082 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#83 0x0000003dda34244d in QEventLoop::exec (this=0x7fffc6ad43e0, flags=) at
kernel/qeventloop.cpp:200
#84 0x0000003dda344714 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#85 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdepim-4.2.4/kmail/main.cpp:146


not sure how reproducible this is, but surely i've seen it time to time.

-- 
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