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

            Bug ID: 485407
           Summary: polkit-kde-agent crashes with nullptr
    Classification: Plasma
           Product: policykit-kde-agent-1
           Version: 6.0.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: jorgylbran...@gmail.com
                CC: d...@kde.org, jgrul...@redhat.com, jrez...@redhat.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The daemon launches and runs like expected but then silently crashes. The
daemon isn't running in the background because ```appFilePath points to
nullptr!```. I don't know what it means but it happens every time like clock
work on both of my systems.

STEPS TO REPRODUCE
1. have it get executed during startup
2. launch an application with elevated privileges
3. launch a second application and see it not launch or show a banner across
the top.

OBSERVED RESULT
the daemon runs once and silently closes in the background.

EXPECTED RESULT
The daemon runs every time there is a requested privalage escalation.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Hyprland / archlinux - 6.8.4-zen1-1-zen
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: qt6-wayland-6.7.0-1

ADDITIONAL INFORMATION
```[lee@Monolith ~]$ /usr/lib/polkit-kde-authentication-agent-1
New PolkitAgentListener  0x5bf069048780
Adding new listener  PolkitQt1::Agent::Listener(0x746b20008f90) for 
0x5bf069048780
Listener online
Authentication agent result: true
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x5bf06917c410
polkit_qt_listener_initiate_authentication callback for  0x5bf069048780
Initiating authentication
Action description has been found
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style
"Fusion"
User:  "unix-user:lee"
Trying again
REQUEST
Request:  "Password: "
Dialog accepted
COMPLETED
Completed:  true
Finishing obtaining privileges
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x5bf069048780
Finish obtain authorization: true
Dialog cancelled
Finishing obtaining privileges
KCrash: appFilePath points to nullptr!
KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
Segmentation fault ```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to