Bug 326612 - kontact crash when wanting to change kmail settings
Summary: kontact crash when wanting to change kmail settings
Status: RESOLVED WORKSFORME
Alias: None
Product: grantlee
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.3.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-25 08:17 UTC by Roger Larsson
Modified: 2018-11-29 09:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
akonadiconsole debug output (3.88 MB, text/plain)
2013-10-25 21:42 UTC, Roger Larsson
Details
akonadiconsole job view - FILLED (111.41 KB, image/png)
2013-10-25 21:44 UTC, Roger Larsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Larsson 2013-10-25 08:17:30 UTC
Application: kontact (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Inställningar -> Anpassa kmail (sv)
Settings -> kmail settings (~en)

- Unusual behavior I noticed:
Reason I wanted to enter the settings menu was that nothing happens...
Clicking on a mailbox and it get stuck on "Retrieving mailbox contents" (~en) 
I have a huge amount of emails
My suspision is that indexing of those have started...
But if so it is very ineffective
  akonadiserver 11% CPU
  mysqld 11%
  kontact 8%
  dbus-daemon 1%
  virtuoso_t ...
  akonadi_nepomuk_feeder ...
  akonadi_control ...
and almost no disk access...!!!

- Custom settings of the application:
Search indexing has not worked before

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd8dc3cc7c0 (LWP 10256))]

Thread 5 (Thread 0x7fd8d701b700 (LWP 10272)):
#0  0x00007fd8ea627964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8edd52770 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fd8edd527a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fd8ea623e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8f099844d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd8d66f2700 (LWP 10394)):
#0  0x00007fd8ea627964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8edacef47 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fd8edd79c9e in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fd8ea623e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8f099844d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd883094700 (LWP 10525)):
#0  0x00007fd8f09a4c54 in pthread_mutex_unlock () from /lib64/libc.so.6
#1  0x00007fd8ea3a9361 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8ea369513 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8ea369d1e in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd8ea369f24 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd8f110f5d6 in QEventDispatcherGlib::processEvents (this=0x7fd87c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fd8f10dfbef in QEventLoop::processEvents (this=this@entry=0x7fd883093dc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd8f10dfe78 in QEventLoop::exec (this=0x7fd883093dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd8f0fe2110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007fd8f0fe50ec in QThreadPrivate::start (arg=0x1523170) at thread/qthread_unix.cpp:338
#10 0x00007fd8ea623e0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd8f099844d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd87bfff700 (LWP 10760)):
#0  0x00007fd8ea627964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd885971fa7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd885c7f660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd885971fd9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd8ea623e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8f099844d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd8dc3cc7c0 (LWP 10256)):
[KCrash Handler]
#6  0x00007fd88588ecee in FixedVMPoolAllocator (totalHeapSize=2147483648, commonSize=<optimized out>, this=0x63125c0) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:314
#7  QTJSC::ExecutablePool::systemAlloc (size=16384) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:447
#8  0x00007fd885913759 in ExecutablePool (n=<optimized out>, this=0x7fd882081960) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:258
#9  create (n=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:97
#10 ExecutableAllocator (this=0x7fd88207b9c8) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:150
#11 QTJSC::JSGlobalData::JSGlobalData (this=0x7fd88207a800, isShared=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:146
#12 0x00007fd885913f1c in QTJSC::JSGlobalData::create () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:205
#13 0x00007fd8859b0830 in QScriptEnginePrivate::QScriptEnginePrivate (this=0x6316c00) at api/qscriptengine.cpp:979
#14 0x00007fd8859b17be in QScriptEngine::QScriptEngine (this=0x6312e70, parent=0x63123c0) at api/qscriptengine.cpp:1976
#15 0x00007fd8865a9861 in Grantlee::ScriptableTagLibrary::ScriptableTagLibrary (this=0x63123c0, parent=<optimized out>) at /usr/src/debug/grantlee-0.3.0/templates/scriptabletags/scriptabletags.cpp:61
#16 0x00007fd8865aa227 in qt_plugin_instance () at /usr/src/debug/grantlee-0.3.0/templates/scriptabletags/scriptabletags.cpp:200
#17 0x00007fd8f164b8f8 in kde4Factory (lib=0x6312620) at /usr/src/debug/kdelibs-4.11.2/kdecore/util/klibrary.cpp:149
#18 KLibrary::factory (this=0x6312620, factoryname=0x63085c8 "kcm_kmail") at /usr/src/debug/kdelibs-4.11.2/kdecore/util/klibrary.cpp:169
#19 0x00007fd8f1650f76 in KPluginLoader::factory (this=0x7fff96b197b0) at /usr/src/debug/kdelibs-4.11.2/kdecore/util/kpluginloader.cpp:197
#20 0x00007fd8eec4bf2d in createInstance<KCModule> (error=0x7fff96b19660, args=..., parent=0x4dadbf0, parentWidget=0x0, this=0x4db0d20) at /usr/src/debug/kdelibs-4.11.2/kdecore/services/kservice.h:577
#21 createInstance<KCModule> (error=0x7fff96b19660, args=..., parent=0x4dadbf0, this=0x4db0d20) at /usr/src/debug/kdelibs-4.11.2/kdecore/services/kservice.h:556
#22 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x4dadbf0, args=...) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmoduleloader.cpp:89
#23 0x00007fd8eec50f60 in KCModuleProxyPrivate::loadModule (this=this@entry=0x6311be0) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmoduleproxy.cpp:107
#24 0x00007fd8eec51765 in KCModuleProxy::realModule (this=this@entry=0x4dadbf0) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmoduleproxy.cpp:83
#25 0x00007fd8eec51a69 in KCModuleProxy::useRootOnlyMessage (this=0x4dadbf0) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmoduleproxy.cpp:316
#26 0x00007fd8eec4dd37 in KCMultiDialog::addModule (this=this@entry=0x5186390, moduleInfo=..., parentItem=parentItem@entry=0x0, args=...) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmultidialog.cpp:390
#27 0x00007fd8eec4eb23 in KCMultiDialog::addModule (this=0x5186390, path=..., args=...) at /usr/src/debug/kdelibs-4.11.2/kutils/kcmultidialog.cpp:371
#28 0x00007fd88e4198d7 in ConfigureDialog::ConfigureDialog (this=0x5186390, parent=<optimized out>, modal=<optimized out>) at /usr/src/debug/kdepim-4.11.2/kmail/configuredialog/configuredialog.cpp:226
#29 0x00007fd88e454af9 in KMKernel::slotShowConfigurationDialog (this=0x181f7b0) at /usr/src/debug/kdepim-4.11.2/kmail/kmkernel.cpp:1442
#30 0x00007fd88e45faba in KMKernel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff96b1a090) at /usr/src/debug/kdepim-4.11.2/build/kmail/kmkernel.moc:205
#31 0x00007fd8f10f644f in QMetaObject::activate (sender=0x23bc8b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96b1a090) at kernel/qobject.cpp:3556
#32 0x00007fd8f1ae4722 in QAction::triggered (this=this@entry=0x23bc8b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#33 0x00007fd8f1ae4910 in QAction::activate (this=0x23bc8b0, event=<optimized out>) at kernel/qaction.cpp:1257
#34 0x00007fd8f1f1f4a3 in QMenuPrivate::activateCausedStack (this=this@entry=0x143d860, causedStack=..., action=action@entry=0x23bc8b0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#35 0x00007fd8f1f25899 in QMenuPrivate::activateAction (this=0x143d860, action=0x23bc8b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1130
#36 0x00007fd8f28b6130 in KMenu::mouseReleaseEvent (this=0x14b4ec0, e=0x7fff96b1ac30) at /usr/src/debug/kdelibs-4.11.2/kdeui/widgets/kmenu.cpp:464
#37 0x00007fd8f1b3a3f9 in QWidget::event (this=0x14b4ec0, event=0x7fff96b1ac30) at kernel/qwidget.cpp:8376
#38 0x00007fd8f1f26b4b in QMenu::event (this=0x14b4ec0, e=0x7fff96b1ac30) at widgets/qmenu.cpp:2481
#39 0x00007fd8f1aea92c in QApplicationPrivate::notify_helper (this=this@entry=0x1100330, receiver=receiver@entry=0x14b4ec0, e=e@entry=0x7fff96b1ac30) at kernel/qapplication.cpp:4562
#40 0x00007fd8f1aef60b in QApplication::notify (this=<optimized out>, receiver=0x14b4ec0, e=0x7fff96b1ac30) at kernel/qapplication.cpp:4105
#41 0x00007fd8f27fd016 in KApplication::notify (this=0x7fff96b1b900, receiver=0x14b4ec0, event=0x7fff96b1ac30) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#42 0x00007fd8f10e0f3e in QCoreApplication::notifyInternal (this=0x7fff96b1b900, receiver=0x14b4ec0, event=0x7fff96b1ac30) at kernel/qcoreapplication.cpp:949
#43 0x00007fd8f1aeb76b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=0x14b4ec0, event=0x7fff96b1ac30, alienWidget=0x0, nativeWidget=0x14b4ec0, buttonDown=0x7fd8f25c0288 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#45 0x00007fd8f1b65f3c in QETWidget::translateMouseEvent (this=this@entry=0x14b4ec0, event=event@entry=0x7fff96b1b3a0) at kernel/qapplication_x11.cpp:4462
#46 0x00007fd8f1b64e01 in QApplication::x11ProcessEvent (this=0x7fff96b1b900, event=0x7fff96b1b3a0) at kernel/qapplication_x11.cpp:3651
#47 0x00007fd8f1b8b192 in x11EventSourceDispatch (s=0x1100180, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007fd8ea369b25 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fd8ea369e68 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fd8ea369f24 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fd8f110f5b6 in QEventDispatcherGlib::processEvents (this=0x10405b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#52 0x00007fd8f1b8ae0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fd8f10dfbef in QEventLoop::processEvents (this=this@entry=0x7fff96b1b770, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fd8f10dfe78 in QEventLoop::exec (this=0x7fff96b1b770, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fd8f10e4bb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#56 0x0000000000403679 in ?? ()
#57 0x00007fd8f08d0a15 in __libc_start_main () from /lib64/libc.so.6
#58 0x0000000000403be1 in _start ()

Reported using DrKonqi
Comment 1 Roger Larsson 2013-10-25 21:42:16 UTC
Created attachment 83117 [details]
akonadiconsole debug output

Re: the inital problem, slow kontact operation
it is kontact that loops far to much - more about that later...
Comment 2 Roger Larsson 2013-10-25 21:44:15 UTC
Created attachment 83118 [details]
akonadiconsole job view - FILLED
Comment 3 Roger Larsson 2013-10-25 22:05:18 UTC
I am running multiple concurrent X servers for two (or three) users...
- one user works, the other doesnt...

I have strace output on request
Comment 4 Roger Larsson 2013-10-26 19:54:29 UTC
Did a raw move away the akonadi directory
mv ~/.local/share/akonadi{,.save}

Now the looping is gone, kontact is responsible again.
But it still crashes when trying to enter kmail setup...
Comment 5 Andrew Crouthamel 2018-10-30 00:01:57 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-14 11:32:53 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
mark the bug 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 Bug Janitor Service 2018-11-29 09:47:25 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!