Bug 302855 - kmail2 crash while selecting IMAP inbox
Summary: kmail2 crash while selecting IMAP inbox
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9 pre
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-01 22:00 UTC by Marc Schiffbauer
Modified: 2012-07-04 09:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2012-07-01 22:00:50 UTC
Application: kmail (4.9 rc1)
KDE Platform Version: 4.8.95 (4.8.95) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-gentoo x86_64
Distribution: "NAME=Gentoo"

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

This crash happened when I clicked on the inbox of one of my IMAP acounts after starting kmail

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdb61fee780 (LWP 5506))]

Thread 4 (Thread 0x7fdb42225700 (LWP 5513)):
#0  0x00007fdb5d05cdcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdb530dd38c in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fdb530dd4b9 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fdb5d058ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fdb5f2789bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fdb41924700 (LWP 5514)):
#0  0x00007fdb5f26fda3 in poll () from /lib64/libc.so.6
#1  0x00007fdb5746d486 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdb5746d5b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdb5fbff4e6 in QEventDispatcherGlib::processEvents (this=0x7fdb3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdb5fbcf2a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdb5fbcf4f7 in QEventLoop::exec (this=0x7fdb41923e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdb5facff27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fdb5fad2f2b in QThreadPrivate::start (arg=0x1dcdb10) at thread/qthread_unix.cpp:307
#8  0x00007fdb5d058ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fdb5f2789bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fdaf9da4700 (LWP 5604)):
#0  0x00007fdb5d05d14e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdb5fad338f in wait (time=30000, this=0x1eaba50) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1eac0d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdb5fac682f in QThreadPoolThread::run (this=0x1f83130) at concurrent/qthreadpool.cpp:141
#4  0x00007fdb5fad2f2b in QThreadPrivate::start (arg=0x1f83130) at thread/qthread_unix.cpp:307
#5  0x00007fdb5d058ec6 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fdb5f2789bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fdb61fee780 (LWP 5506)):
[KCrash Handler]
#6  0x00007fdb5f1c7b15 in raise () from /lib64/libc.so.6
#7  0x00007fdb5f1c8f8b in abort () from /lib64/libc.so.6
#8  0x00007fdb5fac86c4 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#9  0x00007fdb5fac883f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fdb5fc339c8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff277477f8) at global/qglobal.cpp:2306
#10 0x00007fdb5fac89ec in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#11 0x00007fdb619564a2 in KIdentityProxyModel::mapSelectionToSource (this=0x1d29190, selection=...) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/itemviews/kidentityproxymodel.cpp:272
#12 0x00007fdb5ac7eb3b in MessageList::Pane::Private::mapSelectionToSource(QItemSelection const&) const () from /usr/lib64/libmessagelist.so.4
#13 0x00007fdb5ac7ec3b in MessageList::Pane::Private::onSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libmessagelist.so.4
#14 0x00007fdb5fbe4409 in QMetaObject::activate (sender=0x17bac30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27747e60) at kernel/qobject.cpp:3547
#15 0x00007fdb6065c217 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#16 0x00007fdb60661fe4 in QItemSelectionModel::emitSelectionChanged (this=0x17bac30, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#17 0x00007fdb60662f61 in QItemSelectionModel::select (this=0x17bac30, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#18 0x00007fdb6064d603 in QTreeViewPrivate::select (this=0x1d06e70, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3704
#19 0x00007fdb6064e352 in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2318
#20 0x00007fdb6060a29b in QAbstractItemView::mousePressEvent (this=0x17c7630, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#21 0x00007fdb60152323 in QWidget::event (this=0x17c7630, event=0x7fff27749620) at kernel/qwidget.cpp:8367
#22 0x00007fdb604eef36 in QFrame::event (this=0x17c7630, e=0x7fff27749620) at widgets/qframe.cpp:557
#23 0x00007fdb60603a0b in QAbstractItemView::viewportEvent (this=0x17c7630, event=0x7fff27749620) at itemviews/qabstractitemview.cpp:1644
#24 0x00007fdb6064bbe5 in QTreeView::viewportEvent (this=0x17c7630, event=0x7fff27749620) at itemviews/qtreeview.cpp:1257
#25 0x00007fdb5fbd08c6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x17c6290, event=0x7fff27749620) at kernel/qcoreapplication.cpp:1025
#26 0x00007fdb6010166f in notify_helper (e=0x7fff27749620, receiver=0x17c6290, this=0x1745d70) at kernel/qapplication.cpp:4547
#27 QApplicationPrivate::notify_helper (this=0x1745d70, receiver=0x17c6290, e=0x7fff27749620) at kernel/qapplication.cpp:4523
#28 0x00007fdb60106dd9 in QApplication::notify (this=<optimized out>, receiver=0x17c6290, e=0x7fff27749620) at kernel/qapplication.cpp:4094
#29 0x00007fdb619968ed in KApplication::notify (this=0x7fff2774a1f0, receiver=0x17c6290, event=0x7fff27749620) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/kernel/kapplication.cpp:311
#30 0x00007fdb5fbd074c in QCoreApplication::notifyInternal (this=0x7fff2774a1f0, receiver=0x17c6290, event=0x7fff27749620) at kernel/qcoreapplication.cpp:915
#31 0x00007fdb60102662 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=0x17c6290, event=0x7fff27749620, alienWidget=0x17c6290, nativeWidget=0x17d3850, buttonDown=0x17c6290, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#33 0x00007fdb6017e2c8 in QETWidget::translateMouseEvent (this=0x17d3850, event=<optimized out>) at kernel/qapplication_x11.cpp:4502
#34 0x00007fdb6017d0da in QApplication::x11ProcessEvent (this=0x7fff2774a1f0, event=0x7fff27749d40) at kernel/qapplication_x11.cpp:3625
#35 0x00007fdb601a4afa in x11EventSourceDispatch (s=0x1744f30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007fdb5746d1a3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fdb5746d4f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fdb5746d5b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fdb5fbff47f in QEventDispatcherGlib::processEvents (this=0x16b5ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007fdb601a479e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fdb5fbcf2a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fdb5fbcf4f7 in QEventLoop::exec (this=0x7fff2774a0d0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fdb5fbd42c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#44 0x0000000000402861 in main (argc=3, argv=0x7fff2774a388) at /var/tmp/portage/kde-base/kmail-4.9.49.9999/work/kmail-4.9.49.9999/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Laurent Montel 2012-07-04 09:30:57 UTC
fixed in git + kdelibs