public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/48222] New: libgo assertion failure in thread.c:40/63 on Solaris 2
@ 2011-03-21 17:31 ro at gcc dot gnu.org
  2011-04-04 16:35 ` [Bug go/48222] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-21 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libgo assertion failure in thread.c:40/63 on Solaris 2
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ro@gcc.gnu.org
              Host: i386-pc-solaris2.11
            Target: i386-pc-solaris2.11
             Build: i386-pc-solaris2.11


Both in the go and libgo testsuites, a couple of testcases randomly fail like
this:

FAIL: go.test/test/chan/powser2.go execution,  -O2 -g 
/vol/gcc/src/hg/trunk/local/libgo/runtime/thread.c:63: libgo assertion failure
/vol/gcc/src/hg/trunk/local/libgo/runtime/thread.c:40: libgo assertion failure

I found that at that time sem is completely empty, so either it hasn't been
initialized yet or already destroyed.  Don't yet know which.


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

* [Bug go/48222] libgo assertion failure in thread.c:40/63 on Solaris 2
  2011-03-21 17:31 [Bug go/48222] New: libgo assertion failure in thread.c:40/63 on Solaris 2 ro at gcc dot gnu.org
@ 2011-04-04 16:35 ` ro at gcc dot gnu.org
  2011-04-04 23:44 ` ian at gcc dot gnu.org
  2011-04-04 23:47 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-04-04 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-04/msg00227.htm
                   |                            |l
   Target Milestone|---                         |4.7.0

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-04-04 16:35:20 UTC ---
Patch posted.


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

* [Bug go/48222] libgo assertion failure in thread.c:40/63 on Solaris 2
  2011-03-21 17:31 [Bug go/48222] New: libgo assertion failure in thread.c:40/63 on Solaris 2 ro at gcc dot gnu.org
  2011-04-04 16:35 ` [Bug go/48222] " ro at gcc dot gnu.org
@ 2011-04-04 23:44 ` ian at gcc dot gnu.org
  2011-04-04 23:47 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at gcc dot gnu.org @ 2011-04-04 23:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2011-04-04 23:44:12 UTC ---
Author: ian
Date: Mon Apr  4 23:43:59 2011
New Revision: 171960

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171960
Log:
libgo: Always initialize semaphores.

    2011-04-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

    PR go/48222
    * runtime/malloc.goc (runtime_mallocinit): Call
    runtime_Mprof_Init, runtime_initfintab.
    * runtime/cpuprof.c (runtime_cpuprofinit): New function.
    * runtime/runtime.h (runtime_cpuprofinit): Declare it.
    * runtime/go-main.c (main): Use it.

Modified:
    trunk/libgo/runtime/cpuprof.c
    trunk/libgo/runtime/go-main.c
    trunk/libgo/runtime/malloc.goc
    trunk/libgo/runtime/runtime.h


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

* [Bug go/48222] libgo assertion failure in thread.c:40/63 on Solaris 2
  2011-03-21 17:31 [Bug go/48222] New: libgo assertion failure in thread.c:40/63 on Solaris 2 ro at gcc dot gnu.org
  2011-04-04 16:35 ` [Bug go/48222] " ro at gcc dot gnu.org
  2011-04-04 23:44 ` ian at gcc dot gnu.org
@ 2011-04-04 23:47 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2011-04-04 23:47 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2011-04-04 23:46:48 UTC ---
Fixed, I hope.


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

end of thread, other threads:[~2011-04-04 23:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 17:31 [Bug go/48222] New: libgo assertion failure in thread.c:40/63 on Solaris 2 ro at gcc dot gnu.org
2011-04-04 16:35 ` [Bug go/48222] " ro at gcc dot gnu.org
2011-04-04 23:44 ` ian at gcc dot gnu.org
2011-04-04 23:47 ` 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).