unsafe pointer conversion in worker/multiwatcher test

Bug #1881845 reported by Tim Penhey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey

Bug Description

https://jenkins.juju.canonical.com/view/unit%20tests/job/RunUnittests-race-amd64/2540/testReport/github/com_juju_juju_worker_multiwatcher/TestPackage/

        fatal error: checkptr: unsafe pointer conversion

goroutine 32 [running]:
runtime.throw(0x2d2edf4, 0x23)
 /snap/go/5830/src/runtime/panic.go:1116 +0x72 fp=0xc0005394c0 sp=0xc000539490 pc=0x446e22
runtime.checkptrAlignment(0xc0006d7600, 0x2bda600, 0x1)
 /snap/go/5830/src/runtime/checkptr.go:20 +0xc9 fp=0xc0005394f0 sp=0xc0005394c0 pc=0x417e39
github.com/juju/juju/worker/multiwatcher_test.(*fakeStateTracker).pool(...)
 /workspace/_build/src/github.com/juju/juju/worker/multiwatcher/manifold_test.go:160
github.com/juju/juju/worker/multiwatcher_test.(*fakeStateTracker).Use(0xc0006d7600, 0x2cf2398, 0x5, 0x2919180)
 /workspace/_build/src/github.com/juju/juju/worker/multiwatcher/manifold_test.go:155 +0x4e fp=0xc000539518 sp=0xc0005394f0 pc=0x280760e
github.com/juju/juju/worker/multiwatcher.ManifoldConfig.start(0x2cf2398, 0x5, 0x31ea4e0, 0xc00027aa80, 0x31e0520, 0xc00083a960, 0xc00083a970, 0x2dee7d0, 0x31a66e0, 0xc00083a990, ...)
 /workspace/_build/src/github.com/juju/juju/worker/multiwatcher/manifold.go:82 +0x157 fp=0xc000539600 sp=0xc000539518 pc=0x27dde37
github.com/juju/juju/worker/multiwatcher.ManifoldConfig.start-fm(0x31a66e0, 0xc00083a990, 0x31ea4e0, 0xc00027aa80, 0x31e0520, 0xc00083a960)
 /workspace/_build/src/github.com/juju/juju/worker/multiwatcher/manifold.go:73 +0xd2 fp=0xc0005396e0 sp=0xc000539600 pc=0x27eb2e2
github.com/juju/juju/worker/multiwatcher_test.(*ManifoldSuite).TestNewWorkerArgs(0xc0005e2240, 0xc0002b9950)
 /workspace/_build/src/github.com/juju/juju/worker/multiwatcher/manifold_test.go:118 +0x404 fp=0xc000539a40 sp=0xc0005396e0 pc=0x28067e4
runtime.call32(0xc0006c3a10, 0xc000199038, 0xc00083a4c0, 0x1000000010)
 /snap/go/5830/src/runtime/asm_amd64.s:539 +0x3b fp=0xc000539a70 sp=0xc000539a40 pc=0x47994b
reflect.Value.call(0x2c7bfe0, 0xc0005e2240, 0x4213, 0x2cf0aae, 0x4, 0xc0000c4f18, 0x1, 0x1, 0xc0000c4d40, 0x279aefe, ...)
 /snap/go/5830/src/reflect/value.go:460 +0x967 fp=0xc000539cb8 sp=0xc000539a70 pc=0x520337
reflect.Value.Call(0x2c7bfe0, 0xc0005e2240, 0x4213, 0xc0000c4f18, 0x1, 0x1, 0xc0002b9a40, 0x60d7030fdbd, 0x2a377b5d)
 /snap/go/5830/src/reflect/value.go:321 +0xd4 fp=0xc000539d50 sp=0xc000539cb8 pc=0x51f6c4
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1(0xc0002b9950)
 /workspace/_build/src/github.com/juju/juju/vendor/gopkg.in/check.v1/check.go:781 +0xa0b fp=0xc000539f40 sp=0xc000539d50 pc=0x27add9b
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1(0xc00012c280, 0xc0002b9950, 0xc0006d75e0)
 /workspace/_build/src/github.com/juju/juju/vendor/gopkg.in/check.v1/check.go:675 +0xda fp=0xc000539fc8 sp=0xc000539f40 pc=0x27ad04a
runtime.goexit()
 /snap/go/5830/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000539fd0 sp=0xc000539fc8 pc=0x47b6a1
created by gopkg.in/check%2ev1.(*suiteRunner).forkCall
 /workspace/_build/src/github.com/juju/juju/vendor/gopkg.in/check.v1/check.go:672 +0x44e

Revision history for this message
Tim Penhey (thumper) wrote :
Tim Penhey (thumper)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.