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.3 not binary compatible with glibc-2.2.5


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

(gdb) info sharedlibrary
>From        To          Syms Read   Shared Object Library
0x40001a00  0x400051d0  No          /home/christoph/t/lib/librt.so.1
0x40027b40  0x40117554  No          /home/christoph/t/lib/libc.so.6
0x401424e0  0x4014baf0  No          /home/christoph/t/lib/libpthread.so.0
0x80000c00  0x800102a0  No          /home/christoph/t/lib/ld-linux.so.2

(gdb) info stack
#0  0x40148040 in ?? () from /home/christoph/t/lib/libpthread.so.0



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