Crashes on startup if there are invalid maps

Bug #309058 reported by perlhead
4
Affects Status Importance Assigned to Milestone
labyrinth
Unknown
Unknown
labyrinth (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: labyrinth

If there are invalid (for example, empty) map files in ~gnome2/labyrinth, the program will fail to start.

The attached patch solves this problem, but it doesn't do anything useful with the bogus file: it just ignores the problem. The program should probably inform the user about the situation, and offer the possibility to delete the file or to move it somewhere else.

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy labyrinth
labyrinth:
  Installed: 0.4.0-0ubuntu1
  Candidate: 0.4.0-0ubuntu1
  Version table:
 *** 0.4.0-0ubuntu1 0
        500 http://www.nic.funet.fi intrepid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
perlhead (fheinz) wrote :
tags: added: patch patch-forwarded-upstream
tags: added: patch-accepted-upstream
removed: patch-forwarded-upstream
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.