crashes when trying to load or save images or meshes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xmorph (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
applies to the binary package gtkmorph version 1:20090926
segfault occurs directly after click on one of the buttons for loading or saving images or meshes
reproducible when an image is loaded and the path of the loaded image is longer than x characters,
where x is
- in the main window
70 to load a new image or save the current image
77 to load a mesh or save the mesh
- in a window for an additional image
72 to load an image or save the image
79 to load a mesh or save the mesh
The relevant path is shown in the open file dialog when loading the image. When the path of the image contains the path of the current working directory, and the path of the currrent working directory contains symlinks, then these are normalized as by readlink -f.
The length of the path of the current working directory can be obtained in bash with
echo -n $(readlink -f $PWD) | wc -c