concurent map access in joyent

Bug #1554251 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Dave Cheney
juju-core
Fix Released
Medium
Dave Cheney
1.25
Fix Released
Medium
Dave Cheney

Bug Description

As seen in
    http://reports.vapour.ws/releases/issue/56db06cd749a561f1e1f3742

There are failures writing and deleting a map in the

This is only seen in the go 1.6 packages created for trusty, but surely must be an issue in xenial go 1.6

The error looks something like

fatal error: concurrent map writes

goroutine 1774 [running]:
runtime.throw(0x1824900, 0x15)
 /usr/lib/go/src/runtime/panic.go:530 +0x90 fp=0xc82095d590 sp=0xc82095d578
runtime.mapdelete(0x1180960, 0xc820365380, 0xc82095d6a0)
 /usr/lib/go/src/runtime/hashmap.go:559 +0x5a fp=0xc82095d5f0 sp=0xc82095d590
github.com/joyent/gomanta/localservices/manta.(*Manta).DeleteObject(0xc8205423c0, 0xc82033a102, 0xc, 0x0, 0x0)
 /home/ubuntu/juju-core_1.25.4/src/github.com/joyent/gomanta/localservices/manta/service.go:276 +0x3ca fp=0xc82095d6f0 sp=0xc82095d5f0
github.com/joyent/gomanta/localservices/manta.(*Manta).handleStorage(0xc8205423c0, 0x2b20bd7bee90, 0xc8205da340, 0xc82069a540, 0x0, 0x0)
 /home/ubuntu/juju-core_1.25.4/src/github.com/joyent/gomanta/localservices/manta/service_http.go:236 +0x1471 fp=0xc82095da68 sp=0xc82095d6f0
github.com/joyent/gomanta/localservices/manta.(*mantaHandler).ServeHTTP(0xc820530ae0, 0x2b20bd7bee90, 0xc8205da340, 0xc82069a540)
 /home/ubuntu/juju-core_1.25.4/src/github.com/joyent/gomanta/localservices/manta/service_http.go:98 +0x15d fp=0xc82095db18 sp=0xc82095da68
net/http.(*ServeMux).ServeHTTP(0xc820365350, 0x2b20bd7bee90, 0xc8205da340, 0xc82069a540)
 /usr/lib/go/src/net/http/server.go:1910 +0x17d fp=0xc82095db70 sp=0xc82095db18
net/http.serverHandler.ServeHTTP(0xc820334380, 0x2b20bd7bee90, 0xc8205da340, 0xc82069a540)
 /usr/lib/go/src/net/http/server.go:2081 +0x19e fp=0xc82095dbd0 sp=0xc82095db70
net/http.(*conn).serve(0xc820335f80)
 /usr/lib/go/src/net/http/server.go:1472 +0xf2e fp=0xc82095df98 sp=0xc82095dbd0
runtime.goexit()
 /usr/lib/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82095dfa0 sp=0xc82095df98
created by net/http.(*Server).Serve
 /usr/lib/go/src/net/http/server.go:2137 +0x44e

Revision history for this message
Dave Cheney (dave-cheney) wrote :
Revision history for this message
Dave Cheney (dave-cheney) wrote :

Blocked on upsream merging https://github.com/joyent/gomanta/pull/4

Changed in juju-core:
status: Triaged → Fix Committed
assignee: nobody → Dave Cheney (dave-cheney)
milestone: none → 2.0-beta4
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta4 → none
milestone: none → 2.0-beta4
Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
importance: Undecided → Medium
status: New → 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.