stopmotion allways writes empty preferences.xml, crashing on the next start

Bug #300041 reported by Florian Hars
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stopmotion (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: stopmotion

On almost every run I have observed so far, stopmotion has written an empty .stopmotion/preferenxes.xml (even if there was a nonempty one before), with the result that it can no longer start:

$ stopmotion
/home/hars/.stopmotion/preferences.xml:1: parser error : Document is empty

^
/home/hars/.stopmotion/preferences.xml:1: parser error : Start tag expected, '<' not found

^
Segmentation fault

A program shouldn't segfault on reading a file that it has written itself.

Description: Ubuntu 8.10
Release: 8.10
stopmotion:
  Installed: 0.6.2-1
  Candidate: 0.6.2-1
  Version table:
 *** 0.6.2-1 0
        500 http://de.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Florian Hars (hars) wrote :

This happens if I start stopmotion in an UTF-8 locale, if I start it with LC_ALL=C, it writes a nonempty preferences.xml.

Revision history for this message
michote (michote) wrote :

I've the same problem

Revision history for this message
Ian (superian) wrote :

I have the 'it won't run a second time' problem, but with an error message if ~/.stopmotion exists:

"You do not have the necessary permissions to run Stopmotion.
You need permission to read, write and execute on ~/.stopmotion"

Needless to say it does have the right permissions. It also has a nonempty preferences.xml (and is copied to preferences.xml.OLD and a new one written before the error!)

Deleting the xml files and rerunning the program results in a new nonempty preferences.xml being created and the same error.

Deleting the directory and rerunning the program works.

ian@CORE2:~$ dpkg -s stopmotion
Package: stopmotion
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 4312
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: amd64
Version: 0.6.2-1
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqtcore4 (>= 4.4.1), libqtgui4 (>= 4.4.1), libsdl-image1.2 (>= 1.2.5), libsdl1.2debian (>= 1.2.10-1), libstdc++6 (>= 4.2.1), libtar, libvorbisfile3 (>= 1.1.2), libx11-6, libxml2 (>= 2.6.27)
Recommends: vgrabbj, dvgrab, ffmpeg
Suggests: gimp

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.