Application: kmail (4.9 rc1) KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources) Qt Version: 4.8.2 Operating System: Linux 3.1.10-1.9-desktop i686 Distribution: "openSUSE 12.1 (i586)" -- Information about the crash: - What I was doing when the application crashed: I installed self compiled KDE 4.9 from current git, cleaned all .kde4 .local .config etc. dirs from my test user and started KDE (inside a Xephyr X server). I started kmail and got the account creation wizard in which I entered "test" as username and "test@localhost" as mail address. Then I added an MBox resource and selected the 68MB large mbox file in ~/Mail.tests/mbox2 When Finishing the wizard, kmail showed a progressbar in the right bottom corner slowly increasing. When it was at about 70% or so I clicked on the Mbox folder in the left tree -> crash The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Aborted [Current thread is 1 (Thread 0xb0fc4940 (LWP 3920))] Thread 3 (Thread 0xafb6cb70 (LWP 3926)): #0 0xb4d88782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb331a189 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb3a23340) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495 #2 0xb331a1cf in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb3a23340) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618 #3 0xb4d84a7d in start_thread () from /lib/libpthread.so.0 #4 0xb4baeabe in clone () from /lib/libc.so.6 Thread 2 (Thread 0xaf24cb70 (LWP 3927)): #0 0xb1cb2c90 in clock_gettime () from /lib/librt.so.1 #1 0xb4e65c35 in do_gettime (frac=0xaf24c090, sec=0xaf24c088) at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb4f4f486 in QTimerInfoList::updateCurrentTime (this=0xae901abc) at kernel/qeventdispatcher_unix.cpp:343 #4 0xb4f4f076 in timerSourceCheckHelper (src=0xae901a88) at kernel/qeventdispatcher_glib.cpp:150 #5 timerSourceCheckHelper (src=0xae901a88) at kernel/qeventdispatcher_glib.cpp:144 #6 0xb1eaaaf4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #7 0xb1eab4c0 in ?? () from /usr/lib/libglib-2.0.so.0 #8 0xb1eab7fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #9 0xb4f4eb47 in QEventDispatcherGlib::processEvents (this=0xae900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #10 0xb4f1a64d in QEventLoop::processEvents (this=0xaf24c2d0, flags=...) at kernel/qeventloop.cpp:149 #11 0xb4f1a8e9 in QEventLoop::exec (this=0xaf24c2d0, flags=...) at kernel/qeventloop.cpp:204 #12 0xb4e03dac in QThread::exec (this=0x831af00) at thread/qthread.cpp:501 #13 0xb4e03e9b in QThread::run (this=0x831af00) at thread/qthread.cpp:568 #14 0xb4e07290 in QThreadPrivate::start (arg=0x831af00) at thread/qthread_unix.cpp:307 #15 0xb4d84a7d in start_thread () from /lib/libpthread.so.0 #16 0xb4baeabe in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb0fc4940 (LWP 3920)): [KCrash Handler] #6 0xb4b068c5 in raise () from /lib/libc.so.6 #7 0xb4b081d5 in abort () from /lib/libc.so.6 #8 0xb4dfbcfa in qt_message_output (msgType=QtFatalMsg, buf=0x86809b8 "ASSERT: \"it->model() == this\" in file /home/KDE4/source/kdelibs/kdeui/itemviews/kidentityproxymodel.cpp, line 272") at global/qglobal.cpp:2260 #9 0xb4dfbefb in qt_message (msgType=QtFatalMsg, msg=0xb4f88cf4 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf94aa54 "N\255^\267\200\254^\267\020\001") at global/qglobal.cpp:2306 #10 0xb4dfc018 in qFatal (msg=0xb4f88cf4 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2489 #11 0xb4dfc095 in qt_assert (assertion=0xb75ead4e "it->model() == this", file=0xb75eac80 "/home/KDE4/source/kdelibs/kdeui/itemviews/kidentityproxymodel.cpp", line=272) at global/qglobal.cpp:2007 #12 0xb73fc511 in KIdentityProxyModel::mapSelectionToSource (this=0x8334430, selection=...) at /home/KDE4/source/kdelibs/kdeui/itemviews/kidentityproxymodel.cpp:272 #13 0xb43a5356 in MessageList::Pane::Private::mapSelectionToSource (this=0x82a27a8, selection=...) at /home/KDE4/source/kdepim/messagelist/pane.cpp:667 #14 0xb43a39e4 in MessageList::Pane::Private::onSelectionChanged (this=0x82a27a8, selected=..., deselected=...) at /home/KDE4/source/kdepim/messagelist/pane.cpp:399 #15 0xb43a5f07 in MessageList::Pane::qt_static_metacall (_o=0x8299da0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf94ad24) at /home/KDE4/build/kdepim/messagelist/pane.moc:95 #16 0xb4f3269f in QMetaObject::activate (sender=0x8141798, m=0xb5d64a08, local_signal_index=0, argv=0xbf94ad24) at kernel/qobject.cpp:3556 #17 0xb59f1aed in QItemSelectionModel::selectionChanged (this=0x8141798, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166 #18 0xb59f7cf5 in QItemSelectionModel::emitSelectionChanged (this=0x8141798, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544 #19 0xb59f8d6c in QItemSelectionModel::select (this=0x8141798, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110 #20 0xb59e1ba5 in QTreeViewPrivate::select (this=0x827c5c0, topIndex=..., bottomIndex=..., command=) at itemviews/qtreeview.cpp:3704 #21 0xb59e295b in QTreeView::setSelection (this=0x8162b68, rect=..., command=...) at itemviews/qtreeview.cpp:2318 #22 0xb5999480 in QAbstractItemView::mousePressEvent (this=0x8162b68, event=0xbf94bb24) at itemviews/qabstractitemview.cpp:1690 #23 0xb59e6434 in QTreeView::mousePressEvent (this=0x8162b68, event=0xbf94bb24) at itemviews/qtreeview.cpp:1856 #24 0xb424811f in MailCommon::FolderTreeView::mousePressEvent (this=0x8162b68, e=0xbf94bb24) at /home/KDE4/source/kdepim/mailcommon/foldertreeview.cpp:604 #25 0xb543a80b in QWidget::event (this=0x8162b68, event=0xbf94bb24) at kernel/qwidget.cpp:8367 #26 0xb5857cd5 in QFrame::event (this=0x8162b68, e=0xbf94bb24) at widgets/qframe.cpp:557 #27 0xb58eb741 in QAbstractScrollArea::viewportEvent (this=0x8162b68, e=0xbf94bb24) at widgets/qabstractscrollarea.cpp:1043 #28 0xb5991cfc in QAbstractItemView::viewportEvent (this=0x8162b68, event=0xbf94bb24) at itemviews/qabstractitemview.cpp:1644 #29 0xb59e0016 in QTreeView::viewportEvent (this=0x8162b68, event=0xbf94bb24) at itemviews/qtreeview.cpp:1257 #30 0xb58edf06 in viewportEvent (this=<optimized out>, event=0xbf94bb24) at widgets/qabstractscrollarea_p.h:100 #31 eventFilter (e=0xbf94bb24, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116 #32 QAbstractScrollAreaFilter::eventFilter (this=0x8216a90, o=0x827ca48, e=0xbf94bb24) at widgets/qabstractscrollarea_p.h:115 #33 0xb4f1bf66 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80994c0, receiver=0x827ca48, event=0xbf94bb24) at kernel/qcoreapplication.cpp:1025 #34 0xb53e03d2 in notify_helper (e=0xbf94bb24, receiver=0x827ca48, this=0x80994c0) at kernel/qapplication.cpp:4547 #35 QApplicationPrivate::notify_helper (this=0x80994c0, receiver=0x827ca48, e=0xbf94bb24) at kernel/qapplication.cpp:4523 #36 0xb53e616c in QApplication::notify (this=0x80994c0, receiver=0x827ca48, e=0xbf94bb24) at kernel/qapplication.cpp:4094 #37 0xb744625e in KApplication::notify (this=0xbf94c3b8, receiver=0x827ca48, event=0xbf94bb24) at /home/KDE4/source/kdelibs/kdeui/kernel/kapplication.cpp:311 #38 0xb4f1bdce in QCoreApplication::notifyInternal (this=0xbf94c3b8, receiver=0x827ca48, event=0xbf94bb24) at kernel/qcoreapplication.cpp:915 #39 0xb53e13c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #40 QApplicationPrivate::sendMouseEvent (receiver=0x827ca48, event=0xbf94bb24, alienWidget=0x827ca48, nativeWidget=0x827b998, buttonDown=0xb5d73cb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162 #41 0xb546a584 in QETWidget::translateMouseEvent (this=0x827b998, event=0xbf94bfdc) at kernel/qapplication_x11.cpp:4513 #42 0xb546914e in QApplication::x11ProcessEvent (this=0xbf94c3b8, event=0xbf94bfdc) at kernel/qapplication_x11.cpp:3636 #43 0xb549480c in x11EventSourceDispatch (s=0x80854d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #44 0xb1eaae2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #45 0xb1eab560 in ?? () from /usr/lib/libglib-2.0.so.0 #46 0xb1eab7fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #47 0xb4f4eae7 in QEventDispatcherGlib::processEvents (this=0x8052388, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #48 0xb549440a in QGuiEventDispatcherGlib::processEvents (this=0x8052388, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #49 0xb4f1a64d in QEventLoop::processEvents (this=0xbf94c2e4, flags=...) at kernel/qeventloop.cpp:149 #50 0xb4f1a8e9 in QEventLoop::exec (this=0xbf94c2e4, flags=...) at kernel/qeventloop.cpp:204 #51 0xb4f1fe2a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #52 0xb53de2a4 in QApplication::exec () at kernel/qapplication.cpp:3812 #53 0x0804ad8b in main (argc=1, argv=0xbf94c4a4) at /home/KDE4/source/kdepim/kmail/main.cpp:145 Reported using DrKonqi
The crash has nothing to do with the progress bar. When I redo the test and wait until it's finished (whatever the progress bar shows me), the same crash appears. The Mailbox file contains 6351 mails. Also when I restart kmail after the crash and klick again on the mailbox, it crashes.
It has nothing to do with the added mbox file either. When I simply start kmail for the first time, cancel the wizard and close the "tip of the day" and click in the left tree on any item, it also crashes.
fixed in git. Need kdelibs too
I'm using kdelibs master - or should I use KDE/4.9 branch ? Where did you fix it ? (kdelibs/master is current here)
if you use master for kdelibs it's too bad because we don't use master from 4.7 so it's outdated. Use 4.9 branch