public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/114582] New: go.test/test/fixedbugs/issue34123.go FAILs
@ 2024-04-04 13:07 ro at gcc dot gnu.org
  2024-05-02 19:44 ` [Bug go/114582] " ian at airs dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2024-04-04 13:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114582
           Summary: go.test/test/fixedbugs/issue34123.go FAILs
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.11

The go.test/test/fixedbugs/issue34123.go test FAILs on 32-bit Solaris/SPARC
since it was introduced:

FAIL: go.test/test/fixedbugs/issue34123.go execution,  -O2 -g 

SIGABRT: abort
PC=0xfd799dc4 m=5 sigcode=4294967295

goroutine 1 [running]:
__lwp_sigqueue
        :0

As with PR go/114581, under gdb the code path is different:

Thread 5 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x00013a8c in main.f ()
    at
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue34123.go:24
24              *q = 12 // line 24
(gdb) bt
#0  0x00013a8c in main.f ()
    at
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue34123.go:24
#1  0x00013adc in main.main ()
    at
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue34123.go:42
(gdb) p q
$1 = (uint8 *) 0x0
(gdb) cont
Continuing.
SIGSEGV: segmentation violation
PC=0x13600 m=0 sigcode=0

goroutine 1 [running]:
main.f
       
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue34123.go:24
main.main
       
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue34123.go:42

This could well be a gdb issue, however: dbx behaves differently:

t@1 (l@1) signal SEGV (no mapping at the fault address) in main.f at 0x13600
0x00013600: f+0x000c:   stb      %g2, [%g1]
(dbx) cont -sig SEGV
t@1 (l@1) signal ABRT (Abort) in __lwp_sigqueue at 0xfd799dc4
0xfd799dc4: __lwp_sigqueue+0x0008:      bcc,a,pt  %icc,__lwp_sigqueue+0x18     
! 0xfd799dd4
(dbx) where
current thread: t@1
=>[1] __lwp_sigqueue(0x0, 0x1, 0x6, 0x0, 0xffffffffffffffff, 0x0), at
0xfd799dc4 
  [2] raise(0x6, 0x6, 0x5, 0x0, 0x0, 0x0), at 0xfd6d7570 
  [3] abort(0xfe362cd4, 0xfd7ec000, 0x64cae8, 0x474f0000, 0x41c180, 0x64d01c),
at 0xfd6a87b8 
  ---- hidden frames, use 'where -h' to see them all ----
  [6] throwException(0x400500, 0x0, 0x7, 0xff1e5950, 0xfe0e0758, 0xff1e0318),
at 0xfe363748 
  [7] gopanic(0x64d54c, 0x1, 0x696020, 0xfeec51f0, 0x400500, 0x64de48), at
0xfe9252e0 
  [8] panicmem(0xb, 0x64d8d0, 0x0, 0x0, 0xff, 0x64d6a0), at 0xfe9036fc 
  [9] sigpanic(0x0, 0x64d8d0, 0x0, 0x0, 0x0, 0x400500), at 0xfe90708c 
  [10] sigtrampgo(0xb, 0x64dd60, 0x64da80, 0x88, 0x64d8d0, 0x400500), at
0xfe91a46c 
  [11] __sighndlr(0xb, 0x64dd60, 0x64da80, 0xfe362cd4, 0x0, 0x1), at 0xfd794ee0 
  ---- called from signal handler with signal 11 (SIGSEGV) ------
  [12] main.f(0x64de48, 0x64de46, 0x13a30, 0x64de47, 0x6b20c0, 0x400500), at
0x13600 
  [13] main.main(0x418128, 0xfeec51f0, 0x418130, 0x400500, 0x64de60, 0x400500),
at 0x13ce0 
  [14] main(0xfeec0fcc, 0xfeec1b48, 0x40a138, 0x418440, 0x64dee2, 0xfe92a8e0),
at 0xfe92e7f8 
  [15] kickoff(0x0, 0x4007c8, 0xfe92952c, 0x0, 0x4007a4, 0x400500), at
0xfe925834

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

end of thread, other threads:[~2024-05-03 12:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 13:07 [Bug go/114582] New: go.test/test/fixedbugs/issue34123.go FAILs ro at gcc dot gnu.org
2024-05-02 19:44 ` [Bug go/114582] " ian at airs dot com
2024-05-02 19:46 ` ian at airs dot com
2024-05-02 20:24 ` ian at airs dot com
2024-05-02 20:25 ` ian at airs dot com
2024-05-03  8:26 ` ebotcazou at gcc dot gnu.org
2024-05-03 12:31 ` ian at airs dot com

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).