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

            Bug ID: 429030
           Summary: Segfaults on startup if KConfigGui::sessionConfig()
                    returns nullptr
           Product: kiten
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: jker...@gmail.com
          Reporter: fbri...@fbriere.net
  Target Milestone: ---

Created attachment 133269
  --> https://bugs.kde.org/attachment.cgi?id=133269&action=edit
Simple patch

[Originally submitted as https://bugs.debian.org/974597]

kiten invariably segfaults on startup for me:

#0  0x00007f3833a898ff in KConfigBase::hasGroup (this=0x0,
    group=group@entry=0x561e19ce44a3 "app") at ./src/core/kconfigbase.cpp:22
#1  0x0000561e19cd660a in Kiten::finishInit (this=0x561e1b286560)
    at ./app/kiten.cpp:297

This is due to KConfigGui::sessionConfig() no longer creating a session
config when the application is not actually being restored from an
earlier session, and returning nullptr instead.  Hence the segfault.

Patch attached.

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

Reply via email to