Bug 215661

Summary: Policy Kit crash when I try to open it in the systemsettings window.
Product: [Plasma] policykit-kde-agent-1 Reporter: Alexander <vo.zaeb>
Component: kcm_authAssignee: Dario Freddi <drf>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, c.a.g.gibbs, camlt63, d.mills-kde, dani.otero1, dantti12, kdebugs, mertress, smokingr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Alexander 2009-11-22 12:41:24 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-ARCH x86_64

What I was doing when the application crashed:
1. Open systemsettings window and go to tab "advanced"
2. Try open the Policy-Kit settings (or K3b Setup)

 -- Backtrace:
Application: Параметры системы (systemsettings), signal: Aborted
[KCrash Handler]
#5  0x00007f3df57b2045 in raise () from /lib/libc.so.6
#6  0x00007f3df57b3470 in abort () from /lib/libc.so.6
#7  0x00007f3df57ebf27 in __libc_message () from /lib/libc.so.6
#8  0x00007f3df57f13a6 in malloc_printerr () from /lib/libc.so.6
#9  0x00007f3df57f609c in free () from /lib/libc.so.6
#10 0x00007f3de7433172 in PolkitQt::Context::Private::init() () from /usr/lib/libpolkit-qt-core.so.0
#11 0x00007f3de7434fcd in PolkitQt::Context::hasError() const () from /usr/lib/libpolkit-qt-core.so.0
#12 0x00007f3de7c78d1f in PolkitKde::PkKAuthorization::PkKAuthorization(QWidget*) () from /usr/lib/libpolkitkdeprivate.so.4
#13 0x00007f3de7e93daa in KcmPkKAuthorization::KcmPkKAuthorization(QWidget*, QList<QVariant> const&) () from /usr/lib/kde4/kcm_pkk_authorization.so
#14 0x00007f3de7e94975 in QObject* KPluginFactory::createInstance<KcmPkKAuthorization, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kcm_pkk_authorization.so
#15 0x00007f3df668145e in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#16 0x00007f3df7d10e06 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4
#17 0x00007f3df7d16537 in KCModuleProxyPrivate::loadModule() () from /usr/lib/libkutils.so.4
#18 0x00007f3df7d175a5 in KCModuleProxy::realModule() const () from /usr/lib/libkutils.so.4
#19 0x00007f3df7d17892 in KCModuleProxy::showEvent(QShowEvent*) () from /usr/lib/libkutils.so.4
#20 0x00007f3df6aef8fe in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007f3df6aa107c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f3df6aa834e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f3df76d48f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f3df5f24bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f3df6af4bba in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#26 0x00007f3df6af4e91 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#27 0x00007f3df6af4aaf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#28 0x00007f3df6af5cca in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#29 0x00007f3df6af4f26 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#30 0x00007f3df6af4aaf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#31 0x00007f3df6af4e91 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#32 0x00007f3df6af4aaf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#33 0x00007f3df6af4e91 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#34 0x00007f3df6af4aaf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#35 0x00007f3df6af5cca in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#36 0x00007f3df6af4f26 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#37 0x00007f3df6af4aaf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#38 0x00007f3df6af5cca in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#39 0x00007f3df6ad9eed in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#40 0x00007f3deb53bba9 in IconMode::moduleLoaded() () from /usr/lib/kde4/icon_mode.so
#41 0x00007f3deb53c394 in IconMode::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/icon_mode.so
#42 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#43 0x00007f3df7ae0def in ModuleView::moduleChanged(bool) () from /usr/lib/libsystemsettingsview.so
#44 0x00007f3df7ae31a4 in ModuleView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsystemsettingsview.so
#45 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#46 0x00007f3df7704be8 in KPageWidget::currentPageChanged(KPageWidgetItem*, KPageWidgetItem*) () from /usr/lib/libkdeui.so.5
#47 0x00007f3df7704d88 in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#48 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#49 0x00007f3df77007f7 in KPageView::currentPageChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libkdeui.so.5
#50 0x00007f3df7701365 in KPageViewPrivate::_k_pageSelected(QModelIndex const&, QModelIndex const&) () from /usr/lib/libkdeui.so.5
#51 0x00007f3df7701d62 in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#52 0x00007f3df7704d40 in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#53 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#54 0x00007f3df6fc110a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#55 0x00007f3df6fc1252 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#56 0x00007f3df77016a0 in KPageViewPrivate::_k_rebuildGui() () from /usr/lib/libkdeui.so.5
#57 0x00007f3df7701c55 in KPageViewPrivate::_k_modelChanged() () from /usr/lib/libkdeui.so.5
#58 0x00007f3df7701d72 in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#59 0x00007f3df7704d40 in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#60 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#61 0x00007f3df7ae299c in ModuleView::addModule(KCModuleInfo*) () from /usr/lib/libsystemsettingsview.so
#62 0x00007f3df7ae2e92 in ModuleView::loadModule(MenuItem*) () from /usr/lib/libsystemsettingsview.so
#63 0x00007f3deb53bf50 in IconMode::changeModule(QModelIndex const&) () from /usr/lib/kde4/icon_mode.so
#64 0x00007f3deb53c3b1 in IconMode::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/icon_mode.so
#65 0x00007f3df5f39d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#66 0x00007f3df6f6a915 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#67 0x00007f3df6f77e2a in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#68 0x00007f3df6f8cdb7 in QListView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#69 0x00007f3df76c11a8 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#70 0x00007f3df6aefad0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#71 0x00007f3df6e48d26 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#72 0x00007f3df6f7b03b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#73 0x00007f3df5f23f47 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#74 0x00007f3df6aa104c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#75 0x00007f3df6aa8191 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#76 0x00007f3df76d48f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#77 0x00007f3df5f24bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#78 0x00007f3df6aa7a60 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#79 0x00007f3df6b0da04 in ?? () from /usr/lib/libQtGui.so.4
#80 0x00007f3df6b0c6da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#81 0x00007f3df6b3496c in ?? () from /usr/lib/libQtGui.so.4
#82 0x00007f3df29091fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#83 0x00007f3df290cbb8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#84 0x00007f3df290cce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#85 0x00007f3df5f4d123 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#86 0x00007f3df6b3414e in ?? () from /usr/lib/libQtGui.so.4
#87 0x00007f3df5f23532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#88 0x00007f3df5f23904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#89 0x00007f3df5f25ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#90 0x000000000040cb69 in _start ()

Reported using DrKonqi
Comment 1 Alexander 2009-11-22 13:22:29 UTC
↓ [extra/polkit 0.95-1 [0,52 MB]]
↓ [extra/polkit-qt 0.9.2-2 [0,06 MB]]
Comment 2 Dario Andres 2009-12-10 16:09:33 UTC
From bug 218123:
---
#5  0x00007f2d725faf55 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f2d725fdd90 in *__GI_abort () at abort.c:88
#7  0x00007f2d7263058d in __libc_message (do_abort=2, 
    fmt=0x7fffc5429f40 "2d75026000-7f2d75029000 rw-p 00000000 00:00 0
\n7f2d75029000-7f2d7502a000 r--p 0001c000 08:05 8400", ' ' <repeats 23 times>,
"/lib/ld-2.10.2.so\n7f2d7502a000-7f2d7502b000 rw-p 0001d000 08:05 8400", ' '
<repeats 12 times>...) at ../sysdeps/unix/sysv/linux/libc_fatal.c:173
#8  0x00007f2d72639d56 in malloc_printerr (action=3, str=0x7f2d726e4850 "double
free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6239
#9  0x00007f2d7263e9bc in *__GI___libc_free (mem=<value optimized out>) at
malloc.c:3738
#10 0x00007f2d640366bb in PolkitQt::Context::Private::init() () from
/usr/lib/libpolkit-qt-core.so.0
#11 0x00007f2d640380ed in PolkitQt::Context::hasError() const () from
/usr/lib/libpolkit-qt-core.so.0
#12 0x00007f2d6487bd90 in PkKAuthorization (this=0x1575b60, parent=<value
optimized out>) at ../../../PolicyKit-kde/authorization/PkKAuthorization.cpp:45
#13 0x00007f2d64a96e31 in KcmPkKAuthorization (this=0x1579550, parent=<value
optimized out>, args=<value optimized out>) at
../../../PolicyKit-kde/authorization/KcmPkKAuthorization.cpp:52
Comment 3 Dario Andres 2009-12-10 16:09:38 UTC
*** Bug 218123 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-12-17 20:40:53 UTC
*** Bug 219093 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-01-07 13:24:30 UTC
This could be related to the glibc bug : bug 196207.
- Are you experiencing this crash regularly / Can you reproduce the crash at will ?
Thanks
Comment 6 Christoph Feck 2010-01-09 17:37:19 UTC
*** Bug 221943 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2010-01-12 20:31:12 UTC
*** Bug 222431 has been marked as a duplicate of this bug. ***
Comment 8 Valentin J. Leon-Bonnet 2010-01-30 16:07:40 UTC
I can reproduce it at will.
Just have to open KDE Policy Kit in System Settings.
Comment 9 Ben Cooksley 2010-02-16 09:25:05 UTC
*** Bug 225670 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-27 15:23:44 UTC
Wasn't this related to not having "polkit"/"policykit" installed ? (or bug 208695 / bug 200953)
Comment 11 Rein 2010-04-14 12:27:06 UTC
for me the problem was fixed by installing policykit and polkit-kde-1.
See bug: https://bugs.kde.org/show_bug.cgi?id=233080
Comment 12 Alexander 2010-04-15 17:39:04 UTC
(In reply to comment #10)
> Wasn't this related to not having "polkit"/"policykit" installed ? (or bug
> 208695 / bug 200953)

Hi. This crash no happens any more because that policy kit menu now missing in system settings :) I have installed KDE 4.4.2 with polkit 0.96-2, polkit-kde 0.95.1-2, polkit-qt 0.95.1-1.
http://img405.imageshack.us/img405/2554/89262186.png
Comment 13 Daniel Nicoletti 2010-08-15 04:08:52 UTC
This module is unmaintained anymore since PolicyKit-1 doesn't have this yet.
There is a replacement planned for it in the future but It'll probably be written from scratch.

Thanks.
Comment 14 David Mills 2010-09-27 18:12:55 UTC
Created attachment 52028 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.5.68 (4.6 >= 20100912) using Qt 4.6.3

- What I was doing when the application crashed:
Starting kpolkit, either from krunner or from the system control panel.

The crash happened each time

-- Backtrace (Reduced):
#8  0x00007fa6f4a024fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fa6f4a0c5b6 in malloc_printerr (action=3, str=0x7fa6f4adcab3 "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6264
#10 0x00007fa6e484aab6 in PolkitQt::Context::Private::init (this=<value optimized out>) at /home/david/Developpement/kde/src/kdesrc/kdesupport/polkit-qt/context.cpp:141
#11 0x00007fa6e484c49d in PolkitQt::Context::hasError (this=0x1e497d0) at /home/david/Developpement/kde/src/kdesrc/kdesupport/polkit-qt/context.cpp:277
#12 0x00007fa6e5091f3f in PkKAuthorization (this=0x1e48e70, parent=<value optimized out>)
    at /home/david/Developpement/kde/src/kdesrc/kdebase/workspace/PolicyKit-kde/authorization/PkKAuthorization.cpp:44