Bug 162313 - Crash when checking mail
Summary: Crash when checking mail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 16:31 UTC by András Manţia
Modified: 2008-06-21 22:01 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 András Manţia 2008-05-19 16:31:48 UTC
I just saw a crash when checking mail (without doing anything else in KMail).
The progress bar shown "foldername: Checking permissions" for some seconds and
after that it crashed. BT:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  Application: KMail (kmail), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f8e7ac26700 (LWP 32377)]
[New Thread 0x4182f950 (LWP 32414)]
[KCrash handler]
#5  0x00007f8e75813b02 in QBasicAtomicInt::ref (this=0x300000000)
    at /usr/include/QtCore/qatomic_x86_64.h:123
#6  0x00007f8e75814022 in QString (this=0x7fff82c876f0, other=@0x7f8e73681708)
    at /usr/include/QtCore/qstring.h:677
#7  0x00007f8e758d920c in KIO::Slave::slaveProtocol (this=0x8fcd50)
    at /data/development/sources/kde-trunk/kdelibs/kio/kio/slave.cpp:188
#8  0x00007f8e758d0fd7 in KIO::SchedulerPrivate::assignJobToSlave (
    this=0xf50cb0, slave=0x8fcd50, job=0x2410e30)
    at /data/development/sources/kde-trunk/kdelibs/kio/kio/scheduler.cpp:940
#9  0x00007f8e758d370e in KIO::Scheduler::assignJobToSlave (slave=0x8fcd50, 
    job=0x2410e30)
    at /data/development/sources/kde-trunk/kdelibs/kio/kio/scheduler.cpp:291
#10 0x00007f8e7a3b3528 in KMail::ImapAccountBase::slotNoopTimeout (
    this=0xf68060)
    at /data/development/sources/kde-trunk/kdepim/kmail/imapaccountbase.cpp:581
#11 0x00007f8e7a3b780c in KMail::ImapAccountBase::qt_metacall (this=0xf68060, 
    _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fff82c87950)
    at /data/development/build/kde-trunk/kdepim/kmail/imapaccountbase.moc:134
#12 0x00007f8e7a3c7853 in KMAcctCachedImap::qt_metacall (this=0xf68060, 
    _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff82c87950)
    at /data/development/build/kde-trunk/kdepim/kmail/kmacctcachedimap.moc:77
#13 0x00007f8e7336d40f in QMetaObject::activate (sender=0xf68190, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at /data/development/sources/kde-trunk/qt-
#14 0x00007f8e7336d9e1 in QMetaObject::activate (sender=0xf68190, 
    m=0x7f8e7367d280, local_signal_index=0, argv=0x0)
    at /data/development/sources/kde-trunk/qt-
#15 0x00007f8e733b8898 in QTimer::timeout (this=0xf68190)
    at .moc/debug-shared/moc_qtimer.cpp:126
#16 0x00007f8e73378908 in QTimer::timerEvent (this=0xf68190, e=0x7fff82c882f0)
    at /data/development/sources/kde-trunk/qt-
#17 0x00007f8e7336ad38 in QObject::event (this=0xf68190, e=0x7fff82c882f0)
    at /data/development/sources/kde-trunk/qt-
#18 0x00007f8e6f9011b7 in QApplicationPrivate::notify_helper (this=0x634e40, 
    receiver=0xf68190, e=0x7fff82c882f0)
    at /data/development/sources/kde-trunk/qt-
#19 0x00007f8e6f9014d3 in QApplication::notify (this=0x7fff82c88850, 
    receiver=0xf68190, e=0x7fff82c882f0)
    at /data/development/sources/kde-trunk/qt-
#20 0x00007f8e74f02e3e in KApplication::notify (this=0x7fff82c88850, 
    receiver=0xf68190, event=0x7fff82c882f0)
    at /data/development/sources/kde-
#21 0x00007f8e73353f64 in QCoreApplication::notifyInternal (
    this=0x7fff82c88850, receiver=0xf68190, event=0x7fff82c882f0)
    at /data/development/sources/kde-trunk/qt-
#22 0x00007f8e77002a59 in QCoreApplication::sendEvent (receiver=0xf68190, 
    event=0x7fff82c882f0)
    at ../../include/QtCore/../../../../../sources/kde-trunk/qt-
#23 0x00007f8e7338e4ab in QTimerInfoList::activateTimers (this=0x6384e0)
    at /data/development/sources/kde-trunk/qt-
#24 0x00007f8e7338bbe7 in timerSourceDispatch (source=0x638480)
    at /data/development/sources/kde-trunk/qt-
#25 0x00007f8e6b57e93a in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#26 0x00007f8e6b582040 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f8e6b5821dc in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#28 0x00007f8e7338ac0e in QEventDispatcherGlib::processEvents (this=0x627290, 
    flags={i = -2100787888})
    at /data/development/sources/kde-trunk/qt-
#29 0x00007f8e6f9c13bb in QGuiEventDispatcherGlib::processEvents (
    this=0x627290, flags={i = -2100787792})
    at /data/development/sources/kde-trunk/qt-
#30 0x00007f8e733505f7 in QEventLoop::processEvents (this=0x7fff82c88670, 
    flags={i = -2100787680})
    at /data/development/sources/kde-trunk/qt-
#31 0x00007f8e733507f4 in QEventLoop::exec (this=0x7fff82c88670, flags=
      {i = -2100787584})
    at /data/development/sources/kde-trunk/qt-
#32 0x00007f8e733549e5 in QCoreApplication::exec ()
    at /data/development/sources/kde-trunk/qt-
#33 0x00007f8e6f900f14 in QApplication::exec ()
    at /data/development/sources/kde-trunk/qt-
#34 0x0000000000403ed7 in main (argc=3, argv=0x7fff82c889e8)
    at /data/development/sources/kde-trunk/kdepim/kmail/main.cpp:130
#0  0x00007f8e6d7901c1 in nanosleep () from /lib64/libc.so.6
Comment 1 András Manţia 2008-05-19 16:32:29 UTC
SOrry, copy/paste from http://rafb.net seems to not work correctly..
Comment 2 Jean-Baptiste Mardelle 2008-05-20 00:46:23 UTC
Not sure it is the same bug but I am experiencing similar problem: disconnected IMAP in svn trunk stopped working correctly about one week ago. Mail checking always hangs with message:

Checking folder validity

If I try to stop the task from KMail's progress list, it crashes with following backtrace:

Application: KMail (kmail), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb44bf940 (LWP 9813)]
[KCrash handler]
#6  0xb7a0920a in KJob::error (this=0xbfc46f28)
    at .../kdesvn/kdelibs/kdecore/jobs/kjob.cpp:199
#7  0xb7456ab4 in KMAcctCachedImap::killAllJobs (this=0x81cec30, 
    disconnectSlave=<value optimized out>)
    at .../kdesvn/kdepim/kmail/kmacctcachedimap.cpp:108
#8  0xb7456e75 in KMAcctCachedImap::slotProgressItemCanceled (this=0x81cec30)
    at .../kdesvn/kdepim/kmail/kmacctcachedimap.cpp:450
#9  0xb7456fac in KMAcctCachedImap::qt_metacall (this=0x81cec30, 
    _c=QMetaObject::InvokeMetaMethod, _id=-2, _a=0xbfc4706c)
    at .../kdesvn/build/kdepim/kmail/kmacctcachedimap.moc:83
#10 0xb7e5830a in QMetaObject::activate (sender=0x8830958, 
    from_signal_index=7, to_signal_index=7, argv=0xbfc4706c)
    at .../kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3007
#11 0xb7e58752 in QMetaObject::activate (sender=0x8830958, m=0xb6939288, 
    local_signal_index=3, argv=0xbfc4706c)
    at .../kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3080
#12 0xb68bfd13 in KPIM::ProgressItem::progressItemCanceled (this=0x8830958, 
    _t1=0x8830958)
    at .../kdesvn/build/kdepim/libkdepim/progressmanager.moc:116
#13 0xb68c0c92 in KPIM::ProgressItem::cancel (this=0x8830958)
    at .../kdesvn/kdepim/libkdepim/progressmanager.cpp:97
#14 0xb68c1f24 in KPIM::TransactionItem::slotItemCanceled (this=0x8842828)
    at .../kdesvn/kdepim/libkdepim/progressdialog.cpp:233
#15 0xb68c1f83 in KPIM::TransactionItem::qt_metacall (this=0x8842828, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc471ec)
    at .../kdesvn/build/kdepim/libkdepim/progressdialog.moc:117
#16 0xb7e5830a in QMetaObject::activate (sender=0x8830a98, 
    from_signal_index=29, to_signal_index=30, argv=0xbfc471ec)
    at .../kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3007
#17 0xb7e58660 in QMetaObject::activate (sender=0x8830a98, m=0xb58dd124, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfc471ec)
    at .../kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3100
#18 0xb5817081 in QAbstractButton::clicked (this=0x8830a98, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:185
#19 0xb55bf1f9 in QAbstractButtonPrivate::emitClicked (this=0x8839030)
    at .../kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:543
#20 0xb55bf8b0 in QAbstractButtonPrivate::click (this=0x8839030)
    at .../kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:536
#21 0xb55bfaeb in QAbstractButton::mouseReleaseEvent (this=0x8830a98, 
    e=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1112
#22 0xb531ac4a in QWidget::event (this=0x8830a98, event=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:6927
#23 0xb55c014f in QAbstractButton::event (this=0x8830a98, e=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1074
#24 0xb5651142 in QPushButton::event (this=0x8830a98, e=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/widgets/qpushbutton.cpp:658
#25 0xb52cbbfc in QApplicationPrivate::notify_helper (this=0x806b468, 
    receiver=0x8830a98, e=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3772
#26 0xb52d2c25 in QApplication::notify (this=0xbfc47fd8, receiver=0x8830a98, 
    e=0xbfc477ac)
    at .../kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3501
#27 0xb6695f4d in KApplication::notify (this=0xbfc47fd8, receiver=0x8830a98, 
    event=0xbfc477ac)
    at .../kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#28 0xb7e47be9 in QCoreApplication::notifyInternal (this=0xbfc47fd8, 
    receiver=0x8830a98, event=0xbfc477ac)
    at .../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#29 0xb52d1cf0 in QApplicationPrivate::sendMouseEvent (receiver=0x8830a98, 
    event=0xbfc477ac, alienWidget=0x8830a98, nativeWidget=0x82048f8, 
    buttonDown=0xb58e8cb0, lastMouseReceiver=@0xb58e8cb4)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#30 0xb532d90d in QETWidget::translateMouseEvent (this=0x82048f8, 
    event=0xbfc47cb8)
    at .../kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4133
#31 0xb532cff7 in QApplication::x11ProcessEvent (this=0xbfc47fd8, 
    event=0xbfc47cb8)
    at .../kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3133
#32 0xb5351b4a in x11EventSourceDispatch (s=0x806e238, callback=0, 
    user_data=0x0)
    at .../kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148
#33 0xb4baebf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb4bb1e5e in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x0806ccc0 in ?? ()
#36 0x00000000 in ?? ()
#0  0xb7eea410 in __kernel_vsyscall ()
Comment 3 Jean-Baptiste Mardelle 2008-05-20 17:22:00 UTC
The hanging problem was fixed by commit #810351 
( http://websvn.kde.org/?view=rev&revision=810351 ).

For me the bug can be closed.
Comment 4 FiNeX 2008-06-21 11:52:46 UTC
@Andras: did you have still crash using recent revisions?
Comment 5 András Manţia 2008-06-21 22:01:34 UTC
No, I did not see this lately, let's close it. Thanks for reminding me about.