This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with brk() call when using with libncurses-4.2.so


>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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]