Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Sjoerd Simons
reassign 313219 glibc tag 313219 +fixed-in-experimental thanks, On Tue, Jun 14, 2005 at 07:11:39PM +0200, Sjoerd Simons wrote: > On Wed, Jun 15, 2005 at 01:24:11AM +0800, Ivan Wong wrote: > > > I think I know why now. It's -D_FILE_OFFSET_BITS=64. i.e. > > > > > > gcc -D_POSIX_C_SOURCE=200112L -D_

Processed: Re: Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > reassign 313219 glibc Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4 Bug reassigned from package `gnome-vfs2' to `glibc'. > tag 313219 +fixed-in-experimental Bug#313219: gnome-vfs2 crashes in read_entire_f

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Sjoerd Simons
On Wed, Jun 15, 2005 at 01:24:11AM +0800, Ivan Wong wrote: > > I think I know why now. It's -D_FILE_OFFSET_BITS=64. i.e. > > > > gcc -D_POSIX_C_SOURCE=200112L -D_FILE_OFFSET_BITS=64 a.c > Look further, I think /usr/include/features.h gives some hints: > > # ifndef __USE_FILE_OFFSET64 > extern int

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Ivan Wong
> I think I know why now. It's -D_FILE_OFFSET_BITS=64. i.e. > > gcc -D_POSIX_C_SOURCE=200112L -D_FILE_OFFSET_BITS=64 a.c Look further, I think /usr/include/features.h gives some hints: # ifndef __USE_FILE_OFFSET64 extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Ivan Wong
> Right, very interesting.. Thanks for you debugging efforts! Lemme see if i can > trace this back to the real cause :) I think I know why now. It's -D_FILE_OFFSET_BITS=64. i.e. gcc -D_POSIX_C_SOURCE=200112L -D_FILE_OFFSET_BITS=64 a.c and it crashes. Cheers, -- Ivan, Wong Yat Cheung <[EMAIL PR

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Sjoerd Simons
On Wed, Jun 15, 2005 at 12:48:38AM +0800, Ivan Wong wrote: > Hi, > > Odd, when creating a simple sample program that calls posix_fadvise it works > > fine on both 2.4 and 2.6 kernels. > Attached please find the source of my testing program. In fact, it > actually does: > > int main() > { >

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Ivan Wong
Hi, > Odd, when creating a simple sample program that calls posix_fadvise it works > fine on both 2.4 and 2.6 kernels. Attached please find the source of my testing program. In fact, it actually does: int main() { int fd; fd = open("a.c", 0); posix_fadvise (fd, 0, 0, POSIX

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Sjoerd Simons
On Tue, Jun 14, 2005 at 08:05:52PM +0800, Ivan Wong wrote: > I have got a more or less the same BT, just that it's nautuils that crashes on > gnome boot. > libgnomevfs2-dbg doesn't help much in providing the debugging symbols of > libfile.so (where the crash starts). I apt-get source, compiled with

Bug#313219: gnome-vfs2 crashes in read_entire_file with HAL and Linux 2.4

2005-06-14 Thread Ivan Wong
Package: libgnomevfs2-common Version: 2.10.1-4 Followup-For: Bug #313219 I have got a more or less the same BT, just that it's nautuils that crashes on gnome boot. libgnomevfs2-dbg doesn't help much in providing the debugging symbols of libfile.so (where the crash starts). I apt-get source, compi