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

            Bug ID: 404402
           Summary: discover implodes when opening an appstream uri
           Product: Discover
           Version: 5.15.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: KNewStuff Backend
          Assignee: lei...@leinir.dk
          Reporter: sit...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 118113
  --> https://bugs.kde.org/attachment.cgi?id=118113&action=edit
cgcicon.knsrc file for reference

when opening an appstream uri (through webbrowser or appstream krunner runner)
the app page will briefly appear and a few seconds later discover will crash.

STEPS TO REPRODUCE
1. have /etc/xdg/cgcicon.ksnrc [bogus ksnrc]
2. run `plasma-discover appstream://org.kde.kamoso.desktop`

OBSERVED RESULT

crash

EXPECTED RESULT

no crash
SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 5.15
(available in About System)
KDE Plasma Version: 5.15
KDE Frameworks Version: 5.55
Qt Version: 5.12


Only using two backends still crashes

plasma-discover appstream://org.kde.kamoso.desktop --backends
packagekit-backend,kns-backend

Only using pk backend does not crash

plasma-discover appstream://org.kde.kamoso.desktop --backends
packagekit-backend

Working theory is that somehow the invalid ksnrc causes the crash. It's unclear
how. Moving the file away  makes discover not crash, moving it back makes it
crash again. Backtracing is unfortunately fairly meh because of qml. Jonathan
Riddell can also confirm the crash with that file in place.

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

Reply via email to