https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa64-hp-hpux11.11         |hppa*-*-hpux*
               Host|hppa64-hp-hpux11.11         |hppa*-*-hpux*
              Build|hppa64-hp-hpux11.11         |hppa*-*-hpux*

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
On hppa2.0w-hp-hpux11.11, the test has a segmentation fault in _sigfillset:

Program received signal SIGSEGV, Segmentation fault.
0x7af9a2a4 in _sigfillset () from /usr/lib/libc.2

It is called with a NULL pointer argument:

Breakpoint 2, 0x7af99400 in _sigfillset () from /usr/lib/libc.2
(gdb) p/x $r26
$1 = 0x0
(gdb) bt
Python Exception <type 'exceptions.ImportError'> Failed to load
/home/gnu/lib/python2.7/lib-dynload/itertools.sl: 
#0  0x7af99400 in _sigfillset () from /usr/lib/libc.2
#1  0x7af9739c in _sscanf () from /usr/lib/libc.2
#2  0x7af9cba4 in malloc () from /usr/lib/libc.2
#3  0x0000559c in __array_list_MOD_add_item (a=..., e=...)
    at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:26

Breakpoint 4, 0x7af9ca18 in malloc () from /usr/lib/libc.2
(gdb) p/x $r26
$2 = 0x3
(gdb) bt
Python Exception <type 'exceptions.ImportError'> Failed to load
/home/gnu/lib/python2.7/lib-dynload/itertools.sl: 
#0  0x7af9ca18 in malloc () from /usr/lib/libc.2
#1  0x0000559c in __array_list_MOD_add_item (a=..., e=...)
    at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:26
#2  0x00006778 in MAIN__ ()
    at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:42
#3  0x00007370 in main (argc=1, argv=0x7eff07a4)
    at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:34

A malloc failure typically indicates that the program has written to memory
that it doesn't own.

Reply via email to