Bug 313679 - KMail cannot save retrieved mail nor create a new account
Summary: KMail cannot save retrieved mail nor create a new account
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.9.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 12:02 UTC by Drift
Modified: 2013-01-23 20:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drift 2013-01-22 12:02:40 UTC
Application: kmail (4.10 rc2)
KDE Platform Version: 4.9.97
Qt Version: 4.8.4
Operating System: Linux 3.8.0-0.rc4.git1.2.alpha.nosign.custom.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- Unusual behavior I noticed:

(gdb) run
Starting program: /usr/bin/kmail 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 2956.
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
loaded the Generic plugin 
[Inferior 1 (process 2951) exited normally]
(gdb) QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_agent_launcher stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_agent_launcher' crashed. No restart!
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_agent_launcher stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_agent_launcher' crashed. No restart!
void AgentManager::removeAgentInstance(const QString&) Agent instance with identifier "akonadi_maildir_resource_1" does not exist
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_pop3_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_pop3_resource' crashed. No restart!
Plugin paths:  ("/usr/lib64/qt4/plugins", "/home/user/.kde/lib64/", "/usr/lib64/") 
Trying to load Attica plugin:  "/usr/lib64/qt4/plugins/attica_kde.so" 
Trying to load Attica plugin:  "/home/user/.kde/lib64//attica_kde.so" 
Trying to load Attica plugin:  "/usr/lib64//attica_kde.so" 
Using Attica with KDE support 
Adding provider "https://api.opendesktop.org/v1/" 
OCS Request:  QUrl( "https://api.opendesktop.org/v1/content/categories" )
Kross: "Loading the interpreter library for javascript" 
Kross: "Successfully loaded Interpreter instance from library." 
Kross: "KjsScript::KjsScript" 
Kross: "KjsScript::initialize" 
Kross: "KjsScript::~KjsScript" 
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/user/.kde/socket-localhost.localdomain/kdeinit4__0

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffff7f6d880 (LWP 2956))]

Thread 3 (Thread 0x7fffcb582700 (LWP 3024)):
#0  0x00007ffff1e5c5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffe9b3b9bd in WTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtWebKit.so.4
#2  0x00007fffe9b3bac9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtWebKit.so.4
#3  0x00007ffff1e58d15 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff108946d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffcac81700 (LWP 3025)):
#0  0x00007fffe4ee7598 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007fffe4ee7c4b in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x00007fffe4ee7e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007ffff22130f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00007ffff21e37df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00007ffff21e3a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00007ffff20e5950 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00007ffff20e892c in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x00007ffff1e58d15 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff108946d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f6d880 (LWP 2956)):
[KCrash Handler]
#5  0x00007ffff7610e3b in KStatusNotifierItem::setStatus(KStatusNotifierItem::ItemStatus) () from /lib64/libkdeui.so.5
#6  0x00007ffff68784f6 in KMail::KMSystemTray::setMode (this=0x120e480, newMode=1) at /usr/src/debug/kdepim-4.9.97/kmail/kmsystemtray.cpp:164
#7  0x00007ffff68861e6 in KMKernel::toggleSystemTray (this=0x7fffffffd6c0) at /usr/src/debug/kdepim-4.9.97/kmail/kmkernel.cpp:2057
#8  0x00007ffff68d7837 in KMMainWidget::readConfig (this=this@entry=0x18215c0) at /usr/src/debug/kdepim-4.9.97/kmail/kmmainwidget.cpp:981
#9  0x00007ffff68d7d40 in KMMainWidget::KMMainWidget (this=0x18215c0, parent=<optimized out>, aGUIClient=0xe9bc90, actionCollection=<optimized out>, config=...) at /usr/src/debug/kdepim-4.9.97/kmail/kmmainwidget.cpp:269
#10 0x00007ffff683966b in KMMainWin::KMMainWin (this=0xe9bc30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.97/kmail/kmmainwin.cpp:67
#11 0x00007ffff6888fd7 in KMKernel::openReader (this=0x7fffffffd6c0, onlyCheck=onlyCheck@entry=false) at /usr/src/debug/kdepim-4.9.97/kmail/kmkernel.cpp:578
#12 0x00007ffff68891d0 in KMKernel::action (this=this@entry=0x7fffffffd6c0, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at /usr/src/debug/kdepim-4.9.97/kmail/kmkernel.cpp:1369
#13 0x00007ffff6889b25 in KMKernel::handleCommandLine (this=0x7fffffffd6c0, noArgsOpensReader=true) at /usr/src/debug/kdepim-4.9.97/kmail/kmkernel.cpp:494
#14 0x0000000000403447 in KMailApplication::newInstance (this=0x7fffffffd690) at /usr/src/debug/kdepim-4.9.97/kmail/main.cpp:87
#15 0x00007ffff74fe1f2 in KUniqueApplicationAdaptor::newInstance(QByteArray const&, QByteArray const&) () from /lib64/libkdeui.so.5
#16 0x00007ffff74fe274 in KUniqueApplicationAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libkdeui.so.5
#17 0x00007ffff74fe3ab in KUniqueApplicationAdaptor::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libkdeui.so.5
#18 0x00007ffff25660c3 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /lib64/libQtDBus.so.4
#19 0x00007ffff25671c5 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () from /lib64/libQtDBus.so.4
#20 0x00007ffff2567b36 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /lib64/libQtDBus.so.4
#21 0x00007ffff2567c2b in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /lib64/libQtDBus.so.4
#22 0x00007ffff21f939e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#23 0x00007ffff2be06d4 in QApplication::event(QEvent*) () from /lib64/libQtGui.so.4
#24 0x00007ffff2bde5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#25 0x00007ffff2be2a4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#26 0x00007ffff74f7f26 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#27 0x00007ffff21e4a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#28 0x00007ffff21e8541 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#29 0x00007ffff2212f43 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#30 0x00007fffe4ee7a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007fffe4ee7d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#32 0x00007fffe4ee7e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007ffff22130d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#34 0x00007ffff2c7e73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#35 0x00007ffff21e37df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#36 0x00007ffff21e3a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#37 0x00007ffff21e8858 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#38 0x0000000000402ded in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.9.97/kmail/main.cpp:148

Reported using DrKonqi
Comment 1 Drift 2013-01-23 20:36:34 UTC
Changed the affected product from "Kmail" to "Akonadi".
Apparently it's a issue with developmental version of akonadi-1.9.0 in the optional testing KDE repo.
I've stopped akonadi, cleaned akonadi's stuff in ~/.kde/share/config/ , ~/.config/akonadi/ , ~/.local/share/akonadi , ~/.kde/share/apps/akonadi* , distro-synch'd with latest akonadi up to updates-testing's repos (disabling the optional kde testing repos, apt/kde-redhat ) , restarted akonadi, and it's fine.
It was (and is) running with SQLite.