Bug 206707 - crash when accessing mailbox after network change
Summary: crash when accessing mailbox after network change
Status: RESOLVED DUPLICATE of bug 191589
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 03:49 UTC by Sten Heinze
Modified: 2009-09-08 09:27 UTC (History)
0 users

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 Sten Heinze 2009-09-08 03:49:43 UTC
Version:           KMail 1.12.1/KDE 4.3.1 (using KDE 4.3.1)
Compiler:          gcc version 4.3.4 (Debian 4.3.4-1)
 
OS:                Linux
Installed from:    Debian testing/unstable Packages

While connected to the network (before moving the laptop), KMail works fine. After I moved my laptop to a new location, connected it, and try to syncronize with my mailbox (disconnected IMAP), KMail crashed.

Currently I have KMail set to not automatically check for new mail, and so iirc this crash only happens if no timeout occured between my last check in the old location and the first check in the new locaiton (timeouts happens regularly for me, even if I do not change the network). The internet in the new location is working of course (tested e.g. with Konqueror). I can reproduce it by just using wired networks, no wireless involved.

It seems, that KMail is assuming it is still on the old network, and directly tries to access the IMAP folders. After a timeout or after startup, a sync process always starts with 'connecting to mailbox'. I do not see this in the crash case.

I hope the captured backtrace (at the end of the report) is helpful for someone, but I can always try to get a better one, if I get some hints.

The expected behavior is that locally stored mail is syncronized with the IMAP mailbox without crash.

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb52ab10d in KIO::Slave::deref() () from /usr/lib/libkio.so.5
#7  0xb52ab90c in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#8  0xb52adde3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#9  0xb6f8db33 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0xb6f8e782 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb51b7937 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#12 0xb51b9243 in ?? () from /usr/lib/libkio.so.5
#13 0xb51b9626 in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#14 0xb6f8733b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#15 0xb6f88e10 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#16 0xb65b8814 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb65c097e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb7d1c4ad in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb6f789cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb6f7960e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#21 0xb6f797ed in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#22 0xb6fa3c0f in ?? () from /usr/lib/libQtCore.so.4
#23 0xb46a7368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb46aa8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb46aaa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb6fa3858 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb6657fd5 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb6f7701a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb6f77462 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb6a9d193 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#31 0xb7c9877c in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) ()
   from /usr/lib/libkdeui.so.5
#32 0xb7c99a91 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) ()
   from /usr/lib/libkdeui.so.5
#33 0xb7c9bfba in KMessageBox::informationListWId(unsigned long, QString const&, QStringList const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#34 0xb7c9c128 in KMessageBox::informationList(QWidget*, QString const&, QStringList const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#35 0xb7c9c188 in KMessageBox::information(QWidget*, QString const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#36 0xb73c0fd8 in ?? () from /usr/lib/libkmailprivate.so.4
#37 0xb73b8f03 in ?? () from /usr/lib/libkmailprivate.so.4
#38 0xb73bc458 in ?? () from /usr/lib/libkmailprivate.so.4
#39 0xb73c1bbb in ?? () from /usr/lib/libkmailprivate.so.4
#40 0xb73ca6fa in ?? () from /usr/lib/libkmailprivate.so.4
#41 0xb6f8db33 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#42 0xb6f8e782 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#43 0xb79e73d3 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#44 0xb79e7879 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#45 0xb51f37b5 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#46 0xb51f0273 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib/libkio.so.5
#47 0xb51f0463 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#48 0xb6f8db33 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#49 0xb6f8e782 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#50 0xb52b94c9 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib/libkio.so.5
#51 0xb52bd2d7 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#52 0xb52b9917 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#53 0xb52ab8fd in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#54 0xb52adde3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#55 0xb6f8db33 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#56 0xb6f8e782 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#57 0xb51b7937 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#58 0xb51b9243 in ?? () from /usr/lib/libkio.so.5
#59 0xb51b9626 in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#60 0xb6f8733b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#61 0xb6f88e10 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#62 0xb65b8814 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#63 0xb65c097e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#64 0xb7d1c4ad in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#65 0xb6f789cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#66 0xb6f7960e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#67 0xb6f797ed in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#68 0xb6fa3c0f in ?? () from /usr/lib/libQtCore.so.4
#69 0xb46a7368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#70 0xb46aa8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#71 0xb46aaa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#72 0xb6fa3858 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#73 0xb6657fd5 in ?? () from /usr/lib/libQtGui.so.4
#74 0xb6f7701a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#75 0xb6f77462 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#76 0xb6f798b9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#77 0xb65b8697 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#78 0x0804a6d0 in _start ()
Comment 1 Christophe Marin 2009-09-08 09:27:36 UTC

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