Skip to content

Instantly share code, notes, and snippets.

@zombiecalypse
Created June 25, 2014 09:53
Show Gist options
  • Save zombiecalypse/b940545fd7bc02a53f1e to your computer and use it in GitHub Desktop.
Save zombiecalypse/b940545fd7bc02a53f1e to your computer and use it in GitHub Desktop.
Deadlock with syncthing
[K4YXK] 11:43:25 INFO: syncthing v0.8.16-2-gf97dd9d (go1.2.1 linux-amd64 default) aaron@fairlight-excalibur 2014-06-23 19:57:22 UTC
[K4YXK] 11:43:25 INFO: My ID: K4YXKXC6TQJL2YIU2PVELUH56R73AFITFSBVR4VWXUU6PCX4LH2A
[K4YXK] 11:43:25 INFO: Starting web GUI on http://127.0.0.1:9990/
[K4YXK] 11:43:25 INFO: Populating repository index
panic: deadlock detected
goroutine 7 [running]:
runtime.panic(0x70b960, 0xc210093ec0)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/calmh/syncthing/model.func·011()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:114 +0x15a
created by github.com/calmh/syncthing/model.deadlockDetect
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:117 +0x8f
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc2101adf6c)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:36 +0x5e
github.com/calmh/syncthing/model.(*Model).SeedLocal(0xc2101adf00, 0xc2101f00d0, 0x8, 0xc2102b8000, 0x1d785, ...)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:462 +0x1ae
github.com/calmh/syncthing/model.(*Model).LoadIndexes(0xc2101adf00, 0xc21004a780, 0x1d)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:736 +0x115
main.main()
/usr/local/src/syncthing/cmd/syncthing/main.go:346 +0x1645
goroutine 4 [chan receive]:
main.trackCPUUsage()
/usr/local/src/syncthing/cmd/syncthing/gui_unix.go:22 +0xd4
created by main.init·2
/usr/local/src/syncthing/cmd/syncthing/gui_unix.go:15 +0x21
goroutine 6 [chan receive]:
main.saveConfigLoop(0xc210112870, 0x28)
/usr/local/src/syncthing/cmd/syncthing/main.go:539 +0x4e
created by main.main
/usr/local/src/syncthing/cmd/syncthing/main.go:193 +0xd73
goroutine 8 [runnable]:
time.Sleep(0x37e11d600)
/usr/lib/go/src/pkg/runtime/time.goc:31 +0x31
github.com/calmh/syncthing/model.func·011()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:99 +0x49
created by github.com/calmh/syncthing/model.deadlockDetect
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:117 +0x8f
goroutine 9 [runnable]:
github.com/calmh/syncthing/model.func·011()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:113 +0x10a
created by github.com/calmh/syncthing/model.deadlockDetect
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:117 +0x8f
goroutine 10 [semacquire]:
sync.runtime_Semacquire(0xc2101adf6c)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:36 +0x5e
github.com/calmh/syncthing/model.(*Model).broadcastIndexLoop(0xc2101adf00)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:585 +0xbe
created by github.com/calmh/syncthing/model.NewModel
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:103 +0x42f
goroutine 11 [IO wait]:
net.runtime_pollWait(0x7fd2632084f0, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2101a7ca0, 0x72, 0x7fd2631fd198, 0xb)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2101a7ca0, 0xb, 0x7fd2631fd198)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc2101a7c40, 0x904480, 0x0, 0x7fd2631fd198, 0xb)
/usr/lib/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc210000eb8, 0x4c707b, 0x7fd26307deb0, 0x4c707b)
/usr/lib/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc210000eb8, 0x7fd2632122f0, 0xc2101b2180, 0xc210228680, 0x0)
/usr/lib/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc210116050, 0x7fd263207528, 0xc210000eb8, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/server.go:1622 +0x91
net/http.Serve(0x7fd263207528, 0xc210000eb8, 0x7fd263208840, 0xc2101195c0, 0xc21018a800, ...)
/usr/lib/go/src/pkg/net/http/server.go:1561 +0x70
created by main.startGUI
/usr/local/src/syncthing/cmd/syncthing/gui.go:128 +0x1a5e
goroutine 12 [finalizer wait]:
runtime.park(0x421270, 0xd2a810, 0xd26bc8)
/usr/lib/go/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2279 +0x84
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
goroutine 13 [semacquire]:
sync.runtime_Semacquire(0xc2101adf6c)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:36 +0x5e
github.com/calmh/syncthing/model.(*Model).GlobalSize(0xc2101adf00, 0xc211c09e85, 0x8, 0x0, 0x0, ...)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:223 +0x52
main.restGetModel(0xc2101adf00, 0x7fd263216d48, 0xc211be4200, 0xc210c39750)
/usr/local/src/syncthing/cmd/syncthing/gui.go:171 +0x219
reflect.Value.call(0x7525e0, 0x902250, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x7525e0, 0x902250, 0x130, 0xc211ad7be0, 0x3, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b440, 0x7525e0, 0x902250, 0x631abe, 0x708060, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).Invoke(0xc211ad7a00, 0x7525e0, 0x902250, 0x7e5140, 0x54d960, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/env.go:1 +0x4c
github.com/codegangsta/martini.(*routeContext).run(0xc211ad22d0)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:314 +0x74
github.com/codegangsta/martini.(*route).Handle(0xc2101aa870, 0x7fd263216d80, 0xc211ad7a00, 0x7fd263216d48, 0xc211be4200)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:217 +0xa4
github.com/codegangsta/martini.(*router).Handle(0xc2101aa460, 0x7fd263216d48, 0xc211be4200, 0xc210c39750, 0x7fd263216d80, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:112 +0x16c
github.com/codegangsta/martini.Router.Handle·fm(0x7fd263216d48, 0xc211be4200, 0xc210c39750, 0x7fd263216d80, 0xc211ad7a00)
/usr/local/src/syncthing/cmd/syncthing/gui.go:122 +0x60
reflect.Value.call(0x76c260, 0xc21018a840, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x76c260, 0xc21018a840, 0x130, 0xc211ad7b40, 0x3, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b440, 0x76c260, 0xc21018a840, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211ad7a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*context).Next(0xc211ad7a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:154 +0x2b
github.com/codegangsta/martini.func·004(0x7fd263216d80, 0xc211ad7a00, 0xc210116e60)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/recovery.go:140 +0x76
reflect.Value.call(0x73c240, 0x900120, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x73c240, 0x900120, 0x130, 0xc211ad2150, 0x2, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b440, 0x73c240, 0x900120, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211ad7a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*Martini).ServeHTTP(0xc2101195c0, 0x7fd263216c58, 0xc211bde5a0, 0xc210c39750)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:69 +0x53
net/http.serverHandler.ServeHTTP(0xc210116050, 0x7fd263216c58, 0xc211bde5a0, 0xc210c39750)
/usr/lib/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc210228480)
/usr/lib/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 14 [semacquire]:
sync.runtime_Semacquire(0xc2101adf68)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).Lock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:83 +0xa3
github.com/calmh/syncthing/model.(*Model).Version(0xc2101adf00, 0xc211c09975, 0x6, 0x5)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:886 +0x40
main.restGetModel(0xc2101adf00, 0x7fd263216d48, 0xc211be40c0, 0xc210c39dd0)
/usr/local/src/syncthing/cmd/syncthing/gui.go:183 +0x65f
reflect.Value.call(0x7525e0, 0x902250, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x7525e0, 0x902250, 0x130, 0xc211ad7820, 0x3, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b2e0, 0x7525e0, 0x902250, 0x631abe, 0x708060, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).Invoke(0xc211ad7640, 0x7525e0, 0x902250, 0x7e5140, 0x54d960, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/env.go:1 +0x4c
github.com/codegangsta/martini.(*routeContext).run(0xc211c09d50)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:314 +0x74
github.com/codegangsta/martini.(*route).Handle(0xc2101aa870, 0x7fd263216d80, 0xc211ad7640, 0x7fd263216d48, 0xc211be40c0)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:217 +0xa4
github.com/codegangsta/martini.(*router).Handle(0xc2101aa460, 0x7fd263216d48, 0xc211be40c0, 0xc210c39dd0, 0x7fd263216d80, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:112 +0x16c
github.com/codegangsta/martini.Router.Handle·fm(0x7fd263216d48, 0xc211be40c0, 0xc210c39dd0, 0x7fd263216d80, 0xc211ad7640)
/usr/local/src/syncthing/cmd/syncthing/gui.go:122 +0x60
reflect.Value.call(0x76c260, 0xc21018a840, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x76c260, 0xc21018a840, 0x130, 0xc211ad7780, 0x3, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b2e0, 0x76c260, 0xc21018a840, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211ad7640)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*context).Next(0xc211ad7640)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:154 +0x2b
github.com/codegangsta/martini.func·004(0x7fd263216d80, 0xc211ad7640, 0xc210116e60)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/recovery.go:140 +0x76
reflect.Value.call(0x73c240, 0x900120, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x73c240, 0x900120, 0x130, 0xc211c09bd0, 0x2, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c8b2e0, 0x73c240, 0x900120, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211ad7640)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*Martini).ServeHTTP(0xc2101195c0, 0x7fd263216c58, 0xc211bde320, 0xc210c39dd0)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:69 +0x53
net/http.serverHandler.ServeHTTP(0xc210116050, 0x7fd263216c58, 0xc211bde320, 0xc210c39dd0)
/usr/lib/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc210228500)
/usr/lib/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 15 [IO wait]:
net.runtime_pollWait(0x7fd2632082f8, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210f561b0, 0x72, 0x7fd2631fd198, 0xb)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210f561b0, 0xb, 0x7fd2631fd198)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210f56150, 0xc210f67000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc2101b20b8, 0xc210f67000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/net.go:122 +0xc5
net/http.(*liveSwitchReader).Read(0xc2102285a8, 0xc210f67000, 0x1000, 0x1000, 0x18, ...)
/usr/lib/go/src/pkg/net/http/server.go:204 +0xa5
io.(*LimitedReader).Read(0xc2101f2c20, 0xc210f67000, 0x1000, 0x1000, 0x18, ...)
/usr/lib/go/src/pkg/io/io.go:398 +0xbb
bufio.(*Reader).fill(0xc21008e9c0)
/usr/lib/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).ReadSlice(0xc21008e9c0, 0xc2120bcb0a, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:274 +0x204
bufio.(*Reader).ReadLine(0xc21008e9c0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:305 +0x63
net/textproto.(*Reader).readLineSlice(0xc2101125a0, 0x7fd2631f4000, 0x6fa8c0, 0x7fd260127ce8, 0x436b72, ...)
/usr/lib/go/src/pkg/net/textproto/reader.go:55 +0x61
net/textproto.(*Reader).ReadLine(0xc2101125a0, 0xc2118630d0, 0x0, 0xc210f68000, 0x0)
/usr/lib/go/src/pkg/net/textproto/reader.go:36 +0x27
net/http.ReadRequest(0xc21008e9c0, 0xc2118630d0, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/request.go:526 +0x88
net/http.(*conn).readRequest(0xc210228580, 0x0, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/server.go:575 +0x1bb
net/http.(*conn).serve(0xc210228580)
/usr/lib/go/src/pkg/net/http/server.go:1123 +0x3b4
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 16 [IO wait]:
net.runtime_pollWait(0x7fd263208250, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210ef4060, 0x72, 0x7fd2631fd198, 0xb)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210ef4060, 0xb, 0x7fd2631fd198)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210ef4000, 0xc210f6a000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc2101b2110, 0xc210f6a000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/net.go:122 +0xc5
net/http.(*liveSwitchReader).Read(0xc210228628, 0xc210f6a000, 0x1000, 0x1000, 0x18, ...)
/usr/lib/go/src/pkg/net/http/server.go:204 +0xa5
io.(*LimitedReader).Read(0xc2101f2d20, 0xc210f6a000, 0x1000, 0x1000, 0x18, ...)
/usr/lib/go/src/pkg/io/io.go:398 +0xbb
bufio.(*Reader).fill(0xc21008ea80)
/usr/lib/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).ReadSlice(0xc21008ea80, 0xc211d5490a, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:274 +0x204
bufio.(*Reader).ReadLine(0xc21008ea80, 0x0, 0x0, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:305 +0x63
net/textproto.(*Reader).readLineSlice(0xc210112630, 0x7fd2631f45e0, 0x6fa8c0, 0x7fd260125ce8, 0x436b72, ...)
/usr/lib/go/src/pkg/net/textproto/reader.go:55 +0x61
net/textproto.(*Reader).ReadLine(0xc210112630, 0xc2113fe680, 0x0, 0xc210f6b000, 0x0)
/usr/lib/go/src/pkg/net/textproto/reader.go:36 +0x27
net/http.ReadRequest(0xc21008ea80, 0xc2113fe680, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/request.go:526 +0x88
net/http.(*conn).readRequest(0xc210228600, 0x0, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/server.go:575 +0x1bb
net/http.(*conn).serve(0xc210228600)
/usr/lib/go/src/pkg/net/http/server.go:1123 +0x3b4
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 17 [semacquire]:
sync.runtime_Semacquire(0xc2101adf6c)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:36 +0x5e
github.com/calmh/syncthing/model.(*Model).ConnectionStats(0xc2101adf00, 0xc211c44c08)
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/model.go:142 +0x69
main.restGetConnections(0xc2101adf00, 0x7fd263216d48, 0xc211aaedc0)
/usr/local/src/syncthing/cmd/syncthing/gui.go:206 +0x27
reflect.Value.call(0x721fc0, 0x902230, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x721fc0, 0x902230, 0x130, 0xc2131ac060, 0x2, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c44ca0, 0x721fc0, 0x902230, 0x631abe, 0x708060, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).Invoke(0xc211bf1a00, 0x721fc0, 0x902230, 0x7e5140, 0x54d960, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/env.go:1 +0x4c
github.com/codegangsta/martini.(*routeContext).run(0xc2131ac030)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:314 +0x74
github.com/codegangsta/martini.(*route).Handle(0xc2101aae10, 0x7fd263216d80, 0xc211bf1a00, 0x7fd263216d48, 0xc211aaedc0)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:217 +0xa4
github.com/codegangsta/martini.(*router).Handle(0xc2101aa460, 0x7fd263216d48, 0xc211aaedc0, 0xc211a7ed00, 0x7fd263216d80, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/router.go:112 +0x16c
github.com/codegangsta/martini.Router.Handle·fm(0x7fd263216d48, 0xc211aaedc0, 0xc211a7ed00, 0x7fd263216d80, 0xc211bf1a00)
/usr/local/src/syncthing/cmd/syncthing/gui.go:122 +0x60
reflect.Value.call(0x76c260, 0xc21018a840, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x76c260, 0xc21018a840, 0x130, 0xc211bf18c0, 0x3, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c44ca0, 0x76c260, 0xc21018a840, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211bf1a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*context).Next(0xc211bf1a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:154 +0x2b
github.com/codegangsta/martini.func·004(0x7fd263216d80, 0xc211bf1a00, 0xc210116e60)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/recovery.go:140 +0x76
reflect.Value.call(0x73c240, 0x900120, 0x130, 0x8257c0, 0x4, ...)
/usr/lib/go/src/pkg/reflect/value.go:474 +0xe0b
reflect.Value.Call(0x73c240, 0x900120, 0x130, 0xc211ad2ba0, 0x2, ...)
/usr/lib/go/src/pkg/reflect/value.go:345 +0x9d
github.com/codegangsta/inject.(*injector).Invoke(0xc211c44ca0, 0x73c240, 0x900120, 0xd35430, 0x0, ...)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/inject/inject.go:102 +0x304
github.com/codegangsta/martini.(*context).run(0xc211bf1a00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:163 +0x62
github.com/codegangsta/martini.(*Martini).ServeHTTP(0xc2101195c0, 0x7fd263216c58, 0xc211bbddc0, 0xc211a7ed00)
/usr/local/src/syncthing/Godeps/_workspace/src/github.com/codegangsta/martini/martini.go:69 +0x53
net/http.serverHandler.ServeHTTP(0xc210116050, 0x7fd263216c58, 0xc211bbddc0, 0xc211a7ed00)
/usr/lib/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc210228680)
/usr/lib/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 18 [semacquire]:
sync.runtime_Semacquire(0xc2101adf64)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*Mutex).Lock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/mutex.go:66 +0xd6
sync.(*RWMutex).Lock(0xc2101adf60)
/usr/lib/go/src/pkg/sync/rwmutex.go:78 +0x32
github.com/calmh/syncthing/model.func·009()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:103 +0x3c
created by github.com/calmh/syncthing/model.func·011
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:106 +0xb8
goroutine 20 [semacquire]:
sync.runtime_Semacquire(0xc2101adfc0)
/usr/lib/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).Lock(0xc2101adfb8)
/usr/lib/go/src/pkg/sync/rwmutex.go:83 +0xa3
github.com/calmh/syncthing/model.func·009()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:103 +0x3c
created by github.com/calmh/syncthing/model.func·011
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:106 +0xb8
goroutine 25 [sleep]:
time.Sleep(0xdf8475800)
/usr/lib/go/src/pkg/runtime/time.goc:31 +0x31
github.com/calmh/syncthing/model.func·010()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:109 +0x32
created by github.com/calmh/syncthing/model.func·011
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:111 +0xee
goroutine 27 [sleep]:
time.Sleep(0xdf8475800)
/usr/lib/go/src/pkg/runtime/time.goc:31 +0x31
github.com/calmh/syncthing/model.func·010()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:109 +0x32
created by github.com/calmh/syncthing/model.func·011
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:111 +0xee
goroutine 29 [sleep]:
time.Sleep(0xdf8475800)
/usr/lib/go/src/pkg/runtime/time.goc:31 +0x31
github.com/calmh/syncthing/model.func·010()
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:109 +0x32
created by github.com/calmh/syncthing/model.func·011
/home/aaron/.gopath/src/github.com/calmh/syncthing/model/util.go:111 +0xee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment