The length of the path of the current working directory can be obtained in bash with
echo -n $(readlink -f $PWD) | wc -c ** Summary changed: - segfault when trying to load or save a mesh + crashes when trying to load or save images or meshes ** Description changed: - This seams to happen when the length of the path of the current working - directory is larger than 68 characters. This condition can be checked by - running + applies to the binary package gtkmorph version 1:20090926 - echo $(($(echo -n $(readlink -f `pwd`) | wc -c) > 68)) + segfault occurs directly after click on one of the buttons for loading + or saving images or meshes - in bash. + reproducible when an image is loaded and the path of the loaded image is + longer than x characters, - The segault occurs immediately after the click on the "load mesh" or - "save mesh" button, before the file open/save dialog is opened. + 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 ** Description changed: 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 + 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 + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1066056 Title: crashes when trying to load or save images or meshes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xmorph/+bug/1066056/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs