backtrace/2056: gdb produces endless backtraces on AMD64

jimb@redhat.com jimb@redhat.com
Tue Dec 20 19:47:00 GMT 2005


Synopsis: gdb produces endless backtraces on AMD64

State-Changed-From-To: open->feedback
State-Changed-By: jimb
State-Changed-When: Tue Dec 20 19:47:26 2005
State-Changed-Why:
    I'm sure the bug is real, but this report doesn't include enough information for us to reproduce the bug.  For example:
    
    $ cd ~/uberbaum/gdb/build
    $ cd gdb/testsuite/gdb.base
    $ cat > script
    bt
    thread apply all bt full
    q
    $ rm core.*
    $ ./coremaker
    Aborted (core dumped)
    $ ../../gdb --batch --quiet --command=script coremaker core.13908 | tee bt Using host libthread_db library "/lib64/libthread_db.so.1".
    Core was generated by `./coremaker'.
    Program terminated with signal 6, Aborted.
    #0  0x0000003e5592f3b0 in raise () from /lib64/libc.so.6
    #0  0x0000003e5592f3b0 in raise () from /lib64/libc.so.6
    #1  0x0000003e55930860 in abort () from /lib64/libc.so.6
    #2  0x000000000040087b in func2 ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:127
    #3  0x0000000000400889 in func1 ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:133
    #4  0x00000000004008a3 in main ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:139
    
    Thread 1 (process 13908):
    #0  0x0000003e5592f3b0 in raise () from /lib64/libc.so.6
    No symbol table info available.
    #1  0x0000003e55930860 in abort () from /lib64/libc.so.6
    No symbol table info available.
    #2  0x000000000040087b in func2 ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:127
            coremaker_local = {0, 1, 2, 3, 4}
            i = 5
    #3  0x0000000000400889 in func1 ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:133
    No locals.
    #4  0x00000000004008a3 in main ()
        at /home/jimb/uberbaum/src/gdb/testsuite/gdb.base/coremaker.c:139
    No locals.
    $

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2056



More information about the Gdb-prs mailing list