Bug 242926 - kmail2 crashes at startup KMail::Util::findSieveUrlForAccount
Summary: kmail2 crashes at startup KMail::Util::findSieveUrlForAccount
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: sieve (show other bugs)
Version: 1.99.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: investigated, triaged
: 243315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-27 02:41 UTC by mario tuling
Modified: 2018-10-21 04:53 UTC (History)
3 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 mario tuling 2010-06-27 02:41:35 UTC
Version:           1.99.0 (using Devel) 
OS:                Linux

-- Information about the crash:
i have an configured imap account in akonadi. i tried to remove .kde4/share/config/kmail* but it didnt help, kmail always crashes at startup. if i should test further things, please tell me :) i hope the backtrace is useful
thanks

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f194299c760 (LWP 873))]

Thread 2 (Thread 0x7f192aa86710 (LWP 878)):
#0  0x00007f193d23528c in pthread_cond_wait () from /lib/libpthread.so.0
#1  0x00007f193633575d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f1936335869 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f193d2308e4 in start_thread () from /lib/libpthread.so.0
#4  0x00007f193bd3227d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f194299c760 (LWP 873)):
[KCrash Handler]
#6  0x00007f193d5d0eb9 in QVariant::QVariant(QVariant const&) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f193d93f267 in QDBusPendingReplyData::argumentAt(int) const () from /usr/lib64/qt4/libQtDBus.so.4
#8  0x00007f19415111ea in QDBusPendingReply<QString, void, void, void, void, void, void, void>::operator QString() const () from /usr/lib/libkmailprivate.so.4
#9  0x00007f194150eede in KMail::Util::findSieveUrlForAccount(OrgKdeAkonadiImapSettingsInterface*, QString const&) () from /usr/lib/libkmailprivate.so.4
#10 0x00007f194148f67f in KMail::Vacation::findURL() const () from /usr/lib/libkmailprivate.so.4
#11 0x00007f19414909cd in KMail::Vacation::Vacation(QObject*, bool, char const*) () from /usr/lib/libkmailprivate.so.4
#12 0x00007f19414c6a57 in KMMainWidget::slotCheckVacation() () from /usr/lib/libkmailprivate.so.4
#13 0x00007f19414d7a7d in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#14 0x00007f193d5c2a8e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f193dd705ef in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f193dd1b11c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f193dd2137d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f19423b7c26 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007f193d5b07fb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f193d5b313f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f193d5de1b0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f193ddcb44d in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f193d5af552 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f193d5af934 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f193d5b33cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#26 0x000000000040340c in main ()

Reproducible: Always
Comment 1 Nicolas L. 2010-06-27 08:53:30 UTC
Thread 1 (Thread 0x7f194299c760 (LWP 873)):
[KCrash Handler]
#6  0x00007f193d5d0eb9 in QVariant::QVariant(QVariant const&) () from
/usr/lib64/qt4/libQtCore.so.4
#7  0x00007f193d93f267 in QDBusPendingReplyData::argumentAt(int) const () from
/usr/lib64/qt4/libQtDBus.so.4
#8  0x00007f19415111ea in QDBusPendingReply<QString, void, void, void, void,
void, void, void>::operator QString() const () from
/usr/lib/libkmailprivate.so.4
#9  0x00007f194150eede in


Please install qt kdelibs and kdebase-workspace debuginfo packages and paste on this bugreport a new backtrace
Comment 2 mario tuling 2010-06-27 22:22:27 UTC
i hope this one is sufficient:


Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f7fa0ecf760 (LWP 6500))]

Thread 2 (Thread 0x7f7f88dda710 (LWP 6508)):
#0  0x00007f7f9b6b728c in pthread_cond_wait () from /lib/libpthread.so.0
#1  0x00007f7f946d4694 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7f94e663c0) at wtf/FastMalloc.cpp:2378
#2  0x00007f7f946d46c9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f7f94e74494) at wtf/FastMalloc.cpp:1497
#3  0x00007f7f9b6b28e4 in start_thread () from /lib/libpthread.so.0
#4  0x00007f7f9a1a227d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f7fa0ecf760 (LWP 6500)):
[KCrash Handler]
#6  0x00007f7f9a1031b5 in raise () from /lib/libc.so.6
#7  0x00007f7f9a1045e0 in abort () from /lib/libc.so.6
#8  0x00007f7f9b93a3e4 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2271
#9  0x00007f7f9b93a592 in qt_message (msgType=QtFatalMsg, msg=0x7f7f9bab0398 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fffd10741b0) at global/qglobal.cpp:2317
#10 0x00007f7f9b93a745 in qFatal (msg=0x1964 <Address 0x1964 out of bounds>) at global/qglobal.cpp:2500
#11 0x00007f7f9bde5697 in QDBusPendingReplyData::argumentAt (this=0x7fffd10745e0, index=0) at qdbuspendingreply.cpp:268
#12 0x00007f7f9fa3e542 in QDBusPendingReply<QString, void, void, void, void, void, void, void>::argumentAt<0> (this=0x7fffd10745e0) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:176
#13 0x00007f7f9fa3e5b9 in QDBusPendingReply<QString, void, void, void, void, void, void, void>::operator QString (this=0x1964) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:186
#14 0x00007f7f9fa5a1fa in KMail::Util::findSieveUrlForAccount (a=0x157a900, ident=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/util.cpp:160
#15 0x00007f7f9f9f1fcf in KMail::Vacation::findURL (this=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/vacation.cpp:503
#16 0x00007f7f9f9f3064 in Vacation (this=0x13f6e90, parent=<value optimized out>, checkOnly=true, name=0x0) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/vacation.cpp:434
#17 0x00007f7f9fa176df in KMMainWidget::slotCheckVacation (this=0x14e97d0) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/kmmainwidget.cpp:2291
#18 0x00007f7f9fa2b65d in KMMainWidget::qt_metacall (this=0x14e97d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1401af0)
    at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999_build/kmail/kmmainwidget.moc:402
#19 0x00007f7f9ba56dae in QObject::event (this=0x14e97d0, e=0x1964) at kernel/qobject.cpp:1211
#20 0x00007f7f9c22201e in QWidget::event (this=0x14e97d0, event=0x134a3b0) at kernel/qwidget.cpp:8617
#21 0x00007f7f9c1c5110 in QApplicationPrivate::notify_helper (this=0x10b8300, receiver=0x14e97d0, e=0x134a3b0) at kernel/qapplication.cpp:4389
#22 0x00007f7f9c1cd2b7 in QApplication::notify (this=0x7fffd10757b0, receiver=0x14e97d0, e=0x134a3b0) at kernel/qapplication.cpp:4270
#23 0x00007f7fa08b8c01 in KApplication::notify (this=0x7fffd10757b0, receiver=0x14e97d0, event=0x134a3b0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:309
#24 0x00007f7f9ba43a2b in QCoreApplication::notifyInternal (this=0x7fffd10757b0, receiver=0x14e97d0, event=0x134a3b0) at kernel/qcoreapplication.cpp:732
#25 0x00007f7f9ba4651f in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x107dea0) at kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x107dea0) at kernel/qcoreapplication.cpp:1373
#27 0x00007f7f9ba750e0 in QEventDispatcherUNIX::processEvents (this=0x107d5c0, flags=) at kernel/qeventdispatcher_unix.cpp:891
#28 0x00007f7f9c2817e3 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152
#29 0x00007f7f9ba42632 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f7f9ba42a15 in QEventLoop::exec (this=0x7fffd1075660, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f7f9ba4683b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x00000000004032d7 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/main.cpp:145
Comment 3 Thomas McGuire 2010-06-29 12:16:25 UTC
.
Comment 4 Thomas McGuire 2010-07-01 14:57:22 UTC
*** Bug 243315 has been marked as a duplicate of this bug. ***
Comment 5 Tobias Koenig 2010-12-12 00:16:55 UTC
Hej Mario,

can you still reproduce it? If so, can you attach a current backtrace of the crash please? The code for sieve handling has moved and the line numbers of the above backtrace are not valid anymore.

Ciao,
Tobias
Comment 6 Andrew Crouthamel 2018-09-20 22:02:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-21 04:53:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!