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] |
the output of readelf is attached. Here is the output of the maps file in proc. 08048000-08067000 r-xp 00000000 03:03 1120164 /bin/tar 08067000-08068000 rw-p 0001f000 03:03 1120164 /bin/tar 08068000-08069000 rw-p 00000000 00:00 0 40000000-40006000 r-xp 00000000 03:03 293036 /home/christoph/t/lib/librt-2.3.so 40006000-40007000 rw-p 00006000 03:03 293036 /home/christoph/t/lib/librt-2.3.so 40007000-40012000 rw-p 00000000 00:00 0 40012000-40140000 r-xp 00000000 03:03 293025 /home/christoph/t/lib/libc-2.3.so 40140000-40145000 rw-p 0012e000 03:03 293025 /home/christoph/t/lib/libc-2.3.so 40145000-40149000 rw-p 00000000 00:00 0 40149000-40157000 r-xp 00000000 03:03 293029 /home/christoph/t/lib/libpthread-0.10.so 40157000-4015a000 rw-p 0000e000 03:03 293029 /home/christoph/t/lib/libpthread-0.10.so 4015a000-4019a000 rw-p 00000000 00:00 0 80000000-80014000 r-xp 00000000 03:03 293024 /home/christoph/t/lib/ld-2.3.so 80014000-80015000 rw-p 00014000 03:03 293024 /home/christoph/t/lib/ld-2.3.so bfffe000-c0000000 rwxp fffff000 00:00 0 On Sat, 5 Oct 2002, Ulrich Drepper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Christoph Lameter wrote: > > Ok. The segfault is in libpthread. Sorry about the ASM but I > > have no idea how to get more information off the binary. Seems that a > > pointer is out of bounds: > > > > 0x40148020: push %ebp > > 0x40148021: push %ebx > > 0x40148022: push %edx > > 0x40148023: call 0x4014818e > > 0x40148028: add $0x6b80,%ebx > > 0x4014802e: mov 0x1e4(%ebx),%eax > > 0x40148034: mov %ebp,%edx > > 0x40148036: cmp (%eax),%ebp > > 0x40148038: jb 0x4014804c > > 0x4014803a: mov 0x230(%ebx),%eax > > 0x40148040: mov 0x1b8(%eax),%eax <- Segfault > > 0x40148046: add $0x4,%esp > > 0x40148049: pop %ebx > > 0x4014804a: pop %ebp > > 0x4014804b: ret > > 0x4014804c: mov 0x1d4(%ebx),%eax > > > > eax 0x401ffbe0 1075837920 > > You need to do a bit more: > > - - run 'readelf -s /home/christoph/t/lib/libpthread.so.0' > > - - run 'cat /proc/<PID>/maps' while gdb stopped the process when it > crashed. <PID> must be the PID of the process and not that of gdb itself. > > - -- > - --------------. ,-. 444 Castro Street > Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA > Red Hat `--' drepper at redhat.com `--------------------------- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQE9nybW2ijCOnn/RHQRAsauAJ9Pyp0hV/fFaXz9byR48tjVRVmUPACgxCvE > iBDnvwWg7FRRM93KCxv1UoQ= > =Gb4N > -----END PGP SIGNATURE----- > >
Attachment:
readelf
Description: readelf -s libpthread.so.0 output
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |