Public bug reported: Binary package hint: gnome-control-center
When one of the images in ~/Images is not of the expected format (in my case, a file with a ".jpg" extension was acually a RDF/XML file), gnome- appearance-properties crashes with a SIGSEGV without any message. This is extremely bad programming practice! Here is gnome-appearance-properties ran under strace: ... rename("/home/emilien/.thumbnails/fail/gnome-thumbnail-factory/79d58759e8c84c84f81b895acabc42ef.png.95WLMU", "/home/emilien/.thumbnails/fail/gnome-thumbnail-factory/79d58759e8c84c84f81b895acabc42ef.png") = 0 stat64("/home/emilien/.thumbnails/fail/gnome-thumbnail-factory", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 open("/home/emilien/Images/duel3.jpg", O_RDONLY|O_LARGEFILE) = 50 fstat64(50, {st_mode=S_IFREG|0644, st_size=3726, ...}) = 0 read(50, "<?xml version=\"1.0\"?>\n<RDF:RDF x"..., 8192) = 3726 read(50, "", 8192) = 0 close(50) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 gettimeofday({1230829944, 813640}, NULL) = 0 time(NULL) = 1230829944 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ And here is the beginning of the offending file, duel3.jpg: <?xml version="1.0"?> <RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#" xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <RDF:Description RDF:about="urn:mimetypes"> <NC:MIME-types RDF:resource="urn:mimetypes:root"/> </RDF:Description> ... OK, it is not a JPEG (for unknown reasons) but crashing with SIGSEGV is incredibly careless. Description: Ubuntu 8.04.1 Release: 8.04 gnome-control-center: Installed: 1:2.22.1-0ubuntu4.1 Candidate: 1:2.22.1-0ubuntu4.1 Version table: *** 1:2.22.1-0ubuntu4.1 0 500 http://fr.archive.ubuntu.com hardy-updates/main Packages 100 /var/lib/dpkg/status 1:2.22.1-0ubuntu4 0 500 http://fr.archive.ubuntu.com hardy/main Packages ** Affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New -- gnome-appearance-properties crashes when the image is not of the expected format https://bugs.launchpad.net/bugs/312931 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