To test further, I took the attached XML file from this report and replaced an XML file I created by adding a comment through gthumb. gthumb segfaulted again.
I removed the XML file from the folder (leaving other XML files in place) and gthumb did not crash. It therefore does seem that certain XML file contents will cause segfaults. An app shouldn't crash because a file contains unexpected data. ** Tags added: apport-collected ** Description changed: Binary package hint: gthumb $ gdb --args gthumb . GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gthumb...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/gthumb . [Thread debugging using libthread_db enabled] [New Thread 0x7fffe82b3710 (LWP 13329)] [New Thread 0x7fffe70df710 (LWP 13330)] [New Thread 0x7fffe63ea710 (LWP 13331)] [New Thread 0x7fffe5be9710 (LWP 13332)] [New Thread 0x7fffe53e8710 (LWP 13333)] [New Thread 0x7fffe4be7710 (LWP 13334)] [New Thread 0x7fffe43e6710 (LWP 13335)] [New Thread 0x7fffe4365710 (LWP 13336)] [New Thread 0x7fffe42e4710 (LWP 13337)] [New Thread 0x7fffdff3f710 (LWP 13338)] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7843ce8 in comments_load_comment () from /usr/lib/gthumb/libgthumb.so (gdb) It appears when certain .xml files are in the .comments subfolder, gthumb will crash. The attached XML file was not created manually by me, but by some process, possibly in a previous linux install, and was situated in the .comments subdirectory of a folder containing images. When I emptied the .comments folder, gthumb started without fault. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: gthumb 3:2.11.2.1.is.2.10.11-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7 Uname: Linux 2.6.32-25-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Wed Oct 13 02:54:23 2010 InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1) ProcEnviron: LANG=en_AU.utf8 SHELL=/bin/bash SourcePackage: gthumb + --- + Architecture: amd64 + DistroRelease: Ubuntu 10.04 + InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1) + NonfreeKernelModules: nvidia + Package: gthumb 3:2.11.2.1.is.2.10.11-0ubuntu1 + PackageArchitecture: amd64 + ProcEnviron: + LANG=en_AU.utf8 + SHELL=/bin/bash + ProcVersionSignature: Ubuntu 2.6.32-26.47-generic 2.6.32.24+drm33.11 + Tags: lucid + Uname: Linux 2.6.32-26-generic x86_64 + UserGroups: adm admin audio cdrom dialout libvirtd lpadmin plugdev sambashare vboxusers -- gthumb crashes if it doesn't like format/content of XML files in .comments folder https://bugs.launchpad.net/bugs/659318 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs