Bug 175663

Summary: Crash when clicking any message in the messages list
Product: [Unmaintained] kmail Reporter: Gaël de Chalendar (aka Kleag) <kleagg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: jtamate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gaël de Chalendar (aka Kleag) 2008-11-20 14:06:22 UTC
Version:            (using Devel)
Compiler:          gcc (GCC) 4.3.2 
OS:                Linux
Installed from:    Compiled sources

Since my last kdesvn-build this night, kmail crashes when clicking on mails in the messages list. 
Note that it crashes on local and imap folders.
Note also that all messages don't make crash but I was not able to see the difference between crashing and not crashing mails.

Here is the backtrace:
Application: Kontact (kontact), signal SIGABRT
0x00007f0a71455771 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f0a78fa7700 (LWP 30630))]

Thread 1 (Thread 0x7f0a78fa7700 (LWP 30630)):
[KCrash Handler]
#5  0x00007f0a713e6975 in raise () from /lib64/libc.so.6
#6  0x00007f0a713e81a3 in abort () from /lib64/libc.so.6
#7  0x00007f0a71c75744 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6
#8  0x00007f0a71c73b46 in ?? () from /usr/lib64/libstdc++.so.6
#9  0x00007f0a71c73b73 in std::terminate () from /usr/lib64/libstdc++.so.6
#10 0x00007f0a71c7441f in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#11 0x00007f0a60e796f5 in KMReaderWin::setMsg (this=0x246e070, aMsg=0x25c5e40, force=false) at /home/kde4.trunk/kdesvn/kdepim/kmail/kmreaderwin.cpp:1246
#12 0x00007f0a61054f96 in KMMainWidget::slotMsgSelected (this=0x20cc180, msg=0x25c5e40) at /home/kde4.trunk/kdesvn/kdepim/kmail/kmmainwidget.cpp:3115
#13 0x00007f0a6107400c in KMMainWidget::qt_metacall (this=0x20cc180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80fef0a0)
    at /home/kleag/kdesvn.trunk/build/kdepim/kmail/kmmainwidget.moc:362
#14 0x00007f0a72237234 in QMetaObject::activate (sender=0x21bc110, from_signal_index=<value optimized out>, to_signal_index=66, argv=0xffffffffffffffff)
    at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3031
#15 0x00007f0a60d7536f in KMail::MessageListView::Pane::messageSelected (this=0x77a6, _t1=0x25c5e40) at /home/kleag/kdesvn.trunk/build/kdepim/kmail/moc_pane.cpp:124
#16 0x00007f0a60d761f7 in KMail::MessageListView::Pane::qt_metacall (this=0x21bc110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80fef1d0)
    at /home/kleag/kdesvn.trunk/build/kdepim/kmail/moc_pane.cpp:107
#17 0x00007f0a72237234 in QMetaObject::activate (sender=0x23733f0, from_signal_index=<value optimized out>, to_signal_index=46, argv=0xffffffffffffffff)
    at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3031
#18 0x00007f0a60d7521f in KMail::MessageListView::Widget::messageSelected (this=0x77a6, _t1=0x25c5e40) at /home/kleag/kdesvn.trunk/build/kdepim/kmail/moc_widget.cpp:94
#19 0x00007f0a611fbacd in KMail::MessageListView::Core::View::slotSelectionChanged (this=0x2462ce0) at /home/kde4.trunk/kdesvn/kdepim/kmail/messagelistview/core/view.cpp:1396
#20 0x00007f0a60d75ba8 in KMail::MessageListView::Core::View::qt_metacall (this=0x2462ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80fef3f0)
    at /home/kleag/kdesvn.trunk/build/kdepim/kmail/moc_view.cpp:83
#21 0x00007f0a72237234 in QMetaObject::activate (sender=0x2377c00, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff)
    at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3031
#22 0x00007f0a734c2a57 in QItemSelectionModel::selectionChanged (this=0x77a6, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:144
#23 0x00007f0a734ca49e in QItemSelectionModel::emitSelectionChanged (this=0x2377c00, newSelection=@0x7fff80fef4e0, oldSelection=@0x7fff80fef500)
    at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1399
#24 0x00007f0a734cacc1 in QItemSelectionModel::select (this=0x2377c00, selection=<value optimized out>, command=<value optimized out>)
    at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qitemselectionmodel.cpp:1013
#25 0x00007f0a734b0f12 in QTreeViewPrivate::select (this=0x2462d70, topIndex=@0x0, bottomIndex=<value optimized out>, command={i = -2130773232})
    at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qtreeview.cpp:3610
#26 0x00007f0a734b182f in QTreeView::setSelection (this=0x0, rect=@0x7fff80fefbe0, command={i = -2130772944}) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qtreeview.cpp:2164
#27 0x00007f0a7347845f in QAbstractItemView::mousePressEvent (this=0x2462ce0, event=<value optimized out>) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1474
#28 0x00007f0a734b837b in QTreeView::mousePressEvent (this=0x2462ce0, event=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qtreeview.cpp:1761
#29 0x00007f0a611f772d in KMail::MessageListView::Core::View::mousePressEvent (this=0x2462ce0, e=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/kdepim/kmail/messagelistview/core/view.cpp:1575
#30 0x00007f0a7306273f in QWidget::event (this=0x2462ce0, event=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7159
#31 0x00007f0a7347f22d in QAbstractItemView::viewportEvent (this=0x2462ce0, event=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1429
#32 0x00007f0a734b3560 in QTreeView::viewportEvent (this=0x2462ce0, event=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/itemviews/qtreeview.cpp:1265
#33 0x00007f0a722221b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x24634d0, event=0x7fff80ff0b80)
    at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#34 0x00007f0a730100bc in QApplicationPrivate::notify_helper (this=0x1baafa0, receiver=0x24634d0, e=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#35 0x00007f0a730186ac in QApplication::notify (this=<value optimized out>, receiver=0x24634d0, e=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#36 0x00007f0a73df32ab in KApplication::notify (this=0x7fff80ff1910, receiver=0x24634d0, event=0x7fff80ff0b80) at /home/kde4.trunk/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#37 0x00007f0a72222edf in QCoreApplication::notifyInternal (this=0x7fff80ff1910, receiver=0x24634d0, event=0x7fff80ff0b80)
    at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#38 0x00007f0a73017a58 in QApplicationPrivate::sendMouseEvent (receiver=0x24634d0, event=0x7fff80ff0b80, alienWidget=0x24634d0, nativeWidget=0x1cb7a00, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f0a7398c4e0) at ../../include/QtCore/../../../../../../kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:212
#39 0x00007f0a7307bf09 in QETWidget::translateMouseEvent (this=0x1cb7a00, event=<value optimized out>) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4042
#40 0x00007f0a7307acff in QApplication::x11ProcessEvent (this=0x13b, event=0x7fff80ff1440) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3160
#41 0x00007f0a730a11f4 in x11EventSourceDispatch (s=0x1bae8d0, callback=0, user_data=0x0) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#42 0x00007f0a6d7d38d2 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f0a6d7d705d in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f0a6d7d721b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f0a7224b20f in QEventDispatcherGlib::processEvents (this=0x1baa6c0, flags=<value optimized out>) at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#46 0x00007f0a730a09bf in QGuiEventDispatcherGlib::processEvents (this=0x77a6, flags=<value optimized out>) at /home/kde4.trunk/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#47 0x00007f0a72221802 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -2130766032}) at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#48 0x00007f0a7222198d in QEventLoop::exec (this=0x7fff80ff1770, flags={i = -2130765952}) at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#49 0x00007f0a72223e3d in QCoreApplication::exec () at /home/kde4.trunk/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#50 0x00000000004046f1 in main (argc=1, argv=0x7fff80ff1ee8) at /home/kde4.trunk/kdesvn/kdepim/kontact/src/main.cpp:218
Comment 1 Thomas McGuire 2008-11-20 17:48:31 UTC
SVN commit 886941 by tmcguire:

Revert 886618, this actually causes more crashes on 64 bit systems.
Thanks to Matthias for testing the revert.
BUG: 175663
BUG: 175667


 M  +1 -1      kmmsgdict.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=886941