Bug 331251 - kmail crashes when searching for emails from filter bar
Summary: kmail crashes when searching for emails from filter bar
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13 Pre
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-17 19:05 UTC by Luis Silva
Modified: 2014-02-19 21:57 UTC (History)
1 user (show)

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 Luis Silva 2014-02-17 19:05:47 UTC
Application: kmail (4.13 pre)
KDE Platform Version: 4.12.1 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.11.0-17-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I was searching for emails using the filter bar above the message list. Kmail crashes every time I enter some text in the filter box.

- Custom settings of the application:
All of the kdepim and baloo were compiled from source and are at the latest master.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xafc59a00 (LWP 17785))]

Thread 5 (Thread 0xacf36b40 (LWP 17788)):
#0  0xb774f424 in __kernel_vsyscall ()
#1  0xb580884b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e829bc in __pthread_cond_wait (cond=0xb3958d90 <WTF::pageheap_memory+20720>, mutex=0xb3958d78 <WTF::pageheap_memory+20696>) at forward.c:149
#3  0xb30dea7c in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb30deacf in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb5804d78 in start_thread (arg=0xacf36b40) at pthread_create.c:311
#6  0xb5e7501e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xabc99b40 (LWP 17790)):
#0  0xb774f424 in __kernel_vsyscall ()
#1  0xb580884b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e829bc in __pthread_cond_wait (cond=0xac6837dc, mutex=0xac6837c4) at forward.c:149
#3  0xb310dae3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb2de9744 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb30f4866 in WTF::threadEntryPoint(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb310d459 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb5804d78 in start_thread (arg=0xabc99b40) at pthread_create.c:311
#8  0xb5e7501e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xaaeadb40 (LWP 17793)):
#0  0xb774f424 in __kernel_vsyscall ()
#1  0xb5e884d2 in clock_gettime (clock_id=1, tp=0xaaead048) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb60ff8bc in do_gettime (frac=0xaaead040, sec=0xaaead038) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb61e7ed1 in QTimerInfoList::updateCurrentTime (this=this@entry=0xaa502074) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb61e6c6e in timerSourceCheckHelper (src=0xaa502040) at kernel/qeventdispatcher_glib.cpp:150
#6  0xb3f5e58f in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3f5eafa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3f5eca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb61e69ef in QEventDispatcherGlib::processEvents (this=0xaa500468, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#10 0xb61b5813 in QEventLoop::processEvents (this=this@entry=0xaaead258, flags=...) at kernel/qeventloop.cpp:149
#11 0xb61b5b39 in QEventLoop::exec (this=this@entry=0xaaead258, flags=...) at kernel/qeventloop.cpp:204
#12 0xb60a221d in QThread::exec (this=this@entry=0x97209c8) at thread/qthread.cpp:537
#13 0xb60a236b in QThread::run (this=0x97209c8) at thread/qthread.cpp:604
#14 0xb60a4b4f in QThreadPrivate::start (arg=0x97209c8) at thread/qthread_unix.cpp:349
#15 0xb5804d78 in start_thread (arg=0xaaeadb40) at pthread_create.c:311
#16 0xb5e7501e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xaa093b40 (LWP 17794)):
#0  0xb774f424 in __kernel_vsyscall ()
#1  0xb5e65a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb3f6da4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3f5eb68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3f5eca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61e69ef in QEventDispatcherGlib::processEvents (this=0xa9700468, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0xb61b5813 in QEventLoop::processEvents (this=this@entry=0xaa093228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb61b5b39 in QEventLoop::exec (this=this@entry=0xaa093228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb60a221d in QThread::exec (this=this@entry=0x9499dc8) at thread/qthread.cpp:537
#9  0xb6195c34 in QInotifyFileSystemWatcherEngine::run (this=0x9499dc8) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb60a4b4f in QThreadPrivate::start (arg=0x9499dc8) at thread/qthread_unix.cpp:349
#11 0xb5804d78 in start_thread (arg=0xaa093b40) at pthread_create.c:311
#12 0xb5e7501e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xafc59a00 (LWP 17785)):
[KCrash Handler]
#7  QBasicAtomicInt::deref (this=0xb68cca60 <QLineEdit::text() const+16>) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#8  0xb4f73d72 in QList<long long>::~QList (this=0xbf96a30c, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:731
#9  0xb4f73dd1 in Baloo::PIM::EmailQuery::~EmailQuery (this=0xbf96a2f0, __in_chrg=<optimized out>) at /usr/include/baloo/pim/emailquery.h:35
#10 0xb4f73022 in MessageList::Core::Filter::setSearchString (this=0x9a46790, search=..., options=...) at /home/lacsilva/Development/kdepim.d/kdepim/messagelist/core/filter.cpp:101
#11 0xb4fb9628 in MessageList::Core::Widget::searchTimerFired (this=this@entry=0x95951f0) at /home/lacsilva/Development/kdepim.d/kdepim/messagelist/core/widgetbase.cpp:970
#12 0xb4fe976c in MessageList::Core::Widget::qt_static_metacall (_o=_o@entry=0x95951f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf96a408) at /home/lacsilva/Development/kdepim.d/kdepim/BUILD/messagelist/moc_widgetbase.cpp:107
#13 0xb61cc0e7 in QMetaObject::activate (sender=sender@entry=0x98f8160, m=m@entry=0xb6322518 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0xb621c3a5 in QTimer::timeout (this=this@entry=0x98f8160) at .moc/release-shared/moc_qtimer.cpp:147
#15 0xb61d5916 in QTimer::timerEvent (this=0x98f8160, e=0xbf96a780) at kernel/qtimer.cpp:280
#16 0xb61d054c in QObject::event (this=0x98f8160, e=0xbf96a780) at kernel/qobject.cpp:1156
#17 0xb645e7f4 in QApplicationPrivate::notify_helper (this=0x915b658, receiver=0x98f8160, e=0xbf96a780) at kernel/qapplication.cpp:4567
#18 0xb64652d3 in QApplication::notify (this=0xbf96aa2c, receiver=receiver@entry=0x98f8160, e=e@entry=0xbf96a780) at kernel/qapplication.cpp:4353
#19 0xb74d9164 in KApplication::notify (this=0xbf96aa2c, receiver=0x98f8160, event=0xbf96a780) at ../../kdeui/kernel/kapplication.cpp:311
#20 0xb61b6e3a in QCoreApplication::notifyInternal (this=0xbf96aa2c, receiver=0x98f8160, event=event@entry=0xbf96a780) at kernel/qcoreapplication.cpp:953
#21 0xb61e975b in sendEvent (event=0xbf96a780, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=0x9150354) at kernel/qeventdispatcher_unix.cpp:621
#23 0xb61e67bb in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#24 idleTimerSourceDispatch (source=0x915ba40) at kernel/qeventdispatcher_glib.cpp:233
#25 0xb3f5e83e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb3f5ebe8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb3f5eca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb61e69cf in QEventDispatcherGlib::processEvents (this=this@entry=0x90fded8, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#29 0xb65135fe in QGuiEventDispatcherGlib::processEvents (this=0x90fded8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb61b5813 in QEventLoop::processEvents (this=this@entry=0xbf96a9a8, flags=...) at kernel/qeventloop.cpp:149
#31 0xb61b5b39 in QEventLoop::exec (this=this@entry=0xbf96a9a8, flags=...) at kernel/qeventloop.cpp:204
#32 0xb61bb8ee in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#33 0xb645ca24 in QApplication::exec () at kernel/qapplication.cpp:3828
#34 0x08049d46 in main (argc=1, argv=0xbf96ab84) at /home/lacsilva/Development/kdepim.d/kdepim/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Laurent Montel 2014-02-19 07:44:13 UTC
please update your kdepim + baloo.
Comment 2 Luis Silva 2014-02-19 21:57:01 UTC
Bug fixed in master.