This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug ada/25819] New: CXF3A01 core dump


-bash-2.05b$ cd tests/cxf/cxf3a01
-bash-2.05b$ less *.log

,.,. CXF3A01 ACATS 2.5 06-01-17 04:01:09
---- 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.
/test/gnu/gcc-4.0/gcc/gcc/testsuite/ada/acats/run_all.sh: 25833 Illegal
instruct
ion(coredump)

-bash-2.05b$ gdb -c run/core tests/cxf/cxf3a01/cxf3a01
GNU gdb 6.4.50.20051230-cvs
Copyright (C) 2005 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 "hppa2.0w-hp-hpux11.11"...
Core was generated by `cxf3a01'.
Program terminated with signal 4, Illegal instruction.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

Reading symbols from /usr/lib/libc.2...done.
Loaded symbols for /usr/lib/libc.2
Reading symbols from /usr/lib/libdld.2...done.
Loaded symbols for /usr/lib/libdld.2
Reading symbols from /opt/graphics/OpenGL/lib/libogltls.sl...done.
Loaded symbols for /opt/graphics/OpenGL/lib/libogltls.sl
#0  0xc0197d50 in _sigfillset () from /usr/lib/libc.2
(gdb) bt
#0  0xc0197d50 in _sigfillset () from /usr/lib/libc.2
#1  0xc019584c in _sscanf () from /usr/lib/libc.2
#2  0xc019b01c in malloc () from /usr/lib/libc.2
#3  0xc019b01c in malloc () from /usr/lib/libc.2
Previous frame identical to this frame (corrupt stack?)
(gdb) disass 0xc0197d30 0xc0197d70
Dump of assembler code from 0xc0197d30 to 0xc0197d70:
0xc0197d30 <_sigfillset+1904>:  ldi 2,r26
0xc0197d34 <_sigfillset+1908>:  ldw -20(sp),r19
0xc0197d38 <_sigfillset+1912>:  movb,tr r0,ret0,0xc0198154 <_sigfillset+2964>
0xc0197d3c <_sigfillset+1916>:  ldw -114(sp),rp
0xc0197d40 <_sigfillset+1920>:  cmpb,>>,n r9,r23,0xc0197d54 <_sigfillset+1940>
0xc0197d44 <_sigfillset+1924>:  ldo 0(r31),r8
0xc0197d48 <_sigfillset+1928>:  ldw 4(r8),r31
0xc0197d4c <_sigfillset+1932>:  cmpb,<>,n r0,r31,0xc0197d40 <_sigfillset+1920>
0xc0197d50 <_sigfillset+1936>:  ldw c(r31),r23
0xc0197d54 <_sigfillset+1940>:  ldw c(r8),r26
0xc0197d58 <_sigfillset+1944>:  cmpb,<<,n r26,r9,0xc0197d94 <_sigfillset+2004>
0xc0197d5c <_sigfillset+1948>:  b,l 0xc0197e78 <_sigfillset+2232>,r0
0xc0197d60 <_sigfillset+1952>:  ldw 10(r8),r7
0xc0197d64 <_sigfillset+1956>:  ldw 60(r5),r22
0xc0197d68 <_sigfillset+1960>:  ldo 8(r7),r25
0xc0197d6c <_sigfillset+1964>:  ldw 54(r5),r20
End of assembler dump.
(gdb) p/x $r31
$1 = 0x28

The faulting instruction attempted a load from page 0 causing
the core dump.

The core dump causes the testsuite for ada to terminate:

Running chapter cxf ...
make[1]: *** [check-gnat] Error 132


-- 
           Summary: CXF3A01 core dump
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25819


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