[Bug ada/24994] raised STORAGE_ERROR : stack overflow or erroneous memory access
danglin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 6 01:29:00 GMT 2006
------- Comment #14 from danglin at gcc dot gnu dot org 2006-01-06 01:29 -------
(gdb) r `cat xx.sh`
Starting program: /home/dave/gcc-4.2/objdir/gcc/gnat1 `cat xx.sh`
Program received signal SIGSEGV, Segmentation fault.
0x0042a09c in gt_ggc_mx_basic_block_def (x_p=Variable "x_p" is not available.
) at gtype-desc.c:460
460 while (x != xlimit)
(gdb) bt
#0 0x0042a09c in gt_ggc_mx_basic_block_def (x_p=Variable "x_p" is not
available.
) at gtype-desc.c:460
#1 0x0042c5a4 in gt_ggc_mx_tree_ann_d (x_p=Variable "x_p" is not available.
) at gtype-desc.c:386
#2 0x0003ac64 in gt_ggc_mx_lang_tree_node (x_p=0x400bea50) at gtype-ada.h:333
#3 0x00426af8 in gt_ggc_m_P15throw_stmt_node4htab (x_p=Variable "x_p" is not
available.
) at gtype-desc.c:1549
#4 0x0042c31c in gt_ggc_mx_function (x_p=Variable "x_p" is not available.
) at gtype-desc.c:623
#5 0x0003a52c in gt_ggc_mx_lang_tree_node (x_p=0x4157b700) at gtype-ada.h:279
#6 0x00039ef8 in gt_ggc_mx_lang_tree_node (x_p=0x419d12c0) at gtype-ada.h:166
#7 0x0042ab30 in gt_ggc_mx_rtx_def (x_p=0x42508790) at gtype-desc.c:1258
#8 0x00312dac in gt_ggc_ma_reg_known_value (x_p=Variable "x_p" is not
available.
) at gt-alias.h:367
#9 0x004212a8 in ggc_mark_roots () at ../../gcc/gcc/ggc-common.c:118
#10 0x0050697c in ggc_collect () at ../../gcc/gcc/ggc-page.c:1880
#11 0x0036732c in cse_main (f=Variable "f" is not available.
) at ../../gcc/gcc/cse.c:6856
#12 0x00367408 in rest_of_handle_cse2 () at ../../gcc/gcc/cse.c:7856
#13 0x0050818c in execute_one_pass (pass=0x784bf4)
at ../../gcc/gcc/passes.c:845
#14 0x005082b4 in execute_pass_list (pass=0x784bf4)
at ../../gcc/gcc/passes.c:877
#15 0x005082c8 in execute_pass_list (pass=0x7858a0)
at ../../gcc/gcc/passes.c:878
#16 0x002c3204 in tree_rest_of_compilation (fndecl=0x4157b700)
at ../../gcc/gcc/tree-optimize.c:419
#17 0x00035de0 in gnat_expand_body (gnu_decl=0x4157b700)
at ../../gcc/gcc/ada/misc.c:649
---Type <return> to continue, or q <return> to quit---
#18 0x0054a22c in cgraph_expand_function (node=0x41a0a200)
at ../../gcc/gcc/cgraphunit.c:1055
#19 0x0054c99c in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1121
#20 0x00036828 in gnat_parse_file (set_yydebug=Variable "set_yydebug" is not
available.
)
at ../../gcc/gcc/ada/misc.c:245
#21 0x004d5f88 in toplev_main (argc=Variable "argc" is not available.
) at ../../gcc/gcc/toplev.c:990
#22 0x408326e4 in __libc_start_main () from /lib/libc.so.6
#23 0x0001b828 in _start () at ../sysdeps/hppa/elf/start.S:84
(gdb) disass 0x0042a07c 0x0042a0bc
Dump of assembler code from 0x42a07c to 0x42a0bc:
0x0042a07c <gt_ggc_mx_basic_block_def+196>: b,l 0x40a884 <fold+2444>,rp
0x0042a080 <gt_ggc_mx_basic_block_def+200>: nop
0x0042a084 <gt_ggc_mx_basic_block_def+204>: ldw 2c(,r4),r26
0x0042a088 <gt_ggc_mx_basic_block_def+208>: cmpib,=,n 0,r26,0x42a094
<gt_ggc_mx_basic_block_def+220>
0x0042a08c <gt_ggc_mx_basic_block_def+212>: b,l 0x429f34
<gt_ggc_mx_edge_prediction>,rp
0x0042a090 <gt_ggc_mx_basic_block_def+216>: nop
0x0042a094 <gt_ggc_mx_basic_block_def+220>: ldw 20(,r4),r4
0x0042a098 <gt_ggc_mx_basic_block_def+224>: cmpb,<>,n r5,r4,0x42a020
<gt_ggc_mx_basic_block_def+104>
0x0042a09c <gt_ggc_mx_basic_block_def+228>: ldw 0(,r4),r26
0x0042a0a0 <gt_ggc_mx_basic_block_def+232>: ldw -54(,sp),rp
0x0042a0a4 <gt_ggc_mx_basic_block_def+236>: ldw -3c(,sp),r4
0x0042a0a8 <gt_ggc_mx_basic_block_def+240>: ldw -38(,sp),r3
0x0042a0ac <gt_ggc_mx_basic_block_def+244>: bv r0(rp)
0x0042a0b0 <gt_ggc_mx_basic_block_def+248>: ldw,mb -40(,sp),r5
0x0042a0b4 <gt_ggc_mx_basic_block_def+252>: b,l 0x40ae04 <fold+3852>,rp
0x0042a0b8 <gt_ggc_mx_basic_block_def+256>: copy r3,r26
End of assembler dump.
(gdb) p/x $r4
$1 = 0x0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24994
More information about the Gcc-bugs
mailing list