Program crashes during startup.

Bug #596468 reported by Pascal Chauvin
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Baltix
Undecided
Unassigned
gl-117 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gl-117

This bug affects gl-117 software for Ubuntu Netbook Remix 9.04, 9.10 and 10.04.
The application crashes at startup, with a segmentation fault. The fact is, software tries to build from scratch two configuration files with screen bounds values (inside ".gl-117" home user's folder) that appear to be hardcoded in the binaries: they are no templates available in the distributed software. These files "conf" and "conf.interfaces" are mentioned in the software's manpage, but they are build at first launch with values that exceed screen boundaries on netbooks.

The workaround follows: I got these two config files on another working gl-117 package (an external distro, for instance Debian GNU/Linux Lenny/powerpc, or even a PortableGL-117 for windows), and copied them into ".gl-117" folder. The important thing is to lower screen limits in the "conf" file, to fit in small screen, for instance:

----- cut here from "conf"
# Some possible width x height values for fullscreen mode:
# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024
 width = 640
 height = 480
# Possible bits per pixel values (color depth):
# 8 (not recommended), 16, 24, 32
 bpp = 24
# Try to go fullscreen = 1, game in window = 0
 fullscreen = 0
----- end

There is no modification to the "conf.interface" but it needs to be present.

The good fix method is to fix the default values is the binary (the developer is responsible for this), or to provide these two files by default in the package, with low values.

Revision history for this message
Pascal Chauvin (pascal-chauvin7-laposte) wrote :

There is such a bug of this kind for "extreme tux racer" package, but the configuration files are available in "~/.etracer/options" and can easily be fixed manually by user.

Changed in gl-117 (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Nighswonger (marknigh) wrote :

Hi,
I've been trying to find a fix for this program. I decided to copy over the .gl-117 files from my pc to my netbook. It worked like a charm. It's just a work around but we can play while better minds come up with a fix.
MN

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers