This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmail crash

Tags: None
(comma "," separated)
troycarpenter
Registered Member
Posts
29
Karma
0
OS

kmail crash

Fri Jan 16, 2009 12:09 am
After upgrading to KDE 4.2RC1, I'm getting the following crash when trying to open two different mailboxes. One is my inbox:

When running kmail from the command line:
laura@earth:~$ kmail
kmail(10655) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
kmail(10655) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(10655) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
kmail(10655) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
laura@earth:~$ kmail(10655) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered
kmail(10655) ::UrlHandler::UrlHandler: UrlHandler() (iCalendar)



*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
sock_file=/home/laura/.kde/socket-earth/kdeinit4__0

The useless traceback is as follows:
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)
......
[Thread debugging using libthread_db enabled]
[New Thread 0x7fda2bbfb6f0 (LWP 10655)]
(no debugging symbols found)
...
0x00007fda266e1621 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (process 10655)]

Thread 1 (Thread 0x7fda2bbfb6f0 (LWP 10655)):
#0 0x00007fda266e1621 in nanosleep () from /lib/libc.so.6
#1 0x00007fda266e1447 in sleep () from /lib/libc.so.6
#2 0x00007fda2b69c82f in ?? () from /usr/lib/libkdeui.so.5
#3 0x00007fda2b69d16a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#4
#5 0x00007fda2a8705d9 in ?? () from /usr/lib/libkmailprivate.so.4
#6 0x00007fda2a874ce4 in ?? () from /usr/lib/libkmailprivate.so.4
#7 0x00007fda272be134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8 0x00007fda2b0a18e2 in KJob::result () from /usr/lib/libkdecore.so.5
#9 0x00007fda2b0a1caf in KJob::emitResult () from /usr/lib/libkdecore.so.5
#10 0x00007fda28be0600 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#11 0x00007fda28be0735 in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.5
#12 0x00007fda28be2f8d in KIO::ListJob::qt_metacall () from /usr/lib/libkio.so.5
#13 0x00007fda272be134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x00007fda28c9f701 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#15 0x00007fda28c9c1f2 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#16 0x00007fda28c8e3e3 in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#17 0x00007fda28c8f418 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#18 0x00007fda272be134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x00007fda28babda0 in ?? () from /usr/lib/libkio.so.5
#20 0x00007fda28babeda in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#21 0x00007fda272b8da5 in QObject::event () from /usr/lib/libQtCore.so.4
#22 0x00007fda279cdc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#23 0x00007fda279d59ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0x00007fda2b6333cb in KApplication::notify () from /usr/lib/libkdeui.so.5
#25 0x00007fda272a9d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#26 0x00007fda272aa9fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#27 0x00007fda272d24d3 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fda1e6c2d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fda1e6c650d in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fda1e6c66cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fda272d215f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007fda27a5fa6f in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fda272a8682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0x00007fda272a880d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0x00007fda272aacbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0x000000000040309b in _start ()
#0 0x00007fda266e1621 in nanosleep () from /lib/libc.so.6


I haven't checked the kde bug reports yet.
troycarpenter
Registered Member
Posts
29
Karma
0
OS

RE: kmail crash

Fri Jan 16, 2009 2:12 am
Still haven't checked the bug reports, but this is either related to the Cyrus IMAP server ( Kolab ) that I am using, or a specific email message.

The work around I have employed is to use a web interface to the affected mail folders, move the first 40 or so messages to a temp directory. Then I can load Kmail and it will work just fine, I can even go into the temp directory through kmail and move the messages back to the original directory without any crash.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: kmail crash

Fri Jan 16, 2009 2:24 am
Please install debugging packages as needed from your distribution and generate a full backtrace. This will allow developers to find and fix the problem, once a bug is filed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: kmail crash

Fri Jan 16, 2009 2:58 pm
As kmail belongs to kdepim, the debugging package you need is:
Code: Select all
sudo apt-get install kdepim-dbg kdepim-dbg-kde4


troycarpenter
Registered Member
Posts
29
Karma
0
OS

RE: kmail crash

Fri Jan 16, 2009 4:53 pm
Ok, I now have the debug packages in place. If this happens again, I should be able to get a good traceback.

Thanks
troycarpenter
Registered Member
Posts
29
Karma
0
OS

RE: kmail crash

Sat Jan 24, 2009 5:50 pm
Got the crash again on one regular email folder and one shared folder. I trust that I have all the correct debug packages installed for my system:

Code: Select all
Application: Kontact (kontact), signal SIGSEGV
0x00007f05dca7a621 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f05e2e276f0 (LWP 24196)):
[KCrash Handler]
#5  0x0000000003594800 in ?? ()
#6  0x00007f05ca2245df in KMFolderImap::slotListFolderResult (this=0x29b46f0, job=0x3287010) at /build/buildd/kdepim-4.1.96/kmail/kmfolderimap.cpp:1355
#7  0x00007f05ca228ce4 in KMFolderImap::qt_metacall (this=0x29b46f0, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffeae6cec0)
    at /build/buildd/kdepim-4.1.96/obj-x86_64-linux-gnu/kmail/kmfolderimap.moc:181
#8  0x00007f05dd657134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0x00007f05ddc898e2 in KJob::result (this=0x3926f20, _t1=0x3287010) at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kdecore/kjob.moc:186
#10 0x00007f05ddc89caf in KJob::emitResult (this=0x3287010) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:294
#11 0x00007f05df9ee600 in KIO::SimpleJob::slotFinished (this=0x3287010) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:489
#12 0x00007f05df9ee735 in KIO::ListJob::slotFinished (this=0x3287010) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:2416
#13 0x00007f05df9f0f8d in KIO::ListJob::qt_metacall (this=0x3287010, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffeae6d200)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/jobclasses.moc:747
#14 0x00007f05dd657134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x00007f05dfaad701 in KIO::SlaveInterface::dispatch (this=0x2d90830, _cmd=104, rawdata=) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:175
#16 0x00007f05dfaaa1f2 in KIO::SlaveInterface::dispatch (this=0x2d90830) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:91
#17 0x00007f05dfa9c3e3 in KIO::Slave::gotInput (this=0x2d90830) at /build/buildd/kde4libs-4.1.96/kio/kio/slave.cpp:322
#18 0x00007f05dfa9d418 in KIO::Slave::qt_metacall (this=0x2d90830, _c=QMetaObject::InvokeMetaMethod, _id=56182432, _a=0x7fffeae6d620)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/slave.moc:75
#19 0x00007f05dd657134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0x00007f05df9b9da0 in KIO::ConnectionPrivate::dequeue (this=0x2d97660) at /build/buildd/kde4libs-4.1.96/kio/kio/connection.cpp:82
#21 0x00007f05df9b9eda in KIO::Connection::qt_metacall (this=0x249a190, _c=QMetaObject::InvokeMetaMethod, _id=56182432, _a=0x2cd3c00)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/connection.moc:72
#22 0x00007f05dd651da5 in QObject::event () from /usr/lib/libQtCore.so.4
#23 0x00007f05de1d9c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0x00007f05de1e19ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007f05df5103cb in KApplication::notify (this=0x7fffeae6e080, receiver=0x249a190, event=0x3a7c520) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#26 0x00007f05dd642d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0x00007f05dd6439fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#28 0x00007f05dd66b4d3 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f05d739bd3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f05d739f50d in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f05d739f6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f05dd66b15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007f05de26ba6f in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f05dd641682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0x00007f05dd64180d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0x00007f05dd643cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0x0000000000404a15 in main (argc=1, argv=0x7fffeae6e768) at /build/buildd/kdepim-4.1.96/kontact/src/main.cpp:218

troycarpenter
Registered Member
Posts
29
Karma
0
OS

RE: kmail crash

Sat Jan 24, 2009 6:00 pm
After a quick poke around kdebugs, I think this one is the bug I am seeing:
https://bugs.kde.org/show_bug.cgi?id=179765

It says it was fixed after RC1, which is what I am currently running. Since I don't use kde svn, I can't confirm whether or not the problem is solved until I get the new version.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]