Re: Gnome_vfs_open_*() fatals



On Wed, 2005-10-05 at 10:33 -0700, Hugo Ferreira Carvalho wrote:
> Hi,
> 
> I hope I'm asking for help in the right place, if not please accept my
> appologies.
> 
> I've encountered a reproduceable fatal in gnome-vfs and I'm wondering if
> someone could give me some insight on where to go next.
> 
> This happens with both gnome 2.10 and 2.12 on a Redhat RHEL 3.0
> (2.4.21-4.Elhugemem kernel), compiling with gcc-3.4.2.
> 
> Several apps (panel, theme manager,etc) always crash at startup, and the
> stack trace ends in:
> ...->gnome_vfs_open_uri_cancellable()->do_open()->posix_fadvise()->__JCR
> _LIST__()->??
> 
> The parameters passed to the gnome_vfs_open function appear valid.
> 
> I'm wondering if this might be related to the kernel/posix version I'm
> running?
> Any suggestions on where should I look next to debug this further?

This crash is in a call like this:
  posix_fadvise (fd, 0, 0, POSIX_FADV_SEQUENTIAL);

posix_fadvice is a glibc function, and shouldn't crash, even if fd is
invalid (which i don't think it is). You might want to write a smaller
test case outside of gnome-vfs that calls posix_fadvise to debug the
issue further.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a benighted gay cowboy gone bad. She's a sarcastic streetsmart traffic 
cop from Mars. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]