state/apiserver: data race on on apiserver method hashmap

Bug #1333513 reported by Dave Cheney
This bug report is a duplicate of:  Bug #1333098: API panic running test suite. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Triaged
Critical
Unassigned

Bug Description

WARNING: DATA RACE
Read by goroutine 139:
  runtime.mapaccess2()
      /home/dfc/go/src/pkg/runtime/hashmap.goc:877 +0x0
  github.com/juju/juju/state/apiserver.func·009()
      /home/dfc/src/github.com/juju/juju/state/apiserver/root.go:139 +0x19d
  github.com/juju/juju/state/apiserver.(*srvCaller).Call()
      /home/dfc/src/github.com/juju/juju/state/apiserver/root.go:101 +0xbe
  github.com/juju/juju/rpc.(*Conn).runRequest()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:533 +0x138

Previous write by goroutine 138:
  runtime.mapassign1()
      /home/dfc/go/src/pkg/runtime/hashmap.goc:925 +0x0
  github.com/juju/juju/state/apiserver.func·009()
      /home/dfc/src/github.com/juju/juju/state/apiserver/root.go:169 +0xa73
  github.com/juju/juju/state/apiserver.(*srvCaller).Call()
      /home/dfc/src/github.com/juju/juju/state/apiserver/root.go:101 +0xbe
  github.com/juju/juju/rpc.(*Conn).runRequest()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:533 +0x138

Goroutine 139 (running) created at:
  github.com/juju/juju/rpc.(*Conn).handleRequest()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:462 +0x906
  github.com/juju/juju/rpc.(*Conn).loop()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:394 +0x1a5
  github.com/juju/juju/rpc.(*Conn).input()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:362 +0x42

Goroutine 138 (running) created at:
  github.com/juju/juju/rpc.(*Conn).handleRequest()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:462 +0x906
  github.com/juju/juju/rpc.(*Conn).loop()
      /home/dfc/src/github.com/juju/juju/rpc/server.go:394 +0x1a5
  github.com/juju/juju/rpc.(*Conn).input()

http://paste.ubuntu.com/7693425/

description: updated
Curtis Hovey (sinzui)
Changed in juju-core:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.