Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
On 2004-05-08 11:10:01 -0400, Daniel Jacobowitz wrote:
> Does strace even show MAP_NORESERVE? I don't think the mmap call that
> you're looking at is even the one which uses MAP_NORESERVE, since in
> the copy of glibc source I'm looking at, that's only used for
> allocating secondary arenas.
You're right, it's another mmap (one in malloc.c), with
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS. When I wrote the bug
report, I was assuming that the kernel documentation was correct (and
from that, I thought that the problem could only come from the mmap in
arena.c). Now it appears more clearly that this is a kernel problem...
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to:
- References:
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Daniel Jacobowitz <dan@debian.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Vincent Lefevre <vincent@vinc17.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Daniel Jacobowitz <dan@debian.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Vincent Lefevre <vincent@vinc17.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Daniel Jacobowitz <dan@debian.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Vincent Lefevre <vincent@vinc17.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Daniel Jacobowitz <dan@debian.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Wolfram Gloger <wg@malloc.de>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Vincent Lefevre <vincent@vinc17.org>
- Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash
- From: Daniel Jacobowitz <dan@debian.org>