Application: systemsettings (1.0) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-24-generic x86_64 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: Intentando crear un agente de recursos, al cerrar KaddressBook, se cerró la ventana de "Preferencias del Sistema KDE" -- Backtrace: Application: Configuración del sistema (systemsettings), signal: Aborted [Current thread is 1 (Thread 0x7fd24bd5d760 (LWP 1854))] Thread 3 (Thread 0x7fd23926d710 (LWP 1855)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd24926a3ac in _L_lock_12430 () from /lib/libc.so.6 #2 0x00007fd249268e48 in *__GI___libc_free (mem=0x7fd249569e40) at malloc.c:3736 #3 0x00007fd249a19981 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92 #4 0x00007fd2464f2b0a in g_main_context_check () from /lib/libglib-2.0.so.0 #5 0x00007fd2464f34c3 in ?? () from /lib/libglib-2.0.so.0 #6 0x00007fd2464f38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #7 0x00007fd249a19513 in QEventDispatcherGlib::processEvents (this=0x20180f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #8 0x00007fd2499ee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #9 0x00007fd2499eed6c in QEventLoop::exec (this=0x7fd23926cdb0, flags=) at kernel/qeventloop.cpp:201 #10 0x00007fd2498f8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #11 0x00007fd2499cf178 in QInotifyFileSystemWatcherEngine::run (this=0x2019be0) at io/qfilesystemwatcher_inotify.cpp:248 #12 0x00007fd2498fb775 in QThreadPrivate::start (arg=0x2019be0) at thread/qthread_unix.cpp:248 #13 0x00007fd246e669ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #14 0x00007fd2492d16fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #15 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fd234e35710 (LWP 1859)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd24926a3ac in _L_lock_12430 () from /lib/libc.so.6 #2 0x00007fd249268e48 in *__GI___libc_free (mem=0x7fd249569e40) at malloc.c:3736 #3 0x00007fd2464ef1ba in ?? () from /lib/libglib-2.0.so.0 #4 0x00007fd249a1a013 in ~QEventDispatcherGlib (this=0x20a9960, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366 #5 0x00007fd2498fb364 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284 #6 0x00007fd2498fb77d in ~__pthread_cleanup_class (arg=0x7fd249d03f20) at /usr/include/pthread.h:535 #7 QThreadPrivate::start (arg=0x7fd249d03f20) at thread/qthread_unix.cpp:253 #8 0x00007fd246e669ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fd2492d16fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd24bd5d760 (LWP 1854)): [KCrash Handler] #5 0x00007fd24921ea75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007fd2492225c0 in *__GI_abort () at abort.c:92 #7 0x00007fd2492584fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 #8 0x00007fd2492625b6 in malloc_printerr (action=3, str=0x7fd249335c98 "double free or corruption (out)", ptr=<value optimized out>) at malloc.c:6264 #9 0x00007fd249268e53 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738 #10 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x2071970) at kernel/qobject.cpp:1986 #11 0x00007fd24a63a2d5 in ~QWidget (this=0x20700f0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #12 0x00007fd238657786 in ~ConfigPage (this=0x20700f0, __in_chrg=<value optimized out>) at ../../kresources/configpage.cpp:221 #13 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1dcd5b0) at kernel/qobject.cpp:1986 #14 0x00007fd24a63a2d5 in ~QWidget (this=0x1dcbe80, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #15 0x00007fd23886a9a1 in ~KCMKResources (this=0x73e, __in_chrg=<value optimized out>) at ../../kresources/kcmkresources.h:31 #16 0x00007fd24b93f5a4 in KCModuleProxy::deleteClient (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:219 #17 0x00007fd24b941096 in ~KCModuleProxy (this=0x73e, __in_chrg=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:210 #18 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x2049930) at kernel/qobject.cpp:1986 #19 0x00007fd24a6397e5 in ~QWidget (this=0x2042e50, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #20 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x2043120) at kernel/qobject.cpp:1986 #21 0x00007fd24a63a2d5 in ~QWidget (this=0x2042390, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #22 0x00007fd24aa6a9a1 in ~QScrollArea (this=0x73e, __in_chrg=<value optimized out>) at widgets/qscrollarea.cpp:176 #23 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1ea1490) at kernel/qobject.cpp:1986 #24 0x00007fd24a63a2d5 in ~QWidget (this=0x1e9ba60, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #25 0x00007fd24b32409e in ~KPageStackedWidget (this=0x73e, __in_chrg=<value optimized out>) at ../../kdeui/paged/kpageview_p.h:38 #26 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1ea1290) at kernel/qobject.cpp:1986 #27 0x00007fd24a63a2d5 in ~QWidget (this=0x1e9df30, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #28 0x00007fd24b327921 in ~KPageWidget (this=0x73e, __in_chrg=<value optimized out>) at ../../kdeui/paged/kpagewidget.cpp:78 #29 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1ea1090) at kernel/qobject.cpp:1986 #30 0x00007fd24a63a2d5 in ~QWidget (this=0x1ea0d00, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #31 0x00007fd24b70cd53 in ~ModuleView (this=0x1ea0d00, __in_chrg=<value optimized out>) at ../../../systemsettings/core/ModuleView.cpp:106 #32 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1ea0e60) at kernel/qobject.cpp:1986 #33 0x00007fd24a63a2d5 in ~QWidget (this=0x1e9af40, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #34 0x00007fd24aa3bfd1 in ~QStackedWidget (this=0x73e, __in_chrg=<value optimized out>) at widgets/qstackedwidget.cpp:151 #35 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1c4f510) at kernel/qobject.cpp:1986 #36 0x00007fd24a63a2d5 in ~QWidget (this=0x1c34ea0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #37 0x00007fd24aa3bfd1 in ~QStackedWidget (this=0x73e, __in_chrg=<value optimized out>) at widgets/qstackedwidget.cpp:151 #38 0x00007fd2499fea5c in QObjectPrivate::deleteChildren (this=0x1c4ea20) at kernel/qobject.cpp:1986 #39 0x00007fd24a63a2d5 in ~QWidget (this=0x1c4e8a0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469 #40 0x00007fd24b3c2d75 in ~KMainWindow (this=0x1c4e8a0, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:476 #41 0x000000000040b806 in ~SettingsBase (this=0x1c4e8a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../systemsettings/app/SettingsBase.cpp:71 #42 0x00007fd2499ffd6d in QObject::event (this=0x1c4e8a0, e=0x25d1aa0) at kernel/qobject.cpp:1231 #43 0x00007fd24a632bdf in QWidget::event (this=0x1c4e8a0, event=0x25d1aa0) at kernel/qwidget.cpp:8455 #44 0x00007fd24a9f5cab in QMainWindow::event (this=0x1c4e8a0, event=0x25d1aa0) at widgets/qmainwindow.cpp:1433 #45 0x00007fd24b3ff6f3 in KXmlGuiWindow::event (this=0x73e, ev=0x73e) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #46 0x00007fd24a5dd22c in QApplicationPrivate::notify_helper (this=0x1b07230, receiver=0x1c4e8a0, e=0x25d1aa0) at kernel/qapplication.cpp:4300 #47 0x00007fd24a5e36fb in QApplication::notify (this=0x7fff7dab37c0, receiver=0x1c4e8a0, e=0x25d1aa0) at kernel/qapplication.cpp:4183 #48 0x00007fd24b2e8526 in KApplication::notify (this=0x7fff7dab37c0, receiver=0x1c4e8a0, event=0x25d1aa0) at ../../kdeui/kernel/kapplication.cpp:302 #49 0x00007fd2499f006c in QCoreApplication::notifyInternal (this=0x7fff7dab37c0, receiver=0x1c4e8a0, event=0x25d1aa0) at kernel/qcoreapplication.cpp:704 #50 0x00007fd2499f27e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1adfc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1adfc30) at kernel/qcoreapplication.cpp:1345 #52 0x00007fd249a199d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #53 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #54 0x00007fd2464ef8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #55 0x00007fd2464f3748 in ?? () from /lib/libglib-2.0.so.0 #56 0x00007fd2464f38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #57 0x00007fd249a19513 in QEventDispatcherGlib::processEvents (this=0x1adf770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #58 0x00007fd24a68d46e in QGuiEventDispatcherGlib::processEvents (this=0x73e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #59 0x00007fd2499ee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #60 0x00007fd2499eed6c in QEventLoop::exec (this=0x2479950, flags=) at kernel/qeventloop.cpp:201 #61 0x00007fd22fcfa411 in Akonadi::Control::Private::exec (this=0x24760a0) at ../../akonadi/control.cpp:137 #62 0x00007fd22fcfab75 in Akonadi::Control::start (parent=0x2475070) at ../../akonadi/control.cpp:233 #63 0x00007fd23420ae3c in ?? () from /usr/lib/kde4/kabc_akonadi.so #64 0x00007fd2341fe708 in ?? () from /usr/lib/kde4/kabc_akonadi.so #65 0x00007fd2341f3349 in ?? () from /usr/lib/kde4/kabc_akonadi.so #66 0x00007fd23864f4c4 in KRES::Factory::configWidget (this=<value optimized out>, type=<value optimized out>, parent=0x2456b70) at ../../kresources/factory.cpp:174 #67 0x00007fd23865501b in ConfigDialog (this=0x7fff7dab1df0, parent=<value optimized out>, resourceFamily=<value optimized out>, resource=<value optimized out>) at ../../kresources/configdialog.cpp:109 #68 0x00007fd23865a599 in KRES::ConfigPage::slotAdd (this=0x20700f0) at ../../kresources/configpage.cpp:381 #69 0x00007fd23865b3d4 in KRES::ConfigPage::qt_metacall (this=0x20700f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7dab2170) at ./configpage.moc:89 #70 0x00007fd249a02e3f in QMetaObject::activate (sender=0x206f310, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293 #71 0x00007fd24ac785f2 in QAbstractButton::clicked (this=0x73e, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206 #72 0x00007fd24a99286b in QAbstractButtonPrivate::emitClicked (this=0x1dcb810) at widgets/qabstractbutton.cpp:546 #73 0x00007fd24a99370b in QAbstractButtonPrivate::click (this=0x1dcb810) at widgets/qabstractbutton.cpp:539 #74 0x00007fd24a99397c in QAbstractButton::mouseReleaseEvent (this=0x206f310, e=0x7fff7dab2ac0) at widgets/qabstractbutton.cpp:1121 #75 0x00007fd24a633582 in QWidget::event (this=0x206f310, event=0x7fff7dab2ac0) at kernel/qwidget.cpp:7998 #76 0x00007fd24a5dd22c in QApplicationPrivate::notify_helper (this=0x1b07230, receiver=0x206f310, e=0x7fff7dab2ac0) at kernel/qapplication.cpp:4300 #77 0x00007fd24a5e3ecb in QApplication::notify (this=0x7fff7dab37c0, receiver=0x206f310, e=0x7fff7dab2ac0) at kernel/qapplication.cpp:3865 #78 0x00007fd24b2e8526 in KApplication::notify (this=0x7fff7dab37c0, receiver=0x206f310, event=0x7fff7dab2ac0) at ../../kdeui/kernel/kapplication.cpp:302 #79 0x00007fd2499f006c in QCoreApplication::notifyInternal (this=0x7fff7dab37c0, receiver=0x206f310, event=0x7fff7dab2ac0) at kernel/qcoreapplication.cpp:704 #80 0x00007fd24a5e30ae in QCoreApplication::sendEvent (receiver=0x206f310, event=0x7fff7dab2ac0, alienWidget=0x206f310, nativeWidget=0x1c4e8a0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #81 QApplicationPrivate::sendMouseEvent (receiver=0x206f310, event=0x7fff7dab2ac0, alienWidget=0x206f310, nativeWidget=0x1c4e8a0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #82 0x00007fd24a662f65 in QETWidget::translateMouseEvent (this=0x1c4e8a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368 #83 0x00007fd24a6618ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff7dab33e0) at kernel/qapplication_x11.cpp:3501 #84 0x00007fd24a68d882 in x11EventSourceDispatch (s=0x1b0aa50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #85 0x00007fd2464ef8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #86 0x00007fd2464f3748 in ?? () from /lib/libglib-2.0.so.0 #87 0x00007fd2464f38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #88 0x00007fd249a19513 in QEventDispatcherGlib::processEvents (this=0x1adf770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #89 0x00007fd24a68d46e in QGuiEventDispatcherGlib::processEvents (this=0x73e, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #90 0x00007fd2499ee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #91 0x00007fd2499eed6c in QEventLoop::exec (this=0x7fff7dab3710, flags=) at kernel/qeventloop.cpp:201 #92 0x00007fd2499f2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #93 0x00000000004110d9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../systemsettings/app/main.cpp:49 Possible duplicates by query: bug 247827, bug 220962. Reported using DrKonqi
It looks like Akonadi starts a nested event loop (see #61 of the backtrace). If that is the case, the originating widget needs to be blocked (e.g. by using a modal dialog), otherwise we allow the user to close systemsettings, while the event loop still processes stuff and cause a crash.
The KResource compatibility bridges don't exist anymore with KDE PIM 15.08.