chanyancheung / data-race-test

Automatically exported from code.google.com/p/data-race-test
0 stars 1 forks source link

Go: reports contain a load of empty entries #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Like this:

WARNING: Possible data race during read of size 1 at 0x7dc410: {{{
   T2252 (L{}):
    #0  launchpad.net/mgo.log src/pkg/launchpad.net/mgo/log.go:60
    #1  launchpad.net/mgo..syncServers src/pkg/launchpad.net/mgo/cluster.go:255
    #2  runtime.goexit src/pkg/runtime/proc.c:266
    #3   
    #4   
    #5   
    #6   
    #7   
    #8   
    #9   
    #10  
    #11  
    #12  
    #13  
    #14  
    #15  
  Concurrent write(s) happened at (OR AFTER) these points:
   T2263 (L{}):
    #0  launchpad.net/mgo.SetLogger src/pkg/launchpad.net/mgo/log.go:50
    #1  src/pkg/launchpad.net/mgo/_xtest_..SetUpTest src/pkg/launchpad.net/mgo/suite_test.go:82
    #2  reflect.Value.call src/pkg/reflect/value.go:517
    #3  reflect.Value.Call src/pkg/reflect/value.go:330
    #4  launchpad.net/gocheck._func_002 src/pkg/launchpad.net/gocheck/gocheck.go:606
    #5  launchpad.net/gocheck._func_001 src/pkg/launchpad.net/gocheck/gocheck.go:554
    #6  runtime.goexit src/pkg/runtime/proc.c:266
    #7   
    #8   
    #9   
}}}

Presumably due to non-zeroized shadow stacks.

Original issue reported on code.google.com by dvyu...@google.com on 17 Jan 2012 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by mpime...@google.com on 26 Mar 2012 at 6:28