Bug 233080

Summary: Crash of PolicyKit Authorization when opened from systemsettings
Product: [Plasma] policykit-kde-agent-1 Reporter: Rein <smokingr>
Component: generalAssignee: Dario Freddi <drf>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rein 2010-04-02 17:17:27 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-3-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I opened "PolicyKit Authorization" from the advanced tab of systemsettings. It crashed, and is reproducable.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Aborted
[KCrash Handler]
#6  0xb77da424 in __kernel_vsyscall ()
#7  0xb630c8e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb630fe15 in *__GI_abort () at abort.c:88
#9  0xb63436c5 in __libc_message (do_abort=2, fmt=0xb640a0e8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:173
#10 0xb634d824 in malloc_printerr (action=2, str=0xb640a22c "double free or corruption (fasttop)", ptr=0x8b00a38) at malloc.c:6239
#11 0xb634f0b3 in _int_free (av=0xb64263c0, p=0x8b00a30) at malloc.c:4772
#12 0xb63520dd in *__GI___libc_free (mem=0x8b00a38) at malloc.c:3738
#13 0xb326a55d in ?? () from /usr/lib/libpolkit.so.2
#14 0xb3260cb8 in polkit_context_unref () from /usr/lib/libpolkit.so.2
#15 0xb324c901 in PolkitQt::Context::Private::init() () from /usr/lib/libpolkit-qt-core.so.0
#16 0xb324e51d in PolkitQt::Context::hasError() const () from /usr/lib/libpolkit-qt-core.so.0
#17 0xb328aa95 in PkKAuthorization (this=0x8ba2b68, parent=0x0) at ../../../PolicyKit-kde/authorization/PkKAuthorization.cpp:45
#18 0xb32b9184 in KcmPkKAuthorization (this=0x8c56980, parent=0x8c2f4a0, args=...) at ../../../PolicyKit-kde/authorization/KcmPkKAuthorization.cpp:52
#19 0xb32b9f5d in KPluginFactory::createInstance<KcmPkKAuthorization, QWidget> (parentWidget=0x0, parent=0x8c2f4a0, args=...) at /usr/include/kpluginfactory.h:461
#20 0xb69bfad5 in KPluginFactory::create (this=0x8a4b8c0, iface=0xb7735fc0 "KCModule", parentWidget=0x0, parent=0x8c2f4a0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:191
#21 0xb7793c2a in KPluginFactory::create<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8c2f4a0, args=...) at ../../kdecore/util/kpluginfactory.h:515
#22 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8c2f4a0, args=...) at ../../kdecore/services/kservice.h:517
#23 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8c2f4a0, args=...) at ../../kdecore/services/kservice.h:494
#24 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8c2f4a0, args=...) at ../../kdecore/services/kservice.h:534
#25 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x8c2f4a0, args=...) at ../../kutils/kcmoduleloader.cpp:89
#26 0xb7799a5c in KCModuleProxyPrivate::loadModule (this=0x8c2f378) at ../../kutils/kcmoduleproxy.cpp:104
#27 0xb779acc3 in KCModuleProxy::realModule (this=0x8c2f4a0) at ../../kutils/kcmoduleproxy.cpp:81
#28 0xb779b06e in KCModuleProxy::showEvent (this=0x8c2f4a0, ev=0xbfdd352c) at ../../kutils/kcmoduleproxy.cpp:191
#29 0xb6bad82d in QWidget::event (this=0x8c2f4a0, event=0xbfdd352c) at kernel/qwidget.cpp:7753
#30 0xb6b57a94 in QApplicationPrivate::notify_helper (this=0x88261f8, receiver=0x8c2f4a0, e=0xbfdd352c) at kernel/qapplication.cpp:4065
#31 0xb6b5fcc2 in QApplication::notify (this=0xbfdd68cc, receiver=0x8c2f4a0, e=0xbfdd352c) at kernel/qapplication.cpp:4030
#32 0xb75a2e2a in KApplication::notify (this=0xbfdd68cc, receiver=0x8c2f4a0, event=0xbfdd352c) at ../../kdeui/kernel/kapplication.cpp:302
#33 0xb66621eb in QCoreApplication::notifyInternal (this=0xbfdd68cc, receiver=0x8c2f4a0, event=0xbfdd352c) at kernel/qcoreapplication.cpp:610
#34 0xb6bb2ec3 in QCoreApplication::sendEvent (this=0x8c31e70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 QWidgetPrivate::show_helper (this=0x8c31e70) at kernel/qwidget.cpp:6761
#36 0xb6bb30e9 in QWidgetPrivate::show_recursive (this=0x8c31e70) at kernel/qwidget.cpp:6632
#37 0xb6bb326f in QWidgetPrivate::showChildren (this=0x8b00bf8, spontaneous=false) at kernel/qwidget.cpp:7066
#38 0xb6bb2dc1 in QWidgetPrivate::show_helper (this=0x8b00bf8) at kernel/qwidget.cpp:6708
#39 0xb6bb34ab in QWidget::setVisible (this=0x8b4fdd8, visible=true) at kernel/qwidget.cpp:6980
#40 0xb6bb3288 in QWidget::show (this=0x8b56080, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#41 QWidgetPrivate::showChildren (this=0x8b56080, spontaneous=false) at kernel/qwidget.cpp:7068
#42 0xb6bb2dc1 in QWidgetPrivate::show_helper (this=0x8b56080) at kernel/qwidget.cpp:6708
#43 0xb6bb30e9 in QWidgetPrivate::show_recursive (this=0x8b56080) at kernel/qwidget.cpp:6632
#44 0xb6bb326f in QWidgetPrivate::showChildren (this=0x8a4e6f8, spontaneous=false) at kernel/qwidget.cpp:7066
#45 0xb6bb2dc1 in QWidgetPrivate::show_helper (this=0x8a4e6f8) at kernel/qwidget.cpp:6708
#46 0xb6bb30e9 in QWidgetPrivate::show_recursive (this=0x8a4e6f8) at kernel/qwidget.cpp:6632
#47 0xb6bb326f in QWidgetPrivate::showChildren (this=0x8a4e390, spontaneous=false) at kernel/qwidget.cpp:7066
#48 0xb6bb2dc1 in QWidgetPrivate::show_helper (this=0x8a4e390) at kernel/qwidget.cpp:6708
#49 0xb6bb30e9 in QWidgetPrivate::show_recursive (this=0x8a4e390) at kernel/qwidget.cpp:6632
#50 0xb6bb326f in QWidgetPrivate::showChildren (this=0x8a4e0d0, spontaneous=false) at kernel/qwidget.cpp:7066
#51 0xb6bb2dc1 in QWidgetPrivate::show_helper (this=0x8a4e0d0) at kernel/qwidget.cpp:6708
#52 0xb6bb34ab in QWidget::setVisible (this=0x8a4c0a0, visible=true) at kernel/qwidget.cpp:6980
#53 0xb6b95011 in QWidget::show (this=0x8a4e008, index=1) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#54 QStackedLayout::setCurrentIndex (this=0x8a4e008, index=1) at kernel/qstackedlayout.cpp:313
#55 0xb6b9519d in QStackedLayout::setCurrentWidget (this=0x8a4e008, widget=0x8a4c0a0) at kernel/qstackedlayout.cpp:367
#56 0xb6fc1b4c in QStackedWidget::setCurrentWidget (this=0x8a4d2a0, widget=0x8a4c0a0) at widgets/qstackedwidget.cpp:248
#57 0xb3ee2da1 in IconMode::moduleLoaded (this=0x8a49dd0) at ../../../systemsettings/icons/IconMode.cpp:143
#58 0xb3ee3663 in IconMode::qt_metacall (this=0x8a49dd0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfdd3ab8) at ./IconMode.moc:75
#59 0xb6677303 in QMetaObject::activate (sender=0x8a4c0a0, from_signal_index=27, to_signal_index=27, argv=0xbfdd3ab8) at kernel/qobject.cpp:3112
#60 0xb6677f42 in QMetaObject::activate (sender=0x8a4c0a0, m=0xb777a31c, local_signal_index=0, argv=0xbfdd3ab8) at kernel/qobject.cpp:3186
#61 0xb776d569 in ModuleView::moduleChanged (this=0x8a4c0a0, _t1=false) at ./ModuleView.moc:106
#62 0xb776dbd9 in ModuleView::stateChanged (this=0x8a4c0a0) at ../../../systemsettings/core/ModuleView.cpp:303
#63 0xb776ee85 in ModuleView::activeModuleChanged (this=0x8a4c0a0, current=0x8baf788, previous=0x0) at ../../../systemsettings/core/ModuleView.cpp:291
#64 0xb776fc30 in ModuleView::qt_metacall (this=0x8a4c0a0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfdd3c54) at ./ModuleView.moc:92
#65 0xb6677303 in QMetaObject::activate (sender=0x8a4c0c0, from_signal_index=32, to_signal_index=32, argv=0xbfdd3c54) at kernel/qobject.cpp:3112
#66 0xb6677f42 in QMetaObject::activate (sender=0x8a4c0c0, m=0xb77502d0, local_signal_index=0, argv=0xbfdd3c54) at kernel/qobject.cpp:3186
#67 0xb75d9d09 in KPageWidget::currentPageChanged (this=0x8a4c0c0, _t1=0x8baf788, _t2=0x0) at ./kpagewidget.moc:90
#68 0xb75d9e42 in KPageWidgetPrivate::_k_slotCurrentPageChanged (this=0x8a4dda0, current=..., before=...) at ../../kdeui/paged/kpagewidget.cpp:43
#69 0xb75d9f01 in KPageWidget::qt_metacall (this=0x8a4c0c0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfdd3da4) at ./kpagewidget.moc:78
#70 0xb6677303 in QMetaObject::activate (sender=0x8a4c0c0, from_signal_index=27, to_signal_index=27, argv=0xbfdd3da4) at kernel/qobject.cpp:3112
#71 0xb6677f42 in QMetaObject::activate (sender=0x8a4c0c0, m=0xb774f7cc, local_signal_index=0, argv=0xbfdd3da4) at kernel/qobject.cpp:3186
#72 0xb75d4b89 in KPageView::currentPageChanged (this=0x8a4c0c0, _t1=..., _t2=...) at ./kpageview.moc:134
#73 0xb75d590c in KPageViewPrivate::_k_pageSelected (this=0x8a4dda0, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235
#74 0xb75d6357 in KPageView::qt_metacall (this=0x8a4c0c0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfdd3f38) at ./kpageview.moc:94
#75 0xb75d9eba in KPageWidget::qt_metacall (this=0x8a4c0c0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfdd3f38) at ./kpagewidget.moc:70
#76 0xb6677303 in QMetaObject::activate (sender=0x8a4c3d8, from_signal_index=5, to_signal_index=5, argv=0xbfdd3f38) at kernel/qobject.cpp:3112
#77 0xb6677f42 in QMetaObject::activate (sender=0x8a4c3d8, m=0xb73bc610, local_signal_index=1, argv=0xbfdd3f38) at kernel/qobject.cpp:3186
#78 0xb70ecb69 in QItemSelectionModel::currentChanged (this=0x8a4c3d8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:153
#79 0xb70ecd0d in QItemSelectionModel::setCurrentIndex (this=0x8a4c3d8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1123
#80 0xb75d5c29 in KPageViewPrivate::_k_rebuildGui (this=0x8a4dda0) at ../../kdeui/paged/kpageview.cpp:70
#81 0xb75d6240 in KPageViewPrivate::_k_modelChanged (this=0x8a4dda0) at ../../kdeui/paged/kpageview.cpp:190
#82 0xb75d636e in KPageView::qt_metacall (this=0x8a4c0c0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdd41b8) at ./kpageview.moc:93
#83 0xb75d9eba in KPageWidget::qt_metacall (this=0x8a4c0c0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfdd41b8) at ./kpagewidget.moc:70
#84 0xb6677303 in QMetaObject::activate (sender=0x8a4fd58, from_signal_index=6, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3112
#85 0xb6677f42 in QMetaObject::activate (sender=0x8a4fd58, m=0xb6753978, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3186
#86 0xb66b1e87 in QAbstractItemModel::layoutChanged (this=0x8a4fd58) at .moc/release-shared/moc_qabstractitemmodel.cpp:139
#87 0xb75dc1cc in KPageWidgetModel::addPage (this=0x8a4fd58, item=0x8baf788) at ../../kdeui/paged/kpagewidgetmodel.cpp:394
#88 0xb75da17a in KPageWidget::addPage (this=0x8a4c0c0, item=0x8baf788) at ../../kdeui/paged/kpagewidget.cpp:87
#89 0xb776f3ea in ModuleView::addModule (this=0x8a4c0a0, module=0x8941258) at ../../../systemsettings/core/ModuleView.cpp:177
#90 0xb776f95e in ModuleView::loadModule (this=0x8a4c0a0, menuItem=0x8932010) at ../../../systemsettings/core/ModuleView.cpp:137
#91 0xb3ee2f59 in IconMode::changeModule (this=0x8a49dd0, activeModule=...) at ../../../systemsettings/icons/IconMode.cpp:137
#92 0xb3ee367d in IconMode::qt_metacall (this=0x8a49dd0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfdd450c) at ./IconMode.moc:74
#93 0xb6677303 in QMetaObject::activate (sender=0x8a57638, from_signal_index=34, to_signal_index=34, argv=0xbfdd450c) at kernel/qobject.cpp:3112
#94 0xb6677f42 in QMetaObject::activate (sender=0x8a57638, m=0xb73bbc04, local_signal_index=3, argv=0xbfdd450c) at kernel/qobject.cpp:3186
#95 0xb70921b3 in QAbstractItemView::activated (this=0x8a57638, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:335
#96 0xb709fc80 in QAbstractItemView::mouseReleaseEvent (this=0x8a57638, event=0xbfdd4fdc) at itemviews/qabstractitemview.cpp:1664
#97 0xb70b66cf in QListView::mouseReleaseEvent (this=0x8a57638, e=0xbfdd4fdc) at itemviews/qlistview.cpp:851
#98 0xb758d714 in KCategorizedView::mouseReleaseEvent (this=0x8a57638, event=0xbfdd4fdc) at ../../kdeui/itemviews/kcategorizedview.cpp:1135
#99 0xb6bad9fb in QWidget::event (this=0x8a57638, event=0xbfdd4fdc) at kernel/qwidget.cpp:7554
#100 0xb6f53543 in QFrame::event (this=0x8a57638, e=0xbfdd4fdc) at widgets/qframe.cpp:559
#101 0xb6ff159f in QAbstractScrollArea::viewportEvent (this=0x8a57638, e=0x6) at widgets/qabstractscrollarea.cpp:962
#102 0xb70a2887 in QAbstractItemView::viewportEvent (this=0x8a57638, event=0xbfdd4fdc) at itemviews/qabstractitemview.cpp:1476
#103 0xb6ff3b75 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8a5dda0, o=0x8a576a8, e=0xbfdd4fdc) at widgets/qabstractscrollarea_p.h:100
#104 QAbstractScrollAreaFilter::eventFilter (this=0x8a5dda0, o=0x8a576a8, e=0xbfdd4fdc) at widgets/qabstractscrollarea_p.h:111
#105 0xb666141a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88261f8, receiver=0x8a576a8, event=0xbfdd4fdc) at kernel/qcoreapplication.cpp:726
#106 0xb6b57a6c in QApplicationPrivate::notify_helper (this=0x88261f8, receiver=0x8a576a8, e=0xbfdd4fdc) at kernel/qapplication.cpp:4061
#107 0xb6b60551 in QApplication::notify (this=0xbfdd68cc, receiver=0x8a576a8, e=0xbfdd4fdc) at kernel/qapplication.cpp:3767
#108 0xb75a2e2a in KApplication::notify (this=0xbfdd68cc, receiver=0x8a576a8, event=0xbfdd4fdc) at ../../kdeui/kernel/kapplication.cpp:302
#109 0xb66621eb in QCoreApplication::notifyInternal (this=0xbfdd68cc, receiver=0x8a576a8, event=0xbfdd4fdc) at kernel/qcoreapplication.cpp:610
#110 0xb6b5f5de in QCoreApplication::sendSpontaneousEvent (receiver=0x8a576a8, event=0xbfdd4fdc, alienWidget=0x8a576a8, nativeWidget=0x8886550, buttonDown=0xb73ce580, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#111 QApplicationPrivate::sendMouseEvent (receiver=0x8a576a8, event=0xbfdd4fdc, alienWidget=0x8a576a8, nativeWidget=0x8886550, buttonDown=0xb73ce580, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#112 0xb6bce175 in QETWidget::translateMouseEvent (this=0x8886550, event=0xbfdd658c) at kernel/qapplication_x11.cpp:4411
#113 0xb6bcd646 in QApplication::x11ProcessEvent (this=0xbfdd68cc, event=0xbfdd658c) at kernel/qapplication_x11.cpp:3430
#114 0xb6bf7bc2 in x11EventSourceDispatch (s=0x88286b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#115 0xb5b56b38 in g_main_dispatch (context=0x8828ca0) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:1960
#116 IA__g_main_context_dispatch (context=0x8828ca0) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2513
#117 0xb5b5a3d0 in g_main_context_iterate (context=0x8828ca0, block=<value optimized out>, dispatch=1, self=0x8825a30) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2591
#118 0xb5b5a503 in IA__g_main_context_iteration (context=0x8828ca0, may_block=1) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2654
#119 0xb668d041 in QEventDispatcherGlib::processEvents (this=0x8808b28, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#120 0xb6bf7305 in QGuiEventDispatcherGlib::processEvents (this=0x8808b28, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#121 0xb666083a in QEventLoop::processEvents (this=0xbfdd6840, flags=...) at kernel/qeventloop.cpp:149
#122 0xb6660c82 in QEventLoop::exec (this=0xbfdd6840, flags=...) at kernel/qeventloop.cpp:201
#123 0xb66630d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#124 0xb6b57917 in QApplication::exec () at kernel/qapplication.cpp:3525
#125 0x08052e9e in main (argc=5, argv=0xbfdd69f4) at ../../../systemsettings/app/main.cpp:51

Reported using DrKonqi
Comment 1 Rein 2010-04-02 17:47:51 UTC
Probably duplicate of https://bugs.kde.org/show_bug.cgi?id=215661
Comment 2 Rein 2010-04-14 12:23:45 UTC
problem fixed.
I installed policykit and polkit-kde-1.