From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25898 invoked by alias); 9 Dec 2013 15:46:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25847 invoked by uid 48); 9 Dec 2013 15:46:54 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/59433] New: [4.9 regression] Many 64-bit Go tests SEGV on Solaris Date: Mon, 09 Dec 2013 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg00738.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59433 Bug ID: 59433 Summary: [4.9 regression] Many 64-bit Go tests SEGV on Solaris Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ro at gcc dot gnu.org Host: *-*-solaris2.1[01] Target: *-*-solaris2.1[01] Build: *-*-solaris2.1[01] Many (most) 64-bit Go tests now FAIL with a SEGV on Solaris, both SPARC and x86, here shown on the example of the bufio test: * i386-pc-solaris2.10: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:143 143 __builtin_memcpy(&rfds, &fds, sizeof fds); (gdb) where #0 runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:143 #1 0xfffffd7ffec0e95a in sysmon () at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:2707 #2 0xfffffd7ffec0d378 in runtime_mstart (mp=0xc210212000) at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:1016 #3 0xfffffd7ffe4dd9db in _thr_setup () from /lib/64/libc.so.1 #4 0xfffffd7ffe4ddc10 in ?? () from /lib/64/libc.so.1 #5 0x0000000000000000 in ?? () (gdb) p rfds Cannot access memory at address 0xfffffd7ffe0f9f00 (gdb) p fds $1 = {fds_bits = {0 }} * sparc-sun-solaris2.11: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:153 153 __builtin_memset(&timeout, 0, sizeof timeout); (gdb) where #0 runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:153 #1 0xfffffffd591bcd6c in sysmon () at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:2707 #2 0xfffffffd591bb3a8 in runtime_mstart (mp=0xc210212000) at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:1016 #3 0xffffffff7ede276c in _lwp_start () from /lib/64/libc.so.1 #4 0xffffffff7ede276c in _lwp_start () from /lib/64/libc.so.1 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) p timeout Cannot access memory at address 0xffffffff71cfbd50 I have no idea what might be wrong; the same tests works perfectly fine for 32-bit. Rainer