Comment 4 for bug 43977

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Well in some cases (it seems) the binary compiled from source by me also segfaults but it seems only when using both of -v and -q switch, when I got:

(gdb) run -v -q
Starting program: /usr/bin/update-desktop-database -v -q
Search path is now: [/usr/local/share/applications, /usr/share/applications,
Program received signal SIGSEGV, Segmentation fault.
0xb7db582a in funlockfile () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7db582a in funlockfile () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7d9e010 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7dbe716 in vasprintf () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7ee43e1 in IA__g_vasprintf (string=0xbf841824, format=0x0, args=0x0) at gprintf.c:313
#4 0xb7ed4f01 in IA__g_strdup_vprintf (format=0x0, args=0x0) at gstrfuncs.c:188
#5 0xb7ec60e2 in IA__g_printerr (format=0x10 <Address 0x10 out of bounds>) at gmessages.c:1008
#6 0x0804a62b in print_desktop_dirs (dirs=0x80524f0) at update-desktop-database.c:469
#7 0x0804a73d in main (argc=3, argv=0xbf8419c4) at update-desktop-database.c:514