Bug 180575

Summary: Kmail crashes right after clicking the "Open Full Search" button
Product: [Unmaintained] kmail Reporter: rusconi <listes.rusconi>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: christophe, listes.rusconi
Priority: NOR    
Version: 1.11.90   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rusconi 2009-01-13 19:40:19 UTC
Version:           KMail Version 1.11.90 Using KDE 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106)) (using Devel)
Compiler:          g++ (Debian 4.3.2-1.1) 4.3.2 
OS:                Linux
Installed from:    Compiled sources

Short description says it all. There were messages to look into, not that the messages view was empty.

Application: KMail (kmail), signal SIGSEGV
[Current thread is 0 (LWP 5046)]

Thread 2 (Thread 0xb0de4b90 (LWP 5201)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5efd9f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb6b702df in QProcessManager::run (this=0x8075578) at io/qprocess_unix.cpp:301
#3  0xb6a9d631 in QThreadPrivate::start (arg=0x8075578) at thread/qthread_unix.cpp:185
#4  0xb6a0a4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb5f0561e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3f13a10 (LWP 5046)):
[KCrash Handler]
#6  0xb7761b95 in KMail::FolderRequester::setFolderTree (this=0x0, tree=0x824a5a0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/folderrequester.cpp:73
#7  0xb75dd577 in SearchWindow (this=0x8556e40, w=0x81f0108, curFolder=0x829ace0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/searchwindow.cpp:152
#8  0xb76a099e in KMMainWidget::slotSearch (this=0x81f0108) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwidget.cpp:959
#9  0xb76a0b13 in KMMainWidget::slotRequestFullSearchFromQuickSearch (this=0x81f0108) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwidget.cpp:5055
#10 0xb76a8a9a in KMMainWidget::qt_metacall (this=0x81f0108, _c=QMetaObject::InvokeMetaMethod, _id=158, _a=0xbfe8c814) at /home/kde-devel/kde/build/KDE/kdepim/kmail/kmmainwidget.moc:503
#11 0xb6ba11de in QMetaObject::activate (sender=0x81f08f0, from_signal_index=71, to_signal_index=71, argv=0x0) at kernel/qobject.cpp:3028
#12 0xb6ba166b in QMetaObject::activate (sender=0x81f08f0, m=0xb7a1a8b8, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3101
#13 0xb7364291 in KMail::MessageListView::Pane::fullSearchRequest (this=0x81f08f0) at /home/kde-devel/kde/build/KDE/kdepim/kmail/moc_pane.cpp:157
#14 0xb73653e2 in KMail::MessageListView::Pane::qt_metacall (this=0x81f08f0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfe8c914) at /home/kde-devel/kde/build/KDE/kdepim/kmail/moc_pane.cpp:103
#15 0xb6ba11de in QMetaObject::activate (sender=0x82b7f00, from_signal_index=27, to_signal_index=27, argv=0x0) at kernel/qobject.cpp:3028
#16 0xb6ba166b in QMetaObject::activate (sender=0x82b7f00, m=0xb7a1a928, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#17 0xb736410b in KMail::MessageListView::Core::Widget::fullSearchRequest (this=0x82b7f00) at /home/kde-devel/kde/build/KDE/kdepim/kmail/moc_widgetbase.cpp:135
#18 0xb7364522 in KMail::MessageListView::Core::Widget::qt_metacall (this=0x82b7f00, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe8cacc)
    at /home/kde-devel/kde/build/KDE/kdepim/kmail/moc_widgetbase.cpp:105
#19 0xb7364a8a in KMail::MessageListView::Widget::qt_metacall (this=0x82b7f00, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfe8cacc) at /home/kde-devel/kde/build/KDE/kdepim/kmail/moc_widget.cpp:74
#20 0xb6ba11de in QMetaObject::activate (sender=0x82ccee8, from_signal_index=29, to_signal_index=30, argv=0xbfe8cacc) at kernel/qobject.cpp:3028
#21 0xb6ba13f6 in QMetaObject::activate (sender=0x82ccee8, m=0xb68e9d64, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfe8cacc) at kernel/qobject.cpp:3121
#22 0xb6808e3c in QAbstractButton::clicked (this=0x82ccee8, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#23 0xb656825a in QAbstractButtonPrivate::emitClicked (this=0x82d7050) at widgets/qabstractbutton.cpp:538
#24 0xb65694ea in QAbstractButtonPrivate::click (this=0x82d7050) at widgets/qabstractbutton.cpp:531
#25 0xb6569796 in QAbstractButton::mouseReleaseEvent (this=0x82ccee8, e=0xbfe8d284) at widgets/qabstractbutton.cpp:1110
#26 0xb664c8aa in QToolButton::mouseReleaseEvent (this=0x82ccee8, e=0xbfe8d284) at widgets/qtoolbutton.cpp:671
#27 0xb62511c4 in QWidget::event (this=0x82ccee8, event=0xbfe8d284) at kernel/qwidget.cpp:7163
#28 0xb65681f5 in QAbstractButton::event (this=0x82ccee8, e=0xbfe8d284) at widgets/qabstractbutton.cpp:1072
#29 0xb664b35a in QToolButton::event (this=0x82ccee8, e=0xbfe8d284) at widgets/qtoolbutton.cpp:1103
#30 0xb61f5479 in QApplicationPrivate::notify_helper (this=0x8072538, receiver=0x82ccee8, e=0xbfe8d284) at kernel/qapplication.cpp:3803
#31 0xb61f5ff7 in QApplication::notify (this=0xbfe8dac8, receiver=0x82ccee8, e=0xbfe8d284) at kernel/qapplication.cpp:3528
#32 0xb7e1ed97 in KApplication::notify (this=0xbfe8dac8, receiver=0x82ccee8, event=0xbfe8d284) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#33 0xb6b8cb2f in QCoreApplication::notifyInternal (this=0xbfe8dac8, receiver=0x82ccee8, event=0xbfe8d284) at kernel/qcoreapplication.cpp:583
#34 0xb6201341 in QCoreApplication::sendSpontaneousEvent (receiver=0x82ccee8, event=0xbfe8d284) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#35 0xb61f9e4e in QApplicationPrivate::sendMouseEvent (receiver=0x82ccee8, event=0xbfe8d284, alienWidget=0x82ccee8, nativeWidget=0x8066cb8, buttonDown=0xb68f7400, lastMouseReceiver=@0xb68f7404)
    at kernel/qapplication.cpp:2793
#36 0xb627061e in QETWidget::translateMouseEvent (this=0x8066cb8, event=0xbfe8d760) at kernel/qapplication_x11.cpp:4044
#37 0xb627130f in QApplication::x11ProcessEvent (this=0xbfe8dac8, event=0xbfe8d760) at kernel/qapplication_x11.cpp:3040
#38 0xb629aa56 in x11EventSourceDispatch (s=0x80752d8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#39 0xb45721b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb4575853 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x08074698 in ?? ()
#42 0x00000000 in ?? ()
Comment 1 rusconi 2009-01-13 19:54:31 UTC
Same happens when choosing the Edit->Find Messages menu item:

Application: KMail (kmail), signal SIGSEGV
[Current thread is 0 (LWP 5551)]

Thread 2 (Thread 0xb0d1fb90 (LWP 5664)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5e759f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb6ae82df in QProcessManager::run (this=0x8075700) at io/qprocess_unix.cpp:301
#3  0xb6a15631 in QThreadPrivate::start (arg=0x8075700) at thread/qthread_unix.cpp:185
#4  0xb69824c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb5e7d61e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3e8ba10 (LWP 5551)):
[KCrash Handler]
#6  0xb76d9b95 in KMail::FolderRequester::setFolderTree (this=0x100, tree=0x82501c8) at /home/kde-devel/kde/src/KDE/kdepim/kmail/folderrequester.cpp:73
#7  0xb7555577 in SearchWindow (this=0x866fa60, w=0x81f7d88, curFolder=0x821bd80) at /home/kde-devel/kde/src/KDE/kdepim/kmail/searchwindow.cpp:152
#8  0xb761899e in KMMainWidget::slotSearch (this=0x81f7d88) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwidget.cpp:959
#9  0xb7618b13 in KMMainWidget::slotRequestFullSearchFromQuickSearch (this=0x81f7d88) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwidget.cpp:5055
#10 0xb7620a9a in KMMainWidget::qt_metacall (this=0x81f7d88, _c=QMetaObject::InvokeMetaMethod, _id=158, _a=0xbfb3627c) at /home/kde-devel/kde/build/KDE/kdepim/kmail/kmmainwidget.moc:503
#11 0xb6b191de in QMetaObject::activate (sender=0x83e74f8, from_signal_index=5, to_signal_index=6, argv=0xbfb3627c) at kernel/qobject.cpp:3028
#12 0xb6b193f6 in QMetaObject::activate (sender=0x83e74f8, m=0xb6851738, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfb3627c) at kernel/qobject.cpp:3121
#13 0xb616594a in QAction::triggered (this=0x83e74f8, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216
#14 0xb61674f8 in QAction::activate (this=0x83e74f8, event=QAction::Trigger) at kernel/qaction.cpp:1125
#15 0xb657ebcf in QMenuPrivate::activateAction (this=0x8474960, action=0x83e74f8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#16 0xb65806bf in QMenu::mouseReleaseEvent (this=0x83e8e10, e=0xbfb36ab4) at widgets/qmenu.cpp:2169
#17 0xb7e784a6 in KMenu::mouseReleaseEvent (this=0x83e8e10, e=0xbfb36ab4) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:454
#18 0xb61c91c4 in QWidget::event (this=0x83e8e10, event=0xbfb36ab4) at kernel/qwidget.cpp:7163
#19 0xb657e7ba in QMenu::event (this=0x83e8e10, e=0xbfb36ab4) at widgets/qmenu.cpp:2265
#20 0xb616d479 in QApplicationPrivate::notify_helper (this=0x8072460, receiver=0x83e8e10, e=0xbfb36ab4) at kernel/qapplication.cpp:3803
#21 0xb616dff7 in QApplication::notify (this=0xbfb373b8, receiver=0x83e8e10, e=0xbfb36ab4) at kernel/qapplication.cpp:3528
#22 0xb7d96d97 in KApplication::notify (this=0xbfb373b8, receiver=0x83e8e10, event=0xbfb36ab4) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#23 0xb6b04b2f in QCoreApplication::notifyInternal (this=0xbfb373b8, receiver=0x83e8e10, event=0xbfb36ab4) at kernel/qcoreapplication.cpp:583
#24 0xb6179341 in QCoreApplication::sendSpontaneousEvent (receiver=0x83e8e10, event=0xbfb36ab4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#25 0xb6171e4e in QApplicationPrivate::sendMouseEvent (receiver=0x83e8e10, event=0xbfb36ab4, alienWidget=0x0, nativeWidget=0x83e8e10, buttonDown=0xb686f400, lastMouseReceiver=@0xb686f404)
    at kernel/qapplication.cpp:2793
#26 0xb61e837a in QETWidget::translateMouseEvent (this=0x83e8e10, event=0xbfb37050) at kernel/qapplication_x11.cpp:3978
#27 0xb61e930f in QApplication::x11ProcessEvent (this=0xbfb373b8, event=0xbfb37050) at kernel/qapplication_x11.cpp:3040
#28 0xb6212a56 in x11EventSourceDispatch (s=0x8075460, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#29 0xb44ea1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb44ed853 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x08074898 in ?? ()
#32 0x00000000 in ?? ()

Comment 2 Christophe Marin 2009-02-14 19:58:13 UTC
I'm not able to reproduce this crash with the SVN version.

Does it occur with a particular account ? (pop? imap? dimap?)

Comment 3 Christophe Marin 2009-03-09 10:21:54 UTC
Changing this bug status until we get some feedback (comment #2)
Comment 4 Myriam Schweingruber 2012-08-21 07:45:27 UTC
Closing based on comment #2