[policykit-kde-agent-1] [Bug 485407] polkit-kde-agent crashes with nullptr

Nate Graham bugzilla_noreply at kde.org
Wed May 15 00:39:02 BST 2024


https://bugs.kde.org/show_bug.cgi?id=485407

--- Comment #12 from Nate Graham <nate at kde.org> ---
Thanks, pasting it inline:

Thread 1 "polkit-kde-auth" received signal SIGSEGV, Segmentation fault.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo at entry=11,
no_tid=no_tid at entry=0) at pthread_kill.c:44


44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo at entry=11, no_tid=no_tid at entry=0) at pthread_kill.c:44
#1  0x00007ffff52ac203 in __pthread_kill_internal (signo=11,
threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ffff5258d70 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff7ea845f in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kcrash/kcrash-6.1.0/src/kcrash.cpp:593
#4  0x00007ffff5258e20 in <signal handler called> () at /usr/lib/libc.so.6
#5  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get
(this=0x8, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qscopedpointer.h:110
#6  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > > (ptr=..., ptr=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/global/qtclasshelpermacros.h:79
#7  QObject::d_func (this=0x0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.h:107
#8  QObject::deleteLater (this=0x0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2456
#9  0x000055555555d6e8 in PolicyKitListener::finishObtainPrivilege
(this=0x7fffec009010) at
/usr/src/debug/polkit-kde-agent/polkit-kde-agent-1-6.0.4/policykitlistener.cpp:205
#10 0x00007ffff599797b in doActivate<false> (sender=0x5555556a1180,
signal_index=4, argv=0x7fffffffb2e8) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4090
#11 0x00007ffff599797b in doActivate<false> (sender=0x5555555b1d90,
signal_index=79, argv=0x7fffffffb910) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4090
#12 0x00007ffff7351ca0 in QQmlVMEMetaObject::metaCall (this=0x555555949d30,
o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=122, a=0x7fffffffb910)
at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/qqmlvmemetaobject.cpp:1121
#13 0x00007ffff72d57f4 in QQmlObjectOrGadget::metacall (this=0x7fffffffbb80,
type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized
out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/qqmlobjectorgadget.cpp:14
#14 0x00007ffff71bd114 in QV4::CallMethod
(callType=QMetaObject::InvokeMetaMethod, callArgs=<optimized out>,
engine=0x555555620b30, argTypes=0x0, argCount=0, returnType=...,
index=<optimized out>, object=...) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:1663
#15 QV4::CallPrecise (object=..., data=<optimized out>, engine=<optimized out>,
engine at entry=0x555555620b30, callArgs=<optimized out>,
callArgs at entry=0x7fffe81bf580,
callType=callType at entry=QMetaObject::InvokeMetaMethod) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:1956
#16 0x00007ffff71c0e29 in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#17 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const
QV4::Value*, int) const::<lambda()> > (call=<optimized out>,
__closure=<synthetic pointer>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:2901
#18 QV4::QObjectMethod::callInternal (this=0x7fffffffbc90,
thisObject=<optimized out>, argv=0x7fffe81bf500, argc=0) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:2924
#19 0x00007ffff7208ae3 in QV4::Moth::VME::interpret (frame=0x7fffffffc040,
engine=0x555555620b30, code=0x555555781380 "P\025\031\367\377\177") at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4vme_moth.cpp:798
#20 0x00007ffff720c1c4 in QV4::Moth::VME::exec (frame=<optimized out>,
engine=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4vme_moth.cpp:487
#21 0x00007ffff71751fe in QV4::doCall (self=<optimized out>,
thisObject=thisObject at entry=0x555555761370, argv=<optimized out>,
argc=<optimized out>, context=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4function.cpp:54
#22 0x00007ffff7179b2c in QV4::Function::call (this=this at entry=0x555555761370,
thisObject=0x555555761370, argv=argv at entry=0x7fffe81bf4f0, argc=argc at entry=1,
context=context at entry=0x7fffebe46bb0) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4function.cpp:79
#23 0x00007ffff7179e16 in operator() (argc=1, argv=0x7fffe81bf4f0,
thisObject=<optimized out>, __closure=<synthetic pointer>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4function.cpp:30
#24 QV4::convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*,
int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*,
int)> > (call=..., argc=1, types=0x7fffffffc318, a=0x7fffffffde00,
thisObject=0x5555555b1d90, engine=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4jscall_p.h:194
#25 QV4::Function::call (this=0x555555761370, thisObject=0x5555555b1d90,
a=0x7fffffffde00, types=0x7fffffffc318, argc=1, context=0x7fffebe46bb0) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/jsruntime/qv4function.cpp:27
#26 0x00007ffff72a2917 in QQmlJavaScriptExpression::evaluate (this=<optimized
out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/qqmljavascriptexpression_p.h:248
#27 0x00007ffff7252a81 in QQmlBoundSignalExpression::evaluate
(this=this at entry=0x555555a2dc80, a=a at entry=0x7fffffffde00) at
/usr/include/qt6/QtCore/qvarlengtharray.h:85
#28 0x00007ffff72576eb in QQmlBoundSignal_callback (a=0x7fffffffde00,
e=0x555555a2db40) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/ftw/qqmlrefcount_p.h:73
#29 QQmlBoundSignal_callback (e=0x555555a2db40, a=0x7fffffffde00) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/qqmlboundsignal.cpp:293
#30 0x00007ffff72c2ad7 in QQmlNotifier::emitNotify (endpoint=<optimized out>,
a=0x7fffffffde00) at
/usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.7.0/src/qml/qml/qqmlnotifier.cpp:70
#31 0x00007ffff59974aa in doActivate<false> (sender=0x5555555b1d90,
signal_index=41, argv=0x7fffffffde00) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:3970
#32 0x00007ffff784f954 in QQuickWindowQmlImpl::visibleChanged (this=<optimized
out>, _t1=<optimized out>) at
/usr/src/debug/qt6-declarative/build/src/quick/Quick_autogen/include/moc_qquickwindowmodule_p.cpp:390
#33 0x00007ffff5997679 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffdf30,
r=0x5555555b1d90, this=0x555555937e10, this=<optimized out>, r=<optimized out>,
a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#34 doActivate<false> (sender=0x5555555b1d90, signal_index=15,
argv=0x7fffffffdf30) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4078
#35 0x00007ffff5fcc66e in QWindow::visibleChanged (_t1=false,
this=0x5555555b1d90) at
/usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qwindow.cpp:901
#36 QWindowPrivate::setVisible (this=0x55555568cd60, visible=false) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:349
#37 0x00007ffff5988454 in QObject::event (this=0x5555555b1d90,
e=0x7fffdc007c90) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1446
#38 0x00007ffff68fbfcb in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5555555b1d90, e=0x7fffdc007c90) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#39 0x00007ffff593db38 in QCoreApplication::notifyInternal2
(receiver=0x5555555b1d90, event=event at entry=0x7fffdc007c90) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
#40 0x00007ffff593dec4 in QCoreApplication::sendEvent (event=0x7fffdc007c90,
receiver=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1575
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x55555559f520) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1932
#42 0x00007ffff5b860f4 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1789
#43 postEventSourceDispatch (s=0x5555555cf7c0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#44 0x00007ffff570d199 in g_main_dispatch (context=0x7fffec000f00) at
../glib/glib/gmain.c:3344
#45 0x00007ffff576c3bf in g_main_context_dispatch_unlocked
(context=0x7fffec000f00) at ../glib/glib/gmain.c:4152
#46 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x7fffec000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#47 0x00007ffff570c712 in g_main_context_iteration (context=0x7fffec000f00,
may_block=1) at ../glib/glib/gmain.c:4282
#48 0x00007ffff5b83e04 in QEventDispatcherGlib::processEvents
(this=0x5555555a1af0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#49 0x00007ffff5945cce in QEventLoop::processEvents (flags=...,
this=0x7fffffffe3c0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#50 QEventLoop::exec (this=0x7fffffffe3c0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#51 0x00007ffff5941738 in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#52 0x00007ffff68f851a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#53 0x000055555555b74a in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/polkit-kde-agent/polkit-kde-agent-1-6.0.4/main.cpp:80

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list