GNOME Bugzilla – Bug 515362
gnome-appearance-properties crashed with SIGSEGV in __mktime_internal()
Last modified: 2008-02-11 22:42:00 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/189191 "Binary package hint: gnome-control-center At some point when I started up gnome-appearance-properties it failed to open. It briefly shows the window with several thumbnails of themes, except one for the custom theme. then it segfaults (after <1sec). after installing the debugging librar ies for gnome I found that the error resides in __mktime_internal during a create_thumbnail call in libgnome-desktop-2. see attached strace and gdb output. output: roel@eliezer:~$ gnome-appearance-properties (gnome-appearance-properties:9024): appearance-properties-WARNING **: Unknown Tag: comment (gnome-appearance-properties:9024): appearance-properties-WARNING **: Unknown Tag: comment Segmentation fault (core dumped)
+ Trace 188625
new submitter comment: "I solved my problem! It seemed that after some update the pictures in the package gnome-backgrounds-extra-debian were all of zero length. The segmentation fault was caused by this. I solved the problem by removing the gnome-backgrounds-extra-debian package. Everything works perfectly again."
Created attachment 104779 [details] [review] Fix the crash
Soeren: can you give a quick look at the patch? I'm wondering if it's okay to return NULL from the function. I think it is, but I don't know the whole code...
I've committed the patch since I want it in for the next release...
Looks good to me.