Segfault if preferences.xml malformed

Bug #1709487 reported by Tim Band on 2017-08-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Stopmotion

Bug Description

If there is a ~/.stopmotion/preferences.xml file but it is not valid XML (for example if it is an empty file) Stopmotion segfaults upon startup.
Stopmotion should report the error so that the user can fix it and give the option of recreating the file and continuing, or at the very least do one of the following:
1) tell the user which file is corrupt and let them know that it can be deleted to easily move forward or
2) silently recreate the file and log the error.

Tim Band (tim-band) on 2017-09-04
Changed in lsm:
status: New → In Progress
Tim Band (tim-band) wrote :

Fixed in 0.8.4

Changed in lsm:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers