public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/56172] New: net FAILs on Solaris
@ 2013-02-01 12:50 ro at gcc dot gnu.org
  2013-02-02 16:08 ` [Bug go/56172] " ian at airs dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2013-02-01 12:50 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56172

             Bug #: 56172
           Summary: net FAILs on Solaris
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2.*
            Target: *-*-solaris2.*
             Build: *-*-solaris2.*


The libgo net test currently FAILs on Solaris.  With -test.v=true I find

=== RUN TestAddFDReturnsError
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0xe]

goroutine 19 [running]:
created by runtime_MHeap_Scavenger
        /vol/gcc/src/hg/trunk/local/libgo/runtime/mheap.c:408

goroutine 1 [chan receive]:
[...]

Running the test with -test.run=TestAddFDReturnsError under gdb reveals:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3 (LWP 3)]
0xff23db2c in sem_invalid () from /lib/libc.so.1
(gdb) where
#0  0xff23db2c in sem_invalid () from /lib/libc.so.1
#1  0xff23dbf0 in sem_post () from /lib/libc.so.1
#2  0xfdfa1a5c in runtime_semawakeup (mp=0xddc0cf38)
    at /vol/gcc/src/hg/trunk/local/libgo/runtime/thread-sema.c:125
#3  0xfdfa8f48 in kickoff ()
    at /vol/gcc/src/hg/trunk/local/libgo/runtime/proc.c:369
#4  0xff1cb730 in __makecontext_v2 () from /lib/libc.so.1

  sem_invalid () does

    if (sem->sem_magic != SEMA_MAGIC) {
        errno = EINVAL;
        return (-1);
    }

I haven't yet debugged how this happens.

  Rainer


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

end of thread, other threads:[~2013-02-07 17:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 12:50 [Bug go/56172] New: net FAILs on Solaris ro at gcc dot gnu.org
2013-02-02 16:08 ` [Bug go/56172] " ian at airs dot com
2013-02-04 13:01 ` ro at CeBiTec dot Uni-Bielefeld.DE
2013-02-05 23:59 ` ian at gcc dot gnu.org
2013-02-06 22:41 ` ian at gcc dot gnu.org
2013-02-06 22:42 ` ian at airs dot com
2013-02-07 17:05 ` ian 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).