Race in github.com/juju/loggo global

Bug #1609994 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Tim Penhey

Bug Description

As seen at
    http://reports.vapour.ws/releases/issue/57a3b5a3749a5655e70b4130

There is a race in github.com/juju/loggo global

WARNING: DATA RACE
Read by goroutine 38:
  runtime.mapiterinit()
      /usr/lib/go-1.6/src/runtime/hashmap.go:607 +0x0
  github.com/juju/loggo.(*Context).Config()
      /home/ubuntu/juju-core_2.0-beta15/src/github.com/juju/loggo/context.go:80 +0x123
  github.com/juju/loggo.LoggerInfo()
      /home/ubuntu/juju-core_2.0-beta15/src/github.com/juju/loggo/global.go:26 +0x4c
  github.com/juju/juju/worker/logger_test.(*LoggerSuite).waitLoggingInfo()
      /home/ubuntu/juju-core_2.0-beta15/src/github.com/juju/juju/worker/logger/logger_test.go:53 +0x145
  github.com/juju/juju/worker/logger_test.(*LoggerSuite).TestInitialState()
      /home/ubuntu/juju-core_2.0-beta15/src/github.com/juju/juju/worker/logger/logger_test.go:104 +0x650
  runtime.call32()
      /usr/lib/go-1.6/src/runtime/asm_amd64.s:472 +0x3d
  reflect.Value.Call()
      /usr/lib/go-1.6/src/reflect/value.go:303 +0xcd
  gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
      /home/ubuntu/juju-core_2.0-beta15/src/gopkg.in/check.v1/check.go:772 +0x5d1
  gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
      /home/ubuntu/juju-core_2.0-beta15/src/gopkg.in/check.v1/check.go:666 +0x80

Curtis Hovey (sinzui)
Changed in juju-core:
importance: Medium → Critical
tags: added: blocker
Tim Penhey (thumper)
Changed in juju-core:
assignee: nobody → Tim Penhey (thumper)
Tim Penhey (thumper)
Changed in juju-core:
status: Triaged → In Progress
Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
tags: removed: blocker
Tim Penhey (thumper)
Changed in juju-core:
milestone: none → 2.0-beta15
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta15 → none
milestone: none → 2.0-beta15
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.