Bug 284376 - crash in MessageList::Core::ModelInvariantIndex::ModelInvariantIndex - bad malloc/new?
Summary: crash in MessageList::Core::ModelInvariantIndex::ModelInvariantIndex - bad ma...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 16:02 UTC by Milian Wolff
Modified: 2017-01-07 22:29 UTC (History)
0 users

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 Milian Wolff 2011-10-18 16:02:31 UTC
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0-ARCH x86_64

-- Information about the crash:
I read some mail - maybe the email fetch job and/or filtering was still running. I then changed the properties of one of the folders (keep replies in this folder) and applied that. then this crash happened

I very much doubt it's a OOM crash as I have 8gb on this machine and no other apps are hogging up much ram so far

note: all kdepim related code was compiled/update a few hours ago.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fda89f7a780 (LWP 2408))]

Thread 5 (Thread 0x7fda6d7f8700 (LWP 2500)):
#0  0x00007fda83f1bb04 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fda7d2a05ba in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fda7d2a06a9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fda83f17da0 in start_thread () from /lib/libpthread.so.0
#4  0x00007fda834e07dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fda6cedf700 (LWP 2501)):
#0  0x00007fda834d8563 in poll () from /lib/libc.so.6
#1  0x00007fda79a41d68 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fda79a42229 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fda842b366e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fda84287a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fda84287c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fda8419f13f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fda841a1bc5 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fda83f17da0 in start_thread () from /lib/libpthread.so.0
#9  0x00007fda834e07dd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fda671f7700 (LWP 3789)):
#0  0x00007fda83f1be7b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fda841a1fde in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fda8419697f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fda841a1bc5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fda83f17da0 in start_thread () from /lib/libpthread.so.0
#5  0x00007fda834e07dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fda63e0a700 (LWP 3791)):
#0  0x00007fda83f1be7b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fda841a1fde in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fda8419697f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fda841a1bc5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fda83f17da0 in start_thread () from /lib/libpthread.so.0
#5  0x00007fda834e07dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fda89f7a780 (LWP 2408)):
[KCrash Handler]
#6  0x00007fda83441735 in raise () from /lib/libc.so.6
#7  0x00007fda83442bab in abort () from /lib/libc.so.6
#8  0x00007fda8347a31e in ?? () from /lib/libc.so.6
#9  0x00007fda83480236 in ?? () from /lib/libc.so.6
#10 0x00007fda834823e2 in ?? () from /lib/libc.so.6
#11 0x00007fda83483bfd in malloc () from /lib/libc.so.6
#12 0x00007fda83cc400d in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#13 0x00007fda8085c77c in MessageList::Core::ModelInvariantIndex::ModelInvariantIndex (this=0x659c420) at /home/milian/projects/kde4/kdepim/messagelist/core/modelinvariantindex.cpp:29
#14 0x00007fda8083d081 in MessageList::Core::MessageItem::MessageItem (this=0x659c410) at /home/milian/projects/kde4/kdepim/messagelist/core/messageitem.cpp:259
#15 0x00007fda8084c303 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0xe5f4e0, job=0x61a2ce0, tStart=...) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:2731
#16 0x00007fda8084e28b in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0xe5f4e0, job=0x61a2ce0, tStart=...) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:3388
#17 0x00007fda8084ecda in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0xe5f4e0) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:3775
#18 0x00007fda8084f6c1 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0xe5f4e0) at /home/milian/projects/kde4/kdepim/messagelist/core/model.cpp:3991
#19 0x00007fda8085185b in MessageList::Core::Model::qt_metacall (this=0xc96b30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff58318430) at /home/milian/projects/.build/kde4/kdepim/messagelist/model.moc:90
#20 0x00007fda8429b5ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00007fda8429eeb9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007fda84f64ae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fda84f69951 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007fda89986bb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fda8428889c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fda842b5492 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007fda842b2c68 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fda79a4185d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fda79a42058 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fda79a42229 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fda842b3606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fda85007eee in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fda84287a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fda84287c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fda8428beab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x0000000000403686 in main (argc=3, argv=0x7fff58318ed8) at /home/milian/projects/kde4/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:03:56 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 2 Denis Kurz 2017-01-07 22:29:51 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.