This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

gdb-internal-error for 5.1.90_20020326/gdb/sparc-nat.c:65


This was on a Debian Woody (test release) sun4m system using

binutils                           2.12.90.0.1-1
dejagnu                            1.4.2-1.1
gcc                                2.95.4-9 (Debian prerelease)
kernel-image-2.2.20-sun4dm-smp     9
libc6                              2.2.5-3


This was while trying to debug boehm-gc:

$ env LD_LIBRARY_PATH=`pwd`/.libs /usr/local/gdb/bin/gdb .libs/gctest
GNU gdb 5.1.90_20020326
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "sparc-unknown-linux-gnu"...
(gdb) r
Starting program: /home/chj/gc6.1alpha4/objdir/.libs/gctest 
[New Thread 1024 (LWP 18414)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 18414)]
GC_mark_from (mark_stack_top=0x3b0e0, mark_stack=0x3b0a8, 
    mark_stack_limit=0x430a8) at ../mark.c:647
647		  deferred = *limit;
(gdb) print limit             
$2 = (word *) 0xecfff06c
(gdb) print current_p
$3 = (word *) 0xecffee74
(gdb) print mark_stack_top[-2]
$4 = {mse_start = 0x500a1160, mse_descr = 880}
(gdb) print mark_stack_top[-1]
$5 = {mse_start = 0x501d9320, mse_descr = 45624}
(gdb) print mark_stack_top[0]
$6 = {mse_start = 0xecfff070, mse_descr = 50335632}
(gdb) print mark_stack_top[1]
$7 = {mse_start = 0x0, mse_descr = 0}
(gdb) call GC_dump()
/usr/local/src/gdb/gdb+dejagnu-5.1.90_20020326/gdb/sparc-nat.c:65: gdb-internal-error: failed internal consistency check
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) y


Cheers,

/ChJ


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