Segfault in update-desktop-database

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Thu Sep 2 10:01:21 UTC 2004


Hi,

I'm not quite sure what the problem might be exactly, so I'm sending the
backtrace I get from an update-desktop-database segfaut with the latest FC
Devel before bugzilla'ing it.

# gdb update-desktop-database
[...]
(gdb) set args /usr/share/applications
(gdb) run
Starting program: /usr/bin/update-desktop-database /usr/share/applications
 
** (process:16018): CRITICAL **: file eggdesktopentries.c: line 1044
(egg_desktop_entries_get_string): assertion `group != NULL' failed
 
Program received signal SIGSEGV, Segmentation fault.
0x08049a55 in process_desktop_files (
    desktop_dir=0xfef48c15 "/usr/share/applications", prefix=0x804d0b3 "",
    error=0x0) at update-desktop-database.c:121
121       for (i = 0; mime_types[i] != NULL; i++)
(gdb) bt
#0  0x08049a55 in process_desktop_files (
    desktop_dir=0xfef48c15 "/usr/share/applications", prefix=0x804d0b3 "",
    error=0x0) at update-desktop-database.c:121
#1  0x08049e8b in main (argc=0, argv=0x0) at update-desktop-database.c:356
#2  0x00adea93 in __libc_start_main () from /lib/tls/libc.so.6
#3  0x08049841 in _start ()
(gdb)

I think I've been seeing this segfault from %post scriplets for over a week
already.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Enterprise Linux AS release 3 (Taroon) - Linux kernel 2.6.8-1.521
Load : 0.34 0.55 0.52





More information about the fedora-devel-list mailing list