crashes with non-POSIX locale

Bug #1267466 reported by ronny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Stopmotion
Fix Released
Undecided
Tim Band

Bug Description

When using a non-POSIX locale, e.g. de_DE.utf8 or de_CH.utf8, stopmotion creates an empty preferences file at startup and produces the following error messages on the console:
----------
error : string is not in UTF-8
encoding error : output conversion failed due to conv error, bytes 0xE4 0x74 0x20 0x28
I/O error : encoder error
----------

Stopmotion then crashes on all subsequent starts because of the empty preferences file. More details can be found in the following Debian bugreport:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516765

Revision history for this message
Tim Band (tim-band) wrote :

Reproduce this issue by deleting ~/.stopmotion/preferences.xml then:

LC_ALL=de_DE.utf8 stopmotion

The error messages appear. I get a segfault. An empty ~/.stopmotion/preferences.xml file is generated, which prevents Stopmotion from starting subsequently even if a working locale is requested.

Changed in lsm:
status: New → Confirmed
Revision history for this message
Tim Band (tim-band) wrote :

The fix seems obvious: set all preferences as UTF8. See branch bug1267466.

Changed in lsm:
status: Confirmed → In Progress
assignee: nobody → Tim Band (tim-band)
Tim Band (tim-band)
Changed in lsm:
status: In Progress → Fix Committed
Revision history for this message
Tim Band (tim-band) wrote :

released in 0.7

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.