public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/64721] New: SIBAGRT turns into SIGSEGV in jit testsuite
@ 2015-01-21 22:06 dmalcolm at gcc dot gnu.org
  2015-01-21 22:11 ` [Bug jit/64721] SIBABRT becomes a " dmalcolm at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2015-01-21 22:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64721
           Summary: SIBAGRT turns into SIGSEGV in jit testsuite
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org

Failures of the CHECK_ macros within jit/harness.h call abort(), which ought to
appear in the logs as a FAIL with SIGABRT.

However, they actually lead to a SIGSEGV.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76e0909 in pp_format (pp=0x0, text=0x7fffffffdac0) at
../../src/gcc/pretty-print.c:282
282      output_buffer *buffer = pp_buffer (pp);
(gdb) bt
#0  0x00007ffff76e0909 in pp_format (pp=0x0, text=0x7fffffffdac0) at
../../src/gcc/pretty-print.c:282
#1  0x00007ffff76de590 in diagnostic_report_diagnostic (context=0x7ffff7ffae40
<global_diagnostic_context>, 
    diagnostic=0x7fffffffdac0) at ../../src/gcc/diagnostic.c:862
#2  0x00007ffff76df772 in internal_error (gmsgid=0x7ffff7787c43 "%s") at
../../src/gcc/diagnostic.c:1237
#3  0x00007ffff6dcc5a6 in crash_signal (signo=6) at ../../src/gcc/toplev.c:381
#4  <signal handler called>
#5  0x0000003095835887 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x0000003095836f78 in __GI_abort () at abort.c:89
#7  0x0000000000402258 in verify_code (ctxt=0x604010, result=0x63df20)
    at
/home/david/coding-3/gcc-git-jit-pypy/src/gcc/testsuite/jit.dg/test-abort.c:18
#8  0x000000000040213f in test_jit (
    argv0=0x7fffffffe6b8
"/home/david/coding-3/gcc-git-jit-pypy/build/gcc/testsuite/jit/test-abort.c.exe",
user_data=0x0)
    at
/home/david/coding-3/gcc-git-jit-pypy/src/gcc/testsuite/jit.dg/harness.h:346
#9  0x000000000040221e in main (argc=1, argv=0x7fffffffe448)
    at
/home/david/coding-3/gcc-git-jit-pypy/src/gcc/testsuite/jit.dg/harness.h:389

where context->printer is NULL (for the global_diagnostic_context).


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

end of thread, other threads:[~2015-01-23 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 22:06 [Bug jit/64721] New: SIBAGRT turns into SIGSEGV in jit testsuite dmalcolm at gcc dot gnu.org
2015-01-21 22:11 ` [Bug jit/64721] SIBABRT becomes a " dmalcolm at gcc dot gnu.org
2015-01-21 22:12 ` dmalcolm at gcc dot gnu.org
2015-01-21 22:18 ` [Bug jit/64721] SIGABRT becomes a SIGSEGV after invoking gcc_jit_context_compile[_to_file] within a process dmalcolm at gcc dot gnu.org
2015-01-22 21:19 ` dmalcolm at gcc dot gnu.org
2015-01-23 16:31 ` dmalcolm at gcc dot gnu.org
2015-01-23 16:31 ` dmalcolm 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).