bug-glibc
[Top][All Lists]
Advanced

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

glibc-2.2.5 segv in fopen


From: Richard Polton
Subject: glibc-2.2.5 segv in fopen
Date: Wed, 20 Mar 2002 11:26:33 +0000

All,

I have come across a reproducible SIGSEGV in fopen in glibc-2.2.5 on
linux-2.4.17. glibc was compiled using gcc-3.0.3. I have not used
glibcbug because the affected machine does not have mail capability ...

The issue occurs when there are zero free blocks available in the
filesystem and fopen is called.

fopen \equiv _IO_new_fopen( "filename","w+b") at iofopen.c:50

calls

__libc_malloc( bytes=364) at malloc.c:2810

which calls in turn

chunk_alloc(ar_ptr=0x4090a480,nb=368) at malloc.c:2878

ar_ptr seems a little large. I could not work out how the arena_get
calls worked in this instance unfortunately.

Thanks,

Richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]