Bug 279307 - kmail crashes when searching for mail with a tag
Summary: kmail crashes when searching for mail with a tag
Status: RESOLVED DUPLICATE of bug 274730
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 17:07 UTC by Luis Silva
Modified: 2011-08-28 23:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Silva 2011-08-03 17:07:09 UTC
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.00 (4.7.0) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I launched a search for e-mails with a tag in kmail. I started kmail from the command line with debug activated. This is the relevant output:
kmail2(25838) MailCommon::SearchRuleWidget::setRule: ( ""Subject" <contains> """ )
kmail2(25838) KMail::SearchWindow::SearchWindow: AKONADI PORT: Disabled code in   KMail::SearchWindow::SearchWindow(KMMainWidget*, const Akonadi::Collection&)
kmail2(25838) KMail::SearchWindow::slotSearch: AKONADI PORT: Disabled code in   virtual void KMail::SearchWindow::slotSearch()
"select distinct ?r ?reqProp1 where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> <nepomuk:/res/5aed58bf-d28b-416a-ab6a-3505c18ba90c> . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" 
ASSERT: "parentCollection != m_rootCollection" in file /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitytreemodel_p.cpp, line 639
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...

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

Thread 3 (Thread 0xb53b1b70 (LWP 25842)):
#0  0x0038a416 in __kernel_vsyscall ()
#1  0x07f9348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x03e4e3fd in __pthread_cond_wait (cond=0xb77567f0, mutex=0xb77567d8) at forward.c:139
#3  0xb71a0b57 in scavengerThread (context=0xb7751700) at wtf/FastMalloc.cpp:2378
#4  WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb7751700) at wtf/FastMalloc.cpp:1497
#5  0x07f8ee99 in start_thread (arg=0xb53b1b70) at pthread_create.c:304
#6  0x03e4073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2ee5b70 (LWP 25870)):
#0  0x0038a416 in __kernel_vsyscall ()
#1  0x03e31f76 in __poll (fds=0x912a8d8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0286f84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0285f1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0285f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01755577 in QEventDispatcherGlib::processEvents (this=0x912a510, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x01727289 in QEventLoop::processEvents (this=0xb2ee5270, flags=...) at kernel/qeventloop.cpp:149
#7  0x01727522 in QEventLoop::exec (this=0xb2ee5270, flags=...) at kernel/qeventloop.cpp:201
#8  0x016312a0 in QThread::exec (this=0x8baaaf0) at thread/qthread.cpp:492
#9  0x01708fdb in QInotifyFileSystemWatcherEngine::run (this=0x8baaaf0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01633da2 in QThreadPrivate::start (arg=0x8baaaf0) at thread/qthread_unix.cpp:320
#11 0x07f8ee99 in start_thread (arg=0xb2ee5b70) at pthread_create.c:304
#12 0x03e4073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb63e6950 (LWP 25838)):
[KCrash Handler]
#7  0x0038a416 in __kernel_vsyscall ()
#8  0x03d9ae71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x03d9e34e in abort () at abort.c:92
#10 0x016293ba in qt_message_output (msgType=QtFatalMsg, buf=0x8b36908 "ASSERT: \"parentCollection != m_rootCollection\" in file /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitytreemodel_p.cpp, line 639") at global/qglobal.cpp:2282
#11 0x01629581 in qt_message (msgType=QtFatalMsg, msg=0x178dafc "ASSERT: \"%s\" in file %s, line %d", ap=0xbf97f794 "<=\037\001\254;\037\001\177\002") at global/qglobal.cpp:2328
#12 0x01629689 in qFatal (msg=0x178dafc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0x01629715 in qt_assert (assertion=0x11f3d3c "parentCollection != m_rootCollection", file=0x11f3bac "/home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitytreemodel_p.cpp", line=639) at global/qglobal.cpp:2027
#14 0x0112af1c in Akonadi::EntityTreeModelPrivate::retrieveAncestors (this=0x88ae140, collection=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitytreemodel_p.cpp:639
#15 0x0112ebed in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0x88ae140, collection=..., parent=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitytreemodel_p.cpp:734
#16 0x0111f64b in Akonadi::EntityTreeModel::qt_metacall (this=0x8a9ce20, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbf97f9e4) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/entitytreemodel.moc:161
#17 0x0172e6ba in QMetaObject::metacall (object=0x8a9ce20, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbf97f9e4) at kernel/qmetaobject.cpp:237
#18 0x0173e4ff in QMetaObject::activate (sender=0x8a23128, m=0x12ad474, local_signal_index=6, argv=0xbf97f9e4) at kernel/qobject.cpp:3287
#19 0x0116a769 in Akonadi::Monitor::collectionAdded (this=0x8a23128, _t1=..., _t2=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/monitor.moc:211
#20 0x0116e2c8 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x88a0d18, msg=..., col=..., par=..., dest=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/monitor_p.cpp:590
#21 0x01170437 in Akonadi::MonitorPrivate::emitNotification (this=0x88a0d18, msg=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/monitor_p.cpp:281
#22 0x010dedcf in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x88a0d18, msg=...) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/changerecorder_p.h:60
#23 0x0116dcbb in Akonadi::MonitorPrivate::flushPipeline (this=0x88a0d18) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/monitor_p.cpp:425
#24 0x0116ddf2 in Akonadi::MonitorPrivate::dataAvailable (this=0x88a0d18) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/monitor_p.cpp:434
#25 0x0116af25 in Akonadi::Monitor::qt_metacall (this=0x8a23128, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf97fd8c) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/monitor.moc:156
#26 0x010decea in Akonadi::ChangeRecorder::qt_metacall (this=0x8a23128, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf97fd8c) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/changerecorder.moc:72
#27 0x0172e6ba in QMetaObject::metacall (object=0x8a23128, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbf97fd8c) at kernel/qmetaobject.cpp:237
#28 0x0173e4ff in QMetaObject::activate (sender=0x888a820, m=0x12ac148, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#29 0x01117c67 in Akonadi::EntityCacheBase::dataAvailable (this=0x888a820) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/entitycache_p.moc:88
#30 0x01173ba7 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult (this=0x888a820, job=0x91ea7e8) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/entitycache_p.h:190
#31 0x01117cef in Akonadi::EntityCacheBase::qt_metacall (this=0x888a820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf97ff28) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/entitycache_p.moc:77
#32 0x0172e6ba in QMetaObject::metacall (object=0x888a820, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbf97ff28) at kernel/qmetaobject.cpp:237
#33 0x0173e4ff in QMetaObject::activate (sender=0x91ea7e8, m=0xae9508, local_signal_index=3, argv=0xbf97ff28) at kernel/qobject.cpp:3287
#34 0x0098bd73 in KJob::result (this=0x91ea7e8, _t1=0x91ea7e8) at ./kjob.moc:194
#35 0x0098bdc8 in KJob::emitResult (this=0x91ea7e8) at ../../kdecore/jobs/kjob.cpp:312
#36 0x01165105 in Akonadi::JobPrivate::delayedEmitResult (this=0x931bc58) at /home/lacsilva/Development/kdepim.d/kdepimlibs/akonadi/job.cpp:144
#37 0x01165e43 in Akonadi::Job::qt_metacall (this=0x91ea7e8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x8c65ba0) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/job.moc:91
#38 0x010eafca in Akonadi::CollectionFetchJob::qt_metacall (this=0x91ea7e8, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x8c65ba0) at /home/lacsilva/Development/kdepim.d/kdepimlibs/BUILD/akonadi/collectionfetchjob.moc:75
#39 0x0172e6ba in QMetaObject::metacall (object=0x91ea7e8, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x8c65ba0) at kernel/qmetaobject.cpp:237
#40 0x01738e16 in QMetaCallEvent::placeMetaCall (this=0x8b20dd0, object=0x91ea7e8) at kernel/qobject.cpp:535
#41 0x0173d3b7 in QObject::event (this=0x91ea7e8, e=0x8b20dd0) at kernel/qobject.cpp:1226
#42 0x01e8ad24 in QApplicationPrivate::notify_helper (this=0x88452f0, receiver=0x91ea7e8, e=0x8b20dd0) at kernel/qapplication.cpp:4462
#43 0x01e8f8ce in QApplication::notify (this=0xbf98086c, receiver=0x91ea7e8, e=0x8b20dd0) at kernel/qapplication.cpp:3862
#44 0x006a993a in KApplication::notify (this=0xbf98086c, receiver=0x91ea7e8, event=0x8b20dd0) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x017280bb in QCoreApplication::notifyInternal (this=0xbf98086c, receiver=0x91ea7e8, event=0x8b20dd0) at kernel/qcoreapplication.cpp:731
#46 0x0172bc79 in sendEvent (receiver=0x0, event_type=0, data=0x87e3f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87e3f20) at kernel/qcoreapplication.cpp:1372
#48 0x0172be0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#49 0x017553c4 in sendPostedEvents (s=0x8847700) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#50 postEventSourceDispatch (s=0x8847700) at kernel/qeventdispatcher_glib.cpp:277
#51 0x0285eaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x0285f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0x0285f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x0175553c in QEventDispatcherGlib::processEvents (this=0x87e3a78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#55 0x01f411e5 in QGuiEventDispatcherGlib::processEvents (this=0x87e3a78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x01727289 in QEventLoop::processEvents (this=0xbf980784, flags=...) at kernel/qeventloop.cpp:149
#57 0x01727522 in QEventLoop::exec (this=0xbf980784, flags=...) at kernel/qeventloop.cpp:201
#58 0x0172becc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#59 0x01e888e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#60 0x0804a960 in main (argc=1, argv=0xbf980964) at /home/lacsilva/Development/kdepim.d/kdepim/kmail/main.cpp:145

Possible duplicates by query: bug 276862, bug 274730.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 23:48:12 UTC

*** This bug has been marked as a duplicate of bug 274730 ***