Panic created by gopkg.in/mgo%2ev2.newCluster: invalid memory address

Bug #1636297 reported by Nicholas Skaggs
48
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

As seen in:

http://reports.vapour.ws/releases/issue/580e7056749a561fa39305eb

gopkg.in/mgo%2ev2.newCluster in /gopkg.in/mgo.v2/cluster.go falls over, failing the juju package under test.

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0xb0e437]

goroutine 532 [running]:
panic(0x1b93000, 0xc08200c080)
 C:/Go/src/runtime/panic.go:481 +0x3f4
gopkg.in/mgo%2ev2.debugf(0x2143720, 0x2a, 0xc082623e98, 0x1, 0x1)
 c:/users/admini~1/appdata/local/temp/tmpusykc0/gogo/src/gopkg.in/mgo.v2/log.go:131 +0xa7
gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc0825ca900)
 c:/users/admini~1/appdata/local/temp/tmpusykc0/gogo/src/gopkg.in/mgo.v2/cluster.go:399 +0x1c4
created by gopkg.in/mgo%2ev2.newCluster
 c:/users/admini~1/appdata/local/temp/tmpusykc0/gogo/src/gopkg.in/mgo.v2/cluster.go:78 +0x1dc
FAIL github.com/juju/juju/worker/apiaddressupdater 6.427s

tags: added: ci panic regression unit-tests
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Curtis Hovey (sinzui)
Changed in juju:
milestone: none → 2.1.0
assignee: nobody → Menno Smits (menno.smits)
importance: Medium → High
summary: - github.com/juju/juju/worker/apiaddressupdater panic: runtime error:
- invalid memory address Edit
+ created by gopkg.in/mgo%2ev2.newCluster: invalid memory address
description: updated
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1.0 → 2.2.0-alpha1
Curtis Hovey (sinzui)
summary: - created by gopkg.in/mgo%2ev2.newCluster: invalid memory address
+ Panic created by gopkg.in/mgo%2ev2.newCluster: invalid memory address
Changed in juju:
milestone: 2.2-alpha1 → 2.2.0
milestone: 2.2.0 → 2.2-beta1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta1 → 2.2-beta2
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta2 → 2.2-beta3
Changed in juju:
milestone: 2.2-beta3 → 2.2-beta4
Changed in juju:
milestone: 2.2-beta4 → 2.2-rc1
Changed in juju:
assignee: Menno Finlay-Smits (menno.smits) → nobody
Tim Penhey (thumper)
tags: added: intermittent-failure
Changed in juju:
importance: High → Medium
milestone: 2.2-rc1 → none
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I could not reproduce this locally under stress. It must have been fixed as part of another work item.

Changed in juju:
status: Triaged → 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.