gnome-appearance-properties crashes when the image is not of the expected format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-control-
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-appearanc
This is extremely bad programming practice!
Here is gnome-appearanc
...
rename(
stat64(
open("/
fstat64(50, {st_mode=
read(50, "<?xml version=
read(50, "", 8192) = 0
close(50) = 0
stat64(
stat64(
gettimeofday(
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://
<RDF:Description RDF:about=
<NC:MIME-types RDF:resource=
</RDF:
...
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-
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://
100 /var/lib/
1:
500 http://
Changed in gnome-control-center: | |
importance: | Undecided → Medium |
Thanks for your bug report. Please try to obtain a backtrace http:// wiki.ubuntu. com/DebuggingPr ogramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.