panic: Session already closed in presence watcher

Bug #1497241 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Anastasia

Bug Description

panic: Session already closed

goroutine 1721 [running]:
runtime.panic(0x7c1b80, 0xc21036a950)
 /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
gopkg.in/mgo%2ev2.(*Session).cluster(0xc210621380, 0x2b5beeed9050)
 /home/ubuntu/juju-core_1.26-alpha1/src/gopkg.in/mgo.v2/session.go:1438 +0x66
gopkg.in/mgo%2ev2.copySession(0xc210621380, 0x1, 0xc210387540)
 /home/ubuntu/juju-core_1.26-alpha1/src/gopkg.in/mgo.v2/session.go:500 +0x32
gopkg.in/mgo%2ev2.(*Session).Copy(0xc210621380, 0x24)
 /home/ubuntu/juju-core_1.26-alpha1/src/gopkg.in/mgo.v2/session.go:1404 +0x41
github.com/juju/juju/state/presence.(*Watcher).sync(0xc21061edc0, 0x0, 0x0)
 /home/ubuntu/juju-core_1.26-alpha1/src/github.com/juju/juju/state/presence/presence.go:386 +0x1b9
github.com/juju/juju/state/presence.(*Watcher).loop(0xc21061edc0, 0xc210622d20, 0xc21062a000)
 /home/ubuntu/juju-core_1.26-alpha1/src/github.com/juju/juju/state/presence/presence.go:263 +0x1cb
github.com/juju/juju/state/presence.func·001()
 /home/ubuntu/juju-core_1.26-alpha1/src/github.com/juju/juju/state/presence/presence.go:139 +0x36
created by github.com/juju/juju/state/presence.NewWatcher
 /home/ubuntu/juju-core_1.26-alpha1/src/github.com/juju/juju/state/presence/presence.go:149 +0x1a8

http://juju-ci.vapour.ws:8080/job/github-merge-juju/4792/console

Aaron Bentley (abentley)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.26-alpha1
Tim Penhey (thumper)
Changed in juju-core:
assignee: nobody → Anastasia (anastasia-macmood)
status: Triaged → Fix Committed
summary: - look who's back
+ panic: Session already closed in presence watcher
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.