[policykit-kde-agent-1] [Bug 486519] New: Segmentation fault after authentication
Alois Wohlschlager
bugzilla_noreply at kde.org
Fri May 3 18:33:40 BST 2024
https://bugs.kde.org/show_bug.cgi?id=486519
Bug ID: 486519
Summary: Segmentation fault after authentication
Classification: Plasma
Product: policykit-kde-agent-1
Version: 6.0.4
Platform: NixOS
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: alois1 at gmx-topmail.de
CC: drf at kde.org, jgrulich at redhat.com, jreznik at redhat.com
Target Milestone: ---
SUMMARY
After any authentication attempt (successful or not),
polkit-kde-authentication-agent-1 segfaults.
STEPS TO REPRODUCE
1. Run `journalctl --user -f -u plasma-polkit-agent.service` in a terminal to
obtain log messages (keep this running)
2. Perform any action that requires polkit authentication (for example, run
`pkexec true` in a second terminal)
3. Finish or cancel the authentication
OBSERVED RESULT
As evidenced by the log messages showing up in the terminal from the first
step, polkit-kde-authentication-agent-1 terminates as the result of a
segmentation fault.
EXPECTED RESULT
The polkit agent keeps running, ready to accept another authentication request.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
ADDITIONAL INFORMATION
Backtrace (please tell me if you need a better one):
#0 0x00007ffff51d33c4 in QObject::deleteLater() ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#1 0x0000000000409d31 in PolicyKitListener::finishObtainPrivilege
(this=0x7c8660)
at /build/polkit-kde-agent-1-6.0.4/policykitlistener.cpp:205
#2 0x00007ffff51e4f10 in void doActivate<false>(QObject*, int, void**) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#3 0x00007ffff51e4f10 in void doActivate<false>(QObject*, int, void**) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#4 0x00007ffff72456df in QQmlVMEMetaObject::metaCall(QObject*,
QMetaObject::Call, int, void**) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#5 0x00007ffff719dc13 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int,
void**) const ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#6 0x00007ffff704d14e in QV4::CallPrecise(QQmlObjectOrGadget const&,
QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*,
QMetaObject::Call) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#7 0x00007ffff704f771 in QV4::QObjectMethod::callInternal(QV4::Value const*,
QV4::Value const*, int) const ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#8 0x00007ffff70a8719 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*,
QV4::ExecutionEngine*, char const*) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#9 0x00007ffff70aba67 in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*,
QV4::ExecutionEngine*) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#10 0x00007ffff6ff590e in QV4::doCall(QV4::Function*, QV4::Value const*,
QV4::Value const*, int, QV4::ExecutionContext*) () from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#11 0x00007ffff6ff60bb in QV4::Function::call(QObject*, void**, QMetaType
const*, int, QV4::ExecutionContext*) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#12 0x00007ffff715bbb5 in QQmlJavaScriptExpression::evaluate(void**, QMetaType
const*, int) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#13 0x00007ffff70fe895 in QQmlBoundSignalExpression::evaluate(void**) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#14 0x00007ffff70ff270 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*,
void**) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#15 0x00007ffff71883da in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Qml.so.6
#16 0x00007ffff51e4658 in void doActivate<false>(QObject*, int, void**) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#17 0x00007ffff76c0bff in QQuickWindowQmlImpl::visibleChanged(bool) ()
from
/nix/store/d6q42lq8m8sskbn17hjq75xwdyai7jfl-qtdeclarative-6.7.0/lib/libQt6Quick.so.6
#18 0x00007ffff51e4cc3 in void doActivate<false>(QObject*, int, void**) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#19 0x00007ffff5a2da42 in QWindow::visibleChanged(bool) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Gui.so.6
#20 0x00007ffff5a32dea in QWindow::setVisible(bool) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Gui.so.6
#21 0x00007ffff51d6a44 in QObject::event(QEvent*) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#22 0x00007ffff6394d11 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Widgets.so.6
#23 0x00007ffff5181ea0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#24 0x00007ffff5185ab1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#25 0x00007ffff544e023 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#26 0x00007ffff4f12744 in g_main_dispatch
(context=context at entry=0x7fffec000ef0) at ../glib/gmain.c:3476
#27 0x00007ffff4f15797 in g_main_context_dispatch_unlocked
(context=0x7fffec000ef0) at ../glib/gmain.c:4284
#28 g_main_context_iterate_unlocked (context=context at entry=0x7fffec000ef0,
block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#29 0x00007ffff4f15d8c in g_main_context_iteration (context=0x7fffec000ef0,
may_block=1) at ../glib/gmain.c:4414
#30 0x00007ffff544d8dc in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#31 0x00007ffff518ec53 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#32 0x00007ffff518adc6 in QCoreApplication::exec() ()
from
/nix/store/az08nlbvpaxrgl07scysk36vscpxkzx4-qtbase-6.7.0/lib/libQt6Core.so.6
#33 0x000000000040814a in main (argc=<optimized out>, argv=<optimized out>)
at /build/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