public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug boehm-gc/64042] New: FAIL: boehm-gc.c/gctest.c -O2 execution test
@ 2014-11-24  9:32 vries at gcc dot gnu.org
  2014-11-24  9:33 ` [Bug boehm-gc/64042] " vries at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2014-11-24  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64042
           Summary: FAIL: boehm-gc.c/gctest.c -O2 execution test
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: boehm-gc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

I run into this failure once. This time, it's when testing a nonbootstrap build
from an AFAIU unrelated patch set on top of the gomp-4_0-branch.

boehm-gc.log:
...
PASS: boehm-gc.c/gctest.c -O2 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap/build/gcc:/home/vries/gcc_versions/data/test-devel-oac\
c-11/with/nobootstrap/build/gcc/32:/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap/build/x86_64-unknown-linux-gnu/./boehm-gc/.libs:\
.libs:.:/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap/build/gcc:/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap\
/build/gcc/32:/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap/build/x86_64-unknown-linux-gnu/./boehm-gc/.libs:.libs:/home/vries/gcc\
_versions/infra/lib
spawn [open ...]^M
Switched to incremental mode
Emulating dirty bits with mprotect/signals
Segfault at 0x2b2d48936000
Unexpected bus error or segmentation fault
FAIL: boehm-gc.c/gctest.c -O2 execution test
...

core backtrace:
...
Core was generated by
`/home/vries/gcc_versions/data/test-devel-oacc-11/with/nobootstrap/build/x86_64-'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00002b2d47c31bb9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00002b2d47c31bb9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00002b2d47c34fc8 in __GI_abort () at abort.c:89
#2  0x00002b2d47093c59 in GC_abort (msg=msg@entry=0x2b2d4709bb48 "Unexpected
bus error or segmentation fault")
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/misc.c:1081
#3  0x00002b2d4709554e in GC_write_fault_handler (sig=<optimized out>,
si=0x2b2d481c06f0, scp=0x2b2d481c05c0)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/os_dep.c:2643
#4  <signal handler called>
#5  GC_typed_mark_proc (addr=0x2b2d48936000, mark_stack_ptr=0x2b2d485e1a00,
mark_stack_limit=0x2b2d487dd000, env=4)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/typd_mlc.c:415
#6  0x00002b2d47091aeb in GC_mark_from (mark_stack_top=<optimized out>,
mark_stack=0x2b2d485dd000, mark_stack_limit=0x2b2d487dd000)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/mark.c:699
#7  0x00002b2d47092be5 in GC_mark_some
(cold_gc_frame=cold_gc_frame@entry=0x2b2d481c0c2c "")
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/mark.c:361
#8  0x00002b2d4708a648 in GC_stopped_mark
(stop_func=stop_func@entry=0x2b2d4708a3c0 <GC_timeout_stop_func>)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/alloc.c:531
#9  0x00002b2d4708aeac in GC_maybe_gc () at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/alloc.c:307
#10 0x00002b2d4708b81d in GC_allocobj (sz=sz@entry=39, kind=kind@entry=6)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/alloc.c:1073
#11 0x00002b2d4708fced in GC_generic_malloc_inner (lb=lb@entry=271,
k=k@entry=6)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/malloc.c:136
#12 0x00002b2d4708fe24 in GC_generic_malloc (lb=271, k=6) at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/malloc.c:192
#13 0x00002b2d4709819e in GC_malloc_explicitly_typed (lb=<optimized out>,
d=18446462525718396929)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/typd_mlc.c:653
#14 0x000000000040363e in typed_test ()
#15 0x0000000000000000 in ?? ()
...

Investigating the segfault site:
...
#4  <signal handler called>
(gdb) up
#5  GC_typed_mark_proc (addr=0x2b2d48936000, mark_stack_ptr=0x2b2d485e1a00,
mark_stack_limit=0x2b2d487dd000, env=4)
    at
/home/vries/gcc_versions/data/test-devel-oacc-11/with/src/boehm-gc/typd_mlc.c:415
415                current = *current_p;
(gdb) p current_p
$1 = (word *) 0x2b2d48936000
(gdb) p *current_p
$2 = 0
(gdb) 
...


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-01-20 11:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24  9:32 [Bug boehm-gc/64042] New: FAIL: boehm-gc.c/gctest.c -O2 execution test vries at gcc dot gnu.org
2014-11-24  9:33 ` [Bug boehm-gc/64042] " vries at gcc dot gnu.org
2014-11-24  9:39 ` vries at gcc dot gnu.org
2014-11-24 10:12 ` vries at gcc dot gnu.org
2014-11-25 21:20 ` vries at gcc dot gnu.org
2014-12-02  8:57 ` vries at gcc dot gnu.org
2015-01-13 16:33 ` vries at gcc dot gnu.org
2015-01-13 16:56 ` hjl.tools at gmail dot com
2015-01-13 18:10 ` law at redhat dot com
2015-01-16 12:06 ` vries at gcc dot gnu.org
2015-01-17 20:45 ` iains at gcc dot gnu.org
2015-01-20 11:06 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).