Bug 294603 - assert in messagelist/core/model.cpp
Summary: assert in messagelist/core/model.cpp
Status: RESOLVED UNMAINTAINED
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-02-22 09:34 UTC by Christian Mollekopf
Modified: 2017-01-07 22:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.56 KB, text/plain)
2012-03-11 09:58 UTC, Christian Mollekopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Mollekopf 2012-02-22 09:34:18 UTC
Application: kmail (4.9 pre)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Opened KMail, crash as soon as I select another folder than the default one.
kdepim version  d0edd13a1b7308b4ad48a5dfe0b66f28ab9fb7ce

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7fe2470e8700 (LWP 2415)):
#0  0x00007fe261ca0a14 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe25a55324c in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fe25a553379 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fe261c9cdaa in start_thread () from /lib/libpthread.so.0
#4  0x00007fe260a7c55d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe2467e7700 (LWP 2416)):
#0  0x00007fe260a74643 in poll () from /lib/libc.so.6
#1  0x00007fe256384dc8 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fe256385289 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fe2616f00bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fe2616bfe52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fe2616c00a7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fe2615c0d17 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fe2615c3d3b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fe261c9cdaa in start_thread () from /lib/libpthread.so.0
#9  0x00007fe260a7c55d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe1ff0cb700 (LWP 2434)):
#0  0x00007fe261ca0d81 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe2615c41af in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fe2615b75cf in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fe2615c3d3b in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fe261c9cdaa in start_thread () from /lib/libpthread.so.0
#5  0x00007fe260a7c55d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe2676827c0 (LWP 2409)):
[KCrash Handler]
#6  0x00007fe2609ce975 in raise () from /lib/libc.so.6
#7  0x00007fe2609cfdeb in abort () from /lib/libc.so.6
#8  0x00007fe2615b9474 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007fe2615b962f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fe2615b97d4 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007fe25dd52d7d in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup (this=0x10f5810, job=0x161edf0, tStart=...) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3083
#12 0x00007fe25dd53b1a in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x10f5810, job=0x161edf0, tStart=...) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3397
#13 0x00007fe25dd543f2 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x10f5810) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3753
#14 0x00007fe25dd54d4e in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x10f5810) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3939
#15 0x00007fe25dd56d06 in MessageList::Core::Model::qt_static_metacall (_o=0x113edc0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff25c47cb0) at /home/chrigi/devel/kde/build/global/kdepim/messagelist/model.moc:67
#16 0x00007fe2616d4f11 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007fe2616d9e09 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007fe2622d28c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007fe2622d7743 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fe2670a3646 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007fe2616c106c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007fe2616f1ef2 in ?? () from /usr/lib/libQtCore.so.4
#23 0x00007fe2616ef89d in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007fe2563848bd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007fe2563850b8 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007fe256385289 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0x00007fe2616f00bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007fe262375f1e in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fe2616bfe52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007fe2616c00a7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007fe2616c4c05 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x00000000004036a6 in main (argc=3, argv=0x7fff25c48908) at /home/chrigi/devel/kde/kdepim/kmail/main.cpp:145

Possible duplicates by query: bug 280188.

Reported using DrKonqi
Comment 1 Christian Mollekopf 2012-03-11 09:58:42 UTC
Created attachment 69489 [details]
New crash information added by DrKonqi

kmail (4.9 pre) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

Backtrace for master revision 82c3110969b0878604bb466e6b68d395fcf30e58.
Also triggered by selecting another folder (issuing the message threading I suppose)

-- Backtrace (Reduced):
#11 0x00007f9489ccd595 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup (this=0x250add0, job=0x2b3b970, tStart=...) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3091
#12 0x00007f9489cce332 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x250add0, job=0x2b3b970, tStart=...) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3405
#13 0x00007f9489ccec0a in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x250add0) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3761
#14 0x00007f9489ccf566 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x250add0) at /home/chrigi/devel/kde/kdepim/messagelist/core/model.cpp:3947
#15 0x00007f9489cd1586 in MessageList::Core::Model::qt_static_metacall (_o=0x2541830, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffff9c42c00) at /home/chrigi/devel/kde/build/global/kdepim/messagelist/model.moc:69
Comment 2 Denis Kurz 2016-09-24 17:59:04 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:24:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.