Bug 193243 - Crash when clicking on "rebuid index" or "refresh cache" afet a computer freeze.
Summary: Crash when clicking on "rebuid index" or "refresh cache" afet a computer freeze.
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 193688 194855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-19 14:35 UTC by Gael Beaudoin
Modified: 2009-06-01 12:03 UTC (History)
2 users (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 Gael Beaudoin 2009-05-19 14:35:26 UTC
Version:            (using KDE 4.2.3)
OS:                Linux
Installed from:    Ubuntu Packages

It's related to this bug : https://bugs.kde.org/show_bug.cgi?id=193212

My computer crashed and then I guess the cache / index was in a bad state. KMail should avoid crashing though.

In this case, it's when right clicking on "Repair imap cache" (or something like that, it's in french here) and clicking on one of the two option "rebuid index" or "refresh cache" (just clicking them, no need to hit ok).

Another crash when I try to refresh the cache :

See the backtrace :

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

Thread 2 (Thread 0xac684b90 (LWP 4969)):
#0  0xb7f9b430 in __kernel_vsyscall ()
#1  0xb500d412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb5bec344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5dd898c in QWaitCondition::wait (this=0x985b8b8, mutex=0x985b8b4,
time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb5dcde76 in QThreadPoolThread::run (this=0x985b9a8) at
concurrent/qthreadpool.cpp:140
#5  0xb5dd796e in QThreadPrivate::start (arg=0x985b9a8) at
thread/qthread_unix.cpp:189
#6  0xb50094ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb5bdd49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3bffb40 (LWP 4965)):
[KCrash Handler]
#6  QAbstractButton::isChecked (this=0xbfbb5030) at
widgets/qabstractbutton.cpp:766
#7  0xb746f409 in DImapTroubleShootDialog::qt_metacall (this=0xbfbb5030,
_c=QMetaObject::InvokeMetaMethod, _id=-1078243280, _a=0xbfbb416c)
    at
/build/buildd/kdepim-4.2.3/obj-i486-linux-gnu/kmail/kmfoldercachedimap.moc:69
#8  0xb5ee1ca8 in QMetaObject::activate (sender=0x9a691a0, from_signal_index=5,
to_signal_index=5, argv=0xbfbb416c) at kernel/qobject.cpp:3069
#9  0xb5ee2932 in QMetaObject::activate (sender=0x9a691a0, m=0xb6a16178,
local_signal_index=1, argv=0xbfbb416c) at kernel/qobject.cpp:3143
#10 0xb682eed3 in QButtonGroup::buttonClicked (this=0x9a691a0, _t1=-1) at
.moc/release-shared/moc_qbuttongroup.cpp:128
#11 0xb655a0e8 in QAbstractButtonPrivate::emitClicked (this=0x972e268) at
widgets/qabstractbutton.cpp:546
#12 0xb655bd14 in QAbstractButtonPrivate::click (this=0x972e268) at
widgets/qabstractbutton.cpp:536
#13 0xb655bfa6 in QAbstractButton::mouseReleaseEvent (this=0x972e250,
e=0xbfbb4748) at widgets/qabstractbutton.cpp:1115
#14 0xb61cfb43 in QWidget::event (this=0x972e250, event=0xbfbb4748) at
kernel/qwidget.cpp:7516
#15 0xb6559f5e in QAbstractButton::event (this=0x972e250, e=0xbfbb4748) at
widgets/qabstractbutton.cpp:1077
#16 0xb66057b6 in QRadioButton::event (this=0x972e250, e=0xbfbb4748) at
widgets/qradiobutton.cpp:257
#17 0xb6178e9c in QApplicationPrivate::notify_helper (this=0x879d790,
receiver=0x972e250, e=0xbfbb4748) at kernel/qapplication.cpp:4084
#18 0xb6181b11 in QApplication::notify (this=0xbfbb7468, receiver=0x972e250,
e=0xbfbb4748) at kernel/qapplication.cpp:3786
#19 0xb7dd5e5d in KApplication::notify (this=0xbfbb7468, receiver=0x972e250,
event=0xbfbb4748) at
/build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#20 0xb5ecba3b in QCoreApplication::notifyInternal (this=0xbfbb7468,
receiver=0x972e250, event=0xbfbb4748) at kernel/qcoreapplication.cpp:602
#21 0xb6180b7e in QApplicationPrivate::sendMouseEvent (receiver=0x972e250,
event=0xbfbb4748, alienWidget=0x972e250, nativeWidget=0xbfbb5030,
buttonDown=0xb6a23200, lastMouseReceiver=@0xb6a23204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#22 0xb61f097e in QETWidget::translateMouseEvent (this=0xbfbb5030,
event=0xbfbb4d8c) at kernel/qapplication_x11.cpp:4425
#23 0xb61efca7 in QApplication::x11ProcessEvent (this=0xbfbb7468,
event=0xbfbb4d8c) at kernel/qapplication_x11.cpp:3421
#24 0xb621ac6a in x11EventSourceDispatch (s=0x879c9e8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0xb4300b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb43040eb in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4304268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb5ef7438 in QEventDispatcherGlib::processEvents (this=0x87825a8, flags={i
= -1078243512}) at kernel/qeventdispatcher_glib.cpp:323
#29 0xb621a365 in QGuiEventDispatcherGlib::processEvents (this=0x87825a8,
flags={i = -1078243464}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb5eca06a in QEventLoop::processEvents (this=0xbfbb4fec, flags={i =
-1078243400}) at kernel/qeventloop.cpp:149
#31 0xb5eca4aa in QEventLoop::exec (this=0xbfbb4fec, flags={i = -1078243340})
at kernel/qeventloop.cpp:200
#32 0xb6693403 in QDialog::exec (this=0xbfbb5030) at dialogs/qdialog.cpp:498
#33 0xb7470275 in DImapTroubleShootDialog::run () at
/build/buildd/kdepim-4.2.3/kmail/kmfoldercachedimap.cpp:178
#34 0xb74771ac in KMFolderCachedImap::slotTroubleshoot (this=0x8a07848) at
/build/buildd/kdepim-4.2.3/kmail/kmfoldercachedimap.cpp:727
#35 0xb748d98c in KMFolderCachedImap::qt_metacall (this=0x8a07848,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfbb522c)
    at
/build/buildd/kdepim-4.2.3/obj-i486-linux-gnu/kmail/kmfoldercachedimap.moc:225
#36 0xb5ee1ca8 in QMetaObject::activate (sender=0x971c888, from_signal_index=5,
to_signal_index=6, argv=0xbfbb522c) at kernel/qobject.cpp:3069
#37 0xb5ee20e0 in QMetaObject::activate (sender=0x971c888, m=0xb6a05008,
from_local_signal_index=1, to_local_signal_index=2, argv=0xbfbb522c) at
kernel/qobject.cpp:3163
#38 0xb6172891 in QAction::triggered (this=0x971c888, _t1=false) at
.moc/release-shared/moc_qaction.cpp:236
#39 0xb6173e0f in QAction::activate (this=0x971c888, event=QAction::Trigger) at
kernel/qaction.cpp:1160
#40 0xb65ee01c in QMenuPrivate::activateCausedStack (this=0x87c5ad0,
causedStack=@0xbfbb5308, action=0x971c888, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:962
#41 0xb65f476b in QMenuPrivate::activateAction (this=0x87c5ad0,
action=0x971c888, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1058
#42 0xb65f5242 in QMenu::mouseReleaseEvent (this=0x95c38e8, e=0xbfbb5948) at
widgets/qmenu.cpp:2252
#43 0xb7ebcf25 in KMenu::mouseReleaseEvent (this=0x95c38e8, e=0xbfbb5948) at
/build/buildd/kde4libs-4.2.3/kdeui/widgets/kmenu.cpp:454
#44 0xb61cfb43 in QWidget::event (this=0x95c38e8, event=0xbfbb5948) at
kernel/qwidget.cpp:7516
#45 0xb65f7629 in QMenu::event (this=0x95c38e8, e=0xbfbb5948) at
widgets/qmenu.cpp:2351
#46 0xb6178e9c in QApplicationPrivate::notify_helper (this=0x879d790,
receiver=0x95c38e8, e=0xbfbb5948) at kernel/qapplication.cpp:4084
#47 0xb6181b11 in QApplication::notify (this=0xbfbb7468, receiver=0x95c38e8,
e=0xbfbb5948) at kernel/qapplication.cpp:3786
#48 0xb7dd5e5d in KApplication::notify (this=0xbfbb7468, receiver=0x95c38e8,
event=0xbfbb5948) at
/build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#49 0xb5ecba3b in QCoreApplication::notifyInternal (this=0xbfbb7468,
receiver=0x95c38e8, event=0xbfbb5948) at kernel/qcoreapplication.cpp:602
#50 0xb6180b7e in QApplicationPrivate::sendMouseEvent (receiver=0x95c38e8,
event=0xbfbb5948, alienWidget=0x0, nativeWidget=0x95c38e8,
buttonDown=0xb6a23200, lastMouseReceiver=@0xb6a23204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#51 0xb61f0c06 in QETWidget::translateMouseEvent (this=0x95c38e8,
event=0xbfbb5f8c) at kernel/qapplication_x11.cpp:4359
#52 0xb61efca7 in QApplication::x11ProcessEvent (this=0xbfbb7468,
event=0xbfbb5f8c) at kernel/qapplication_x11.cpp:3421
#53 0xb621ac6a in x11EventSourceDispatch (s=0x879c9e8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb4300b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb43040eb in ?? () from /usr/lib/libglib-2.0.so.0
#56 0xb4304268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0xb5ef7438 in QEventDispatcherGlib::processEvents (this=0x87825a8, flags={i
= -1078238904}) at kernel/qeventdispatcher_glib.cpp:323
#58 0xb621a365 in QGuiEventDispatcherGlib::processEvents (this=0x87825a8,
flags={i = -1078238856}) at kernel/qguieventdispatcher_glib.cpp:202
#59 0xb5eca06a in QEventLoop::processEvents (this=0xbfbb61ec, flags={i =
-1078238792}) at kernel/qeventloop.cpp:149
#60 0xb5eca4aa in QEventLoop::exec (this=0xbfbb61ec, flags={i = -1078238732})
at kernel/qeventloop.cpp:200
#61 0xb65f7361 in QMenu::exec (this=0x95c38e8, p=@0xbfbb6b08, action=0x0) at
widgets/qmenu.cpp:1991
#62 0xb73145ee in KMail::FolderView::contextMenuEvent (this=0x8d87e78,
e=0xbfbb6af0) at /build/buildd/kdepim-4.2.3/kmail/folderview.cpp:1567
#63 0xb61d022c in QWidget::event (this=0x8d87e78, event=0xbfbb6af0) at
kernel/qwidget.cpp:7675
#64 0xb65a9993 in QFrame::event (this=0x8d87e78, e=0xbfbb6af0) at
widgets/qframe.cpp:559
#65 0xb664994f in QAbstractScrollArea::viewportEvent (this=0x8d87e78,
e=0xb5fc0a00) at widgets/qabstractscrollarea.cpp:962
#66 0xb66fb647 in QAbstractItemView::viewportEvent (this=0x8d87e78,
event=0xbfbb6af0) at itemviews/qabstractitemview.cpp:1466
#67 0xb67360c4 in QTreeView::viewportEvent (this=0x8d87e78, event=0xbfbb6af0)
at itemviews/qtreeview.cpp:1257
#68 0xb664bf55 in QAbstractScrollAreaFilter::eventFilter (this=0x8d5def8,
o=0x8d881d8, e=0xbfbb6af0) at widgets/qabstractscrollarea_p.h:100
#69 0xb5ecac5a in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x879d790, receiver=0x8d881d8, event=0xbfbb6af0) at
kernel/qcoreapplication.cpp:718
#70 0xb6178e7a in QApplicationPrivate::notify_helper (this=0x879d790,
receiver=0x8d881d8, e=0xbfbb6af0) at kernel/qapplication.cpp:4080
#71 0xb61816dd in QApplication::notify (this=0xbfbb7468, receiver=0x8d881d8,
e=0xbfbb6af0) at kernel/qapplication.cpp:3873
#72 0xb7dd5e5d in KApplication::notify (this=0xbfbb7468, receiver=0x8d881d8,
event=0xbfbb6af0) at
/build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#73 0xb5ecba3b in QCoreApplication::notifyInternal (this=0xbfbb7468,
receiver=0x8d881d8, event=0xbfbb6af0) at kernel/qcoreapplication.cpp:602
#74 0xb6183fee in QCoreApplication::sendSpontaneousEvent (receiver=0x8d881d8,
event=0xb5fc0a00) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#75 0xb61f1167 in QETWidget::translateMouseEvent (this=0x8795270,
event=0xbfbb710c) at kernel/qapplication_x11.cpp:4431
#76 0xb61efca7 in QApplication::x11ProcessEvent (this=0xbfbb7468,
event=0xbfbb710c) at kernel/qapplication_x11.cpp:3421
#77 0xb621ac6a in x11EventSourceDispatch (s=0x879c9e8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0xb4300b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#79 0xb43040eb in ?? () from /usr/lib/libglib-2.0.so.0
#80 0xb4304268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#81 0xb5ef7438 in QEventDispatcherGlib::processEvents (this=0x87825a8, flags={i
= -1078234424}) at kernel/qeventdispatcher_glib.cpp:323
#82 0xb621a365 in QGuiEventDispatcherGlib::processEvents (this=0x87825a8,
flags={i = -1078234376}) at kernel/qguieventdispatcher_glib.cpp:202
#83 0xb5eca06a in QEventLoop::processEvents (this=0xbfbb7370, flags={i =
-1078234312}) at kernel/qeventloop.cpp:149
#84 0xb5eca4aa in QEventLoop::exec (this=0xbfbb7370, flags={i = -1078234248})
at kernel/qeventloop.cpp:200
#85 0xb5ecc959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#86 0xb6178d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#87 0x0804a7a0 in main (argc=-1241773568, argv=0xb5fc0a00) at
/build/buildd/kdepim-4.2.3/kmail/main.cpp:146
Comment 1 Thomas McGuire 2009-05-19 16:11:33 UTC
This has already been fixed recently.
Comment 2 Christophe Marin 2009-05-23 16:53:19 UTC
*** Bug 193688 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2009-06-01 12:03:22 UTC
*** Bug 194855 has been marked as a duplicate of this bug. ***