This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Problem with brk() call when using with libncurses-4.2.so
- To: alex.buell@tahallah.demon.co.uk
- Subject: Re: Problem with brk() call when using with libncurses-4.2.so
- From: Philip Blundell <philb@gnu.org>
- Date: Fri, 08 Jan 1999 13:59:04 +0100
- cc: Linux Alpha-Glibc <libc-alpha@cygnus.com>
>ioctl(1, TCGETS, 0xbffff67c) = -1 ENOTTY (Not a typewriter)
>ioctl(2, TCGETS, 0xbffff658) = -1 ENOTTY (Not a typewriter)
>brk(0x804c000) = 0x804c000
>--- SIGSEGV (Segmentation fault) ---
>+++ killed by SIGSEGV +++
>
>That's where it dies. System statistics in signature; using egcs-1.1.1
>with binutils-2.9.1.0.19a.
That doesn't mean that the problem is in brk() itself, just that brk was the
last system call the program made before it died. Since malloc() calls brk
this could happen anywhere.
Run the program under the debugger and see if you can get more information.
p.