Roland Dreier on Wed, 4 Mar 1998 03:08:23 +0100

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

Re: Strange behavior with Red Hat linux 5.0

Sorry about the duplicate messages--I wasn't even paying attention to
what my mailer was doing.

Anyway, I get the same behavior with official patch 14.  Here's what
gdb tells me:

dreier@love-shack:/usr/local/src/pari-2.0.6.alpha/o.linux-i586:[4:102] $ gdb ./gp-dyn
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /usr/local/src/pari-2.0.6.alpha/o.linux-i586/./gp-dyn 

Program received signal SIGSEGV, Segmentation fault.
0x402b0e18 in chunk_free () at malloc.c:2821
malloc.c:2821: No such file or directory.
(gdb) bt
#0  0x402b0e18 in chunk_free () at malloc.c:2821
#1  0x402b052a in malloc_extend_top () at malloc.c:2343
#2  0x402b0b75 in chunk_alloc () at malloc.c:2672
#3  0x402b0605 in malloc () at malloc.c:2349
#4  0x402ab7bc in _IO_fopen (filename=0x406fc905 "/etc/passwd", mode=0x406fc903 "r")
    at iofopen.c:59
#5  0x406fa107 in _nss_files_getpwuid_r (uid=0, result=0x40307f94, 
    buffer=0xffffffff <Address 0xffffffff out of bounds>, buflen=1076939640)
    at nss_files/files-XXX.c:72
#6  0x406fa5f9 in _nss_files_getpwuid_r () at nss_files/files-XXX.c:207
#7  0x402ceda2 in __getpwuid_r (uid=500, resbuf=0x4030cb78, 
    buffer=0x80bd620 "dreier", buflen=1024, result=0xbffff96c)
    at ../nss/getXXbyYY_r.c:148
#8  0x402ce7ce in getpwuid (uid=500) at ../nss/getXXbyYY.c:144
#9  0x4020a628 in expand_tilde () at ../src/language/es.c:1582
#10 0x4020a7c1 in gp_expand_path () at ../src/language/es.c:1582
#11 0x804cb0f in main (argc=1, argv=0xbffffaf4) at ../src/gp/gp.c:853

I have no idea what's going on.

Roland "Mr. Zero" Dreier              
"You can't stop him -- you can only hope to contain him." -- Dan Patrick