On Tue, 29 Mar 2005 04:02:46 -0500, John Gotts wrote: > We've had the same code in our software since 2000: > > GnomeFileEntry *fe; > gchar buf[1024]; > > ---> sprintf(buf, "%s", gnome_file_entry_get_full_path(fe, TRUE)); > > [Edited for brevity.] > > The seg fault with Fedora Core 3: > > #0 0x007e0490 in strcpy () from /lib/tls/libc.so.6 > (gdb) bt > #0 0x007e0490 in strcpy () from /lib/tls/libc.so.6 > #1 <the line indicated with the arrow> What value did it return that made strcpy crash? gnome_file_entry_get_full_path may return NULL, too, so your code (whether edited for brevity or not) should do some error checking at least.