Bug 252948

Summary: akonadi fails to start because of mysql error. maybe induces kmail crashes?
Product: [Applications] kontact Reporter: Sylvain Raybaud <sraybaud>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sylvain Raybaud 2010-10-01 14:32:33 UTC
Version:           4.4 (using KDE 4.4.5) 
OS:                Linux

Not sure if I should file this into kmail or akonadi, but since it seems to start with akondi, here I go. Below I copy/paste the result of kde crash handler, which failed to automatically report the bug ("unknow error" when sending).

Application: kontact (4.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r6 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Symptoms:
  after an upgrade (which included mysql and kde if I remember correctly, see emerge.log attached), two problems appeared, which may or may not be related.
1) akonadi crashes at startup. I've got many repetitions of the following in mysql.err:
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
101001 14:14:51  InnoDB: Retrying to lock the first data file
2) when click "reply" on a mail and do nothing for a while (like, one minute), kontact freezes and I have no option but to kill it.

both bugs are reproductible, every time.

Good luck

The crash can be reproduced every time.

Not sure the following is helpful because I don't have debug symbols...
 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7fd82c09a760 (LWP 32263))]

Thread 2 (Thread 0x7fd81b53d710 (LWP 32264)):
#0  0x00007fd8291cf61e in __lll_lock_wait_private () from /lib/libc.so.6
#1  0x00007fd82916a6d8 in _L_lock_6671 () from /lib/libc.so.6
#2  0x00007fd829168ac1 in free () from /lib/libc.so.6
#3  0x00007fd822315b09 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fd8298fc1ce in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fd8297e3604 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fd8297e3a2d in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fd82426bbda in start_thread () from /lib/libpthread.so.0
#8  0x00007fd8291c2a9d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fd82c09a760 (LWP 32263)):
[KCrash Handler]
#5  0x00007fd829123445 in raise () from /lib/libc.so.6
#6  0x00007fd829124860 in abort () from /lib/libc.so.6
#7  0x00007fd8297db934 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fd8297dbae2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fd8297dbc95 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fd82aff2a9f in KMainWindow::memberList() () from /usr/lib64/libkdeui.so.5
#11 0x00007fd81503b5bb in KMKernel::dumpDeadLetters() () from /usr/lib64/libkmailprivate.so.4
#12 0x00007fd82af8cca9 in KCrash::defaultCrashHandler(int) () from /usr/lib64/libkdeui.so.5
#13 <signal handler called>
#14 0x00007fd829123445 in raise () from /lib/libc.so.6
#15 0x00007fd829124860 in abort () from /lib/libc.so.6
#16 0x00007fd82915e76b in __libc_message () from /lib/libc.so.6
#17 0x00007fd829163d36 in malloc_printerr () from /lib/libc.so.6
#18 0x00007fd8291641ad in malloc_consolidate () from /lib/libc.so.6
#19 0x00007fd829165678 in _int_free () from /lib/libc.so.6
#20 0x00007fd829168acc in free () from /lib/libc.so.6
#21 0x00007fd829faaaab in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fd829ee73b1 in QPaintEngine::~QPaintEngine() () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fd829fa00b0 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fd829e960c8 in QX11PixmapData::release() () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fd829e968fa in QX11PixmapData::~QX11PixmapData() () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fd829e84719 in QPixmap::~QPixmap() () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fd81c97eec5 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#28 0x00007fd81c97ef0e in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#29 0x00007fd81c9913d7 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#30 0x00007fd81c992d66 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#31 0x00007fd829126045 in __run_exit_handlers () from /lib/libc.so.6
#32 0x00007fd829126095 in exit () from /lib/libc.so.6
#33 0x00007fd829e182e8 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007fd82af190e8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#35 0x00007fd8238f063e in _XIOError () from /usr/lib64/libX11.so.6
#36 0x00007fd8238f8dad in _XEventsQueued () from /usr/lib64/libX11.so.6
#37 0x00007fd8238e138f in XEventsQueued () from /usr/lib64/libX11.so.6
#38 0x00007fd829e50e8c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007fd822319449 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#40 0x00007fd822319de3 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007fd82231a21c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007fd8298fb6e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007fd829e50cce in ?? () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007fd8298d0b12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007fd8298d0ee4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#46 0x00007fd82a951536 in KJob::exec() () from /usr/lib64/libkdecore.so.5
#47 0x00007fd81519692c in ?? () from /usr/lib64/libkmailprivate.so.4
#48 0x00007fd81519dce6 in ?? () from /usr/lib64/libkmailprivate.so.4
#49 0x00007fd81519e1d7 in ?? () from /usr/lib64/libkmailprivate.so.4
#50 0x00007fd815187d9b in ?? () from /usr/lib64/libkmailprivate.so.4
#51 0x00007fd81517c848 in ?? () from /usr/lib64/libkmailprivate.so.4
#52 0x00007fd81517c921 in ?? () from /usr/lib64/libkmailprivate.so.4
#53 0x00007fd8298e5386 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#54 0x00007fd8298ec81f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#55 0x00007fd8298e1bc3 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#56 0x00007fd829da211c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#57 0x00007fd829da865b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#58 0x00007fd82af19386 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#59 0x00007fd8298d21bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007fd8298febe2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#61 0x00007fd8298fba18 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#62 0x00007fd822316211 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0x00007fd82231a068 in ?? () from /usr/lib/libglib-2.0.so.0
#64 0x00007fd82231a21c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0x00007fd8298fb6e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#66 0x00007fd829e50cce in ?? () from /usr/lib64/qt4/libQtGui.so.4
#67 0x00007fd8298d0b12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#68 0x00007fd8298d0ee4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#69 0x00007fd8298d5b5b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#70 0x00000000004040d4 in _start ()

Possible duplicates by query: bug 247041, bug 224154.


Reproducible: Always

Steps to Reproduce:
run kontact. try and fail to access your contacts list. try to reply to a mail. do nothing in mail editor for something like one or two minutes. see kontact freeze.

Actual Results:  
kontact freezes, contacts list unavailable.


I'm more than willing to run all the tests and provide all information you may require.

regards,
Comment 1 Denis Kurz 2016-09-24 19:28:57 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:28:29 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.