This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

Re: glibc 2.2.94 and segfaulting old binaries


Roland McGrath <roland@redhat.com> writes:

> Show us what you can from gdb, even if you can't figure much out it's
> better than nothing if we can see what instructions are faulting.
Ok, just wanted to know if it segfaults on yours systems, too.

For me bt is useless.
(gdb) r
Starting program: /home/users/misiek/mldonkey-distrib/mldonkey 
warning: shared library handler failed to enable breakpoint
Your system supports 1024 file descriptors

Program received signal SIGSEGV, Segmentation fault.
0x081262f7 in ?? ()
(gdb) bt
#0  0x081262f7 in ?? ()
#1  0x0811ae34 in ?? ()
#2  0x080fb9a7 in ?? ()
#3  0x0811af2b in ?? ()
#4  0x080fc206 in ?? ()
#5  0x080fb9a7 in ?? ()
#6  0x080fc0eb in ?? ()
#7  0x080f1647 in ?? ()
#8  0x080f1d1b in ?? ()
#9  0x080f2843 in ?? ()
#10 0x080f262a in ?? ()
#11 0x080c3e09 in ?? ()
#12 0x08076434 in ?? ()
#13 0x00000033 in ?? ()
#14 0x00000001 in ?? ()
#15 0x00000001 in ?? ()
#16 0x00000003 in ?? ()
#17 0xe8080cee in ?? ()


> You
> might also run those under strace to see what they last did before
> crashing.  For a static binary to be affected, it must be using dlopen.
28423 open("/lib/ld-linux.so.2", O_RDONLY) = 4
28423 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\n\0"..., 1024) = 1024
28423 fstat64(4, {st_mode=S_IFREG|0755, st_size=91642, ...}) = 0
28423 old_mmap(NULL, 79584, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x2bd000
28423 mprotect(0x2d0000, 1760, PROT_NONE) = 0
28423 old_mmap(0x2d0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x13000) = 0x2d0000
28423 close(4)                          = 0
28423 --- SIGSEGV (Segmentation fault) ---
28423 getrlimit(0x3, 0x81752bc)         = 0
28423 rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
28423 sigreturn()                       = ? (mask now [RTMIN])
28423 --- SIGSEGV (Segmentation fault) ---
28423 +++ killed by SIGSEGV +++

-- 
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm@sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux


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