[Bug 292027] New: KMail crashes when listing search results

Stephan Diestelhorst stephan.diestelhorst at gmail.com
Fri Jan 20 10:19:52 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=292027

           Summary: KMail crashes when listing search results
           Product: kmail2
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: stephan.diestelhorst at gmail.com


Application: kmail (4.9 pre)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Today's Project Neon (2012-01-20) KMail will crash while displaying search
results. Searching for a simple term in the subject line, which creates quite a
few hits (on the order of hundreds).

The first number of hit get properly displayed in the results window in the
search bar, but eventually (search results list still growing),  Kmail crashes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f5114a4d700 (LWP 11201)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5126b83503 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/opt/project-neon/lib/libQtWebKit.so.4
#2  0x00007f5126b82ae0 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /opt/project-neon/lib/libQtWebKit.so.4
#3  0x00007f513033befc in start_thread (arg=0x7f5114a4d700) at
pthread_create.c:304
#4  0x00007f51325bf89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5114134700 (LWP 11202)):
#0  0x00007f51325b3773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f512a974f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f512a975429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5132f94be6 in QEventDispatcherGlib::processEvents (this=0x14998d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5132f562a0 in QEventLoop::processEvents (this=0x7f5114133d50,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5132f5642a in QEventLoop::exec (this=0x7f5114133d50, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f5132e232a7 in QThread::exec (this=0x1512810) at
thread/qthread.cpp:501
#7  0x00007f5132e23446 in QThread::run (this=0x1512810) at
thread/qthread.cpp:568
#8  0x00007f5132e25bd4 in QThreadPrivate::start (arg=0x1512810) at
thread/qthread_unix.cpp:298
#9  0x00007f513033befc in start_thread (arg=0x7f5114134700) at
pthread_create.c:304
#10 0x00007f51325bf89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f51357a27c0 (LWP 11197)):
[KCrash Handler]
#6  0x00007f51325143a5 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f5132517b0b in __GI_abort () at abort.c:92
#8  0x00007f5132e18a47 in qt_message_output (msgType=QtFatalMsg, buf=0x209c608
"ASSERT: \"item.isValid()\" in file
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemmodel.cpp,
line 388") at global/qglobal.cpp:2252
#9  0x00007f5132e18bdd in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f5132fdbe88 "ASSERT:
\"%s\" in file %s, line %d", ap=0x7fffaa07f8f8) at global/qglobal.cpp:2298
#10 0x00007f5132e1936d in qFatal (msg=0x7f5132fdbe88 "ASSERT: \"%s\" in file
%s, line %d") at global/qglobal.cpp:2481
#11 0x00007f5132e1860c in qt_assert (assertion=0x7f512eb8425e "item.isValid()",
file=0x7f512eb84190
"/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemmodel.cpp",
line=388) at global/qglobal.cpp:1999
#12 0x00007f512eaca6f5 in Akonadi::ItemModel::itemForIndex (this=0x1e97c20,
index=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemmodel.cpp:388
#13 0x00007f5134452846 in KMSearchMessageModel::data (this=0x1e97c20,
index=..., role=0) at
/build/buildd/project-neon-kdepim-2+git20120119+r54899/kmail/kmsearchmessagemodel.cpp:193
#14 0x00007f5133c4da12 in QSortFilterProxyModel::lessThan (this=0x1e60d30,
left=..., right=...) at itemviews/qsortfilterproxymodel.cpp:2402
#15 0x00007f5134453e0d in KMSearchFilterProxyModel::lessThan (this=0x1e60d30,
left=..., right=...) at
/build/buildd/project-neon-kdepim-2+git20120119+r54899/kmail/kmsearchfilterproxymodel.cpp:64
#16 0x00007f5133c474e7 in
QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add
(this=0x1fb0b70, proxy_to_source=..., source_items=..., source_parent=...,
orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:614
#17 0x00007f5133c47a81 in QSortFilterProxyModelPrivate::insert_source_items
(this=0x1fb0b70, source_to_proxy=..., proxy_to_source=..., source_items=...,
source_parent=..., orient=Qt::Vertical, emit_signal=true) at
itemviews/qsortfilterproxymodel.cpp:673
#18 0x00007f5133c48333 in QSortFilterProxyModelPrivate::source_items_inserted
(this=0x1fb0b70, source_parent=..., start=87, end=87, orient=Qt::Vertical) at
itemviews/qsortfilterproxymodel.cpp:806
#19 0x00007f5133c4a328 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted
(this=0x1fb0b70, source_parent=..., start=87, end=87) at
itemviews/qsortfilterproxymodel.cpp:1280
#20 0x00007f5133c4e62c in QSortFilterProxyModel::qt_static_metacall
(_o=0x1e60d30, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffaa080330) at
.moc/debug-shared/moc_qsortfilterproxymodel.cpp:114
#21 0x00007f5132f76daa in QMetaObject::activate (sender=0x1e97c20,
m=0x7f51333080c0, local_signal_index=5, argv=0x7fffaa080330) at
kernel/qobject.cpp:3547
#22 0x00007f5132fd6c8f in QAbstractItemModel::rowsInserted (this=0x1e97c20,
_t1=..., _t2=87, _t3=87) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#23 0x00007f5132f4cda1 in QAbstractItemModel::endInsertRows (this=0x1e97c20) at
kernel/qabstractitemmodel.cpp:2433
#24 0x00007f512eac99bb in Akonadi::ItemModel::Private::itemsAdded
(this=0x1e97cc0, list=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemmodel.cpp:225
#25 0x00007f512eac9a4f in Akonadi::ItemModel::Private::itemAdded
(this=0x1e97cc0, item=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemmodel.cpp:232
#26 0x00007f512eacadf9 in Akonadi::ItemModel::qt_static_metacall (_o=0x1e97c20,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffaa0805f0) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/itemmodel.moc:73
#27 0x00007f5132f76daa in QMetaObject::activate (sender=0x1e93c90,
m=0x7f512ee31ec0, local_signal_index=4, argv=0x7fffaa0805f0) at
kernel/qobject.cpp:3547
#28 0x00007f512eadfd9b in Akonadi::Monitor::itemLinked (this=0x1e93c90,
_t1=..., _t2=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/monitor.moc:217
#29 0x00007f512eae3c9d in Akonadi::MonitorPrivate::emitItemNotification
(this=0x1e983a0, msg=..., item=..., collection=..., collectionDest=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/monitor_p.cpp:540
#30 0x00007f512eae2485 in Akonadi::MonitorPrivate::emitNotification
(this=0x1e983a0, msg=...) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/monitor_p.cpp:288
#31 0x00007f512eae3015 in Akonadi::MonitorPrivate::flushPipeline
(this=0x1e983a0) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/monitor_p.cpp:429
#32 0x00007f512eae308e in Akonadi::MonitorPrivate::dataAvailable
(this=0x1e983a0) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/monitor_p.cpp:438
#33 0x00007f512eadfa63 in Akonadi::Monitor::qt_static_metacall (_o=0x1e93c90,
_c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffaa0809d0) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/monitor.moc:137
#34 0x00007f5132f76daa in QMetaObject::activate (sender=0x1e93ea0,
m=0x7f512ee2f260, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#35 0x00007f512ea88577 in Akonadi::EntityCacheBase::dataAvailable
(this=0x1e93ea0) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/entitycache_p.moc:102
#36 0x00007f512ea4b658 in Akonadi::EntityCache<Akonadi::Item,
Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x1e93ea0,
job=0x1d90130) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/entitycache_p.h:192
#37 0x00007f512ea88451 in Akonadi::EntityCacheBase::qt_static_metacall
(_o=0x1e93ea0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffaa080c40) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/entitycache_p.moc:54
#38 0x00007f5132f76daa in QMetaObject::activate (sender=0x1d90130,
m=0x7f5134e77440, local_signal_index=3, argv=0x7fffaa080c40) at
kernel/qobject.cpp:3547
#39 0x00007f5134a941ef in KJob::result (this=0x1d90130, _t1=0x1d90130) at
/build/buildd/project-neon-kdelibs-2+git20120119+r92405/obj-x86_64-linux-gnu/kdecore/kjob.moc:208
#40 0x00007f5134a936b3 in KJob::emitResult (this=0x1d90130) at
/build/buildd/project-neon-kdelibs-2+git20120119+r92405/kdecore/jobs/kjob.cpp:318
#41 0x00007f512eac6efa in Akonadi::ItemFetchJobPrivate::startFetchJob
(this=0x2089380) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemfetchjob.cpp:102
#42 0x00007f512eac7537 in Akonadi::ItemFetchJob::doStart (this=0x1d90130) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/itemfetchjob.cpp:176
#43 0x00007f512eadaa57 in Akonadi::JobPrivate::startQueued (this=0x2089380) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/job.cpp:153
#44 0x00007f512eb0f9f3 in Akonadi::SessionPrivate::startJob (this=0xf99160,
job=0x1d90130) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/session.cpp:267
#45 0x00007f512eb0f949 in Akonadi::SessionPrivate::doStartNext (this=0xf99160)
at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/akonadi/session.cpp:256
#46 0x00007f512eb10c6c in Akonadi::Session::qt_static_metacall (_o=0x12300d0,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x209ca30) at
/build/buildd/project-neon-kdepimlibs-2+git20120119+r12557/obj-x86_64-linux-gnu/akonadi/session.moc:74
#47 0x00007f5132f707dd in QMetaCallEvent::placeMetaCall (this=0x209bcd0,
object=0x12300d0) at kernel/qobject.cpp:525
#48 0x00007f5132f71a1b in QObject::event (this=0x12300d0, e=0x209bcd0) at
kernel/qobject.cpp:1195
#49 0x00007f513350d7ea in QApplicationPrivate::notify_helper (this=0xf8f880,
receiver=0x12300d0, e=0x209bcd0) at kernel/qapplication.cpp:4554
#50 0x00007f513350ae08 in QApplication::notify (this=0x7fffaa081c30,
receiver=0x12300d0, e=0x209bcd0) at kernel/qapplication.cpp:3936
#51 0x00007f51350e980f in KApplication::notify (this=0x7fffaa081c30,
receiver=0x12300d0, event=0x209bcd0) at
/build/buildd/project-neon-kdelibs-2+git20120119+r92405/kdeui/kernel/kapplication.cpp:311
#52 0x00007f5132f589d6 in QCoreApplication::notifyInternal
(this=0x7fffaa081c30, receiver=0x12300d0, event=0x209bcd0) at
kernel/qcoreapplication.cpp:876
#53 0x00007f5132f5c549 in QCoreApplication::sendEvent (receiver=0x12300d0,
event=0x209bcd0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 0x00007f5132f599ea in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0xf40220) at kernel/qcoreapplication.cpp:1500
#55 0x00007f5132f5960b in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1393
#56 0x00007f5132f95313 in QCoreApplication::sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#57 0x00007f5132f942ec in postEventSourceDispatch (s=0xf95f20) at
kernel/qeventdispatcher_glib.cpp:279
#58 0x00007f512a974a5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f512a975258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f512a975429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f5132f94bc3 in QEventDispatcherGlib::processEvents (this=0xf41b00,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007f51335e5e78 in QGuiEventDispatcherGlib::processEvents
(this=0xf41b00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f5132f562a0 in QEventLoop::processEvents (this=0x7fffaa081af0,
flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f5132f5642a in QEventLoop::exec (this=0x7fffaa081af0, flags=...) at
kernel/qeventloop.cpp:204
#65 0x00007f5132f59056 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#66 0x00007f513350a9f2 in QApplication::exec () at kernel/qapplication.cpp:3815
#67 0x0000000000403326 in main (argc=3, argv=0x7fffaa081dc8) at
/build/buildd/project-neon-kdepim-2+git20120119+r54899/kmail/main.cpp:145

Possible duplicates by query: bug 291961, bug 291369, bug 290359, bug 289345,
bug 287560.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list