------- Comment #7 from danglin at gcc dot gnu dot org 2007-09-30 19:52 ------- This is probably a different problem. Oh well,
(gdb) r Starting program: /test/gnu/gcc/objdir/gcc/testsuite/ada/acats/tests/cxf/cxf3a01/cxf3a01 warning: The shared libraries were not privately mapped; setting a breakpoint in a shared library will not work until you rerun the program. ,.,. CXF3A01 ACATS 2.5 07-09-30 15:19:49 ---- CXF3A01 Check that the Valid function from package Ada.Text_IO.Editing returns False for strings that fail to comply with the composition constraints defined for picture strings. Check that the Valid function returns True for strings that conform to the composition constraints defined for picture strings. Program received signal SIGSEGV, Segmentation fault. 0x0002a9e0 in ada.text_io.editing.expand () at a-teioed.adb:110 110 return Result (1 .. Result_Index - 1); Current language: auto; currently ada (gdb) bt #0 0x0002a9e0 in ada.text_io.editing.expand () at a-teioed.adb:110 #1 0x0002ac64 in ada.text_io.editing.valid (blank_when_zero=true) at a-teioed.adb:2754 #2 0x0002f228 in _ada_cxf3a01 () (gdb) disass 0x0002a9d0 0x0002a9f0 Dump of assembler code from 0x2a9d0 to 0x2a9f0: 0x0002a9d0 <ada__text_io__editing__expand+200>: b,l 0xdf08 <system__secondary_stack__ss_allocate>,rp 0x0002a9d4 <ada__text_io__editing__expand+204>: depwi 0,31,2,r26 0x0002a9d8 <ada__text_io__editing__expand+208>: copy ret0,r3 0x0002a9dc <ada__text_io__editing__expand+212>: ldi 1,ret0 0x0002a9e0 <ada__text_io__editing__expand+216>: stw ret0,0(r3) 0x0002a9e4 <ada__text_io__editing__expand+220>: stw r4,4(r3) 0x0002a9e8 <ada__text_io__editing__expand+224>: copy r5,r24 0x0002a9ec <ada__text_io__editing__expand+228>: ldo 8(r3),r4 End of assembler dump. It appears system__secondary_stack__ss_allocate is broken: (gdb) p/x $ret0 $7 = 0x7900ff48 (gdb) p *$ret0 Cannot access memory at address 0x7900ff48 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25819