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

            Bug ID: 400271
           Summary: Need way to allow applications to handle invalid XML
                    without crashing.
           Product: frameworks-kxmlgui
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: bus_kdezi...@semitwist.com
  Target Milestone: ---

According to Elvis Angelaccio over at Bug 400093, "There is an abort() in
kxmlgui if the xml file has a wrong syntax." As a result, Dolphin crashes upon
startup if its config has become messed up, and is unable to perform any
actions such as informing the user of what went wrong, loading a default
configurations instead, etc. If both my understanding and Elvis's analysis of
kxmlgui correct, then this means ANY application using kxmlgui is doomed to the
same crash behaviour, with no option for graceful handling.

What is needed is a mechanism, possibly opt-in, for an application using
kxmlgui to be told of an error in the XML, leaving it up to the application to
determine how to proceed.

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

Reply via email to