Skip to content

Instantly share code, notes, and snippets.

@robin
Created April 17, 2014 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robin/10948618 to your computer and use it in GitHub Desktop.
Save robin/10948618 to your computer and use it in GitHub Desktop.
sync_gateway crash log
2014/04/17 01:51:38 go-couchbase: call to ViewCustom("sync_gateway", "channels") in github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.ViewCustom took 207.766195ms
01:51:38.458035 changes_view: Query took 210.170151ms to return 1910 rows, options = db.Body{"stale":false, "startkey":[]interface {}{"339fdb60b42701883337839ce8001c7c", 0x1}, "endkey":[]interface {}{"339fdb60b42701883337839ce8001c7c", 0x62da}}
2014/04/17 01:51:38 go-couchbase: call to ViewCustom("sync_gateway", "channels") in github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.ViewCustom took 209.766802ms
01:51:38.795895 changes_view: Query took 212.639579ms to return 1863 rows, options = db.Body{"stale":false, "startkey":[]interface {}{"aa7634fc7a46e663aad755ed94001420", 0x22e4}, "endkey":[]interface {}{"aa7634fc7a46e663aad755ed94001420", 0x5ef3}}
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: [object Object] [recovered]
panic: runtime error: index out of range
goroutine 450 [running]:
runtime.panic(0x8f9400, 0x11a9ed7)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/couchbaselabs/sync_gateway/db.(*channelCache).GetChanges(0xc2109ddae0, 0x22e3, 0x0, 0x1, 0xc2109e8900, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/channel_cache.go:154 +0x99b
github.com/couchbaselabs/sync_gateway/db.(*changeCache).GetChangesInChannel(0xc2100b1990, 0xc210de3cf0, 0x20, 0x22e3, 0x0, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_cache.go:309 +0x65
github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed(0xc210de1ec0, 0xc210de3cf0, 0x20, 0x22e3, 0x0, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:85 +0x10f
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:179 +0x39a
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 1 [IO wait]:
net.runtime_pollWait(0x7f5f13edc9b0, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210160840, 0x72, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210160840, 0xb, 0x7f5f13edb0c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc2101607e0, 0xaab368, 0x0, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc21018c1a8, 0x4725db, 0x7f5f13d3bc08, 0x4725db)
/usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc21018c1a8, 0x7f5f13edba90, 0xc210990d58, 0xc211982480, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc210181f00, 0x7f5f13ee1d40, 0xc21018c1a8, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1622 +0x91
github.com/couchbaselabs/sync_gateway/base.ListenAndServeHTTP(0xc210000950, 0x5, 0x0, 0x0, 0x0, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/http_listener.go:44 +0x396
github.com/couchbaselabs/sync_gateway/rest.(*ServerConfig).serve(0xc2100a6790, 0xc210000950, 0x5, 0x7f5f13edb2e0, 0xc2101351e0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:343 +0x95
github.com/couchbaselabs/sync_gateway/rest.RunServer(0xc2100a6790)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:383 +0x6e3
github.com/couchbaselabs/sync_gateway/rest.ServerMain()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:389 +0x2b
main.main()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/main.go:16 +0x1a
goroutine 5 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1394
goroutine 24 [sleep]:
time.Sleep(0x9502f900)
/usr/local/go/src/pkg/runtime/time.goc:31 +0x31
github.com/couchbaselabs/sync_gateway/db.func·003()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_cache.go:66 +0x62
created by github.com/couchbaselabs/sync_gateway/db.(*changeCache).Init
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_cache.go:68 +0x1be
goroutine 25 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).run(0xc2100dd940)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:55 +0x2f9
created by github.com/couchbaselabs/go-couchbase.(*Bucket).StartTapFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:39 +0x14a
goroutine 26 [chan receive]:
github.com/couchbaselabs/sync_gateway/base.func·002()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:97 +0x53
created by github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.StartTapFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:107 +0x1bd
goroutine 27 [chan receive]:
github.com/couchbaselabs/sync_gateway/db.func·006()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:49 +0xb5
created by github.com/couchbaselabs/sync_gateway/db.(*changeListener).Start
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:63 +0x25e
goroutine 28 [chan receive]:
github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).watchDocChanges(0xc2100b18c0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/assimilator.go:16 +0xa5
created by github.com/couchbaselabs/sync_gateway/db.NewDatabaseContext
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/database.go:114 +0x339
goroutine 29 [IO wait]:
net.runtime_pollWait(0x7f5f13edc908, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210160990, 0x72, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210160990, 0xb, 0x7f5f13edb0c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc210160930, 0xaab368, 0x0, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc21018c208, 0x4725db, 0x7f5f107fbd70, 0x4725db)
/usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc21018c208, 0x7f5f13edba90, 0xc212464820, 0xc211bff580, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc210181f50, 0x7f5f13ee1d40, 0xc21018c208, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1622 +0x91
github.com/couchbaselabs/sync_gateway/base.ListenAndServeHTTP(0xc210000958, 0x5, 0x0, 0x0, 0x0, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/http_listener.go:44 +0x396
github.com/couchbaselabs/sync_gateway/rest.(*ServerConfig).serve(0xc2100a6790, 0xc210000958, 0x5, 0x7f5f13edb2e0, 0xc21019b3a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:343 +0x95
created by github.com/couchbaselabs/sync_gateway/rest.RunServer
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:381 +0x5c8
goroutine 30 [IO wait]:
net.runtime_pollWait(0x7f5f13edc860, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210160ae0, 0x72, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210160ae0, 0xb, 0x7f5f13edb0c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210160a80, 0xc2101354a0, 0x18, 0x18, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc21018c260, 0xc2101354a0, 0x18, 0x18, 0x0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
io.ReadAtLeast(0x7f5f13edcb28, 0xc21018c260, 0xc2101354a0, 0x18, 0x18, ...)
/usr/local/go/src/pkg/io/io.go:288 +0xf6
io.ReadFull(0x7f5f13edcb28, 0xc21018c260, 0xc2101354a0, 0x18, 0x18, ...)
/usr/local/go/src/pkg/io/io.go:306 +0x71
github.com/dustin/gomemcached.(*MCRequest).Receive(0xc21265a660, 0x7f5f13edcb28, 0xc21018c260, 0xc2101354a0, 0x18, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/mc_req.go:129 +0xdf
github.com/dustin/gomemcached/client.(*Client).runFeed(0xc210158fc0, 0xc210153660, 0xc210135420)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:270 +0x11c
created by github.com/dustin/gomemcached/client.(*Client).StartTapFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:251 +0x215
goroutine 31 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).forwardTapEvents(0xc2100dd940, 0xc210135420, 0xc21005dcc0, 0xc2100fc9e0, 0x1d)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:101 +0x249
created by github.com/couchbaselabs/go-couchbase.(*TapFeed).connectToNodes
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:93 +0x367
goroutine 32 [IO wait]:
net.runtime_pollWait(0x7f5f13edca58, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100b9760, 0x72, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2100b9760, 0xb, 0x7f5f13edb0c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2100b9700, 0xc2101354e0, 0x18, 0x18, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210136268, 0xc2101354e0, 0x18, 0x18, 0x0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
io.ReadAtLeast(0x7f5f13edcb28, 0xc210136268, 0xc2101354e0, 0x18, 0x18, ...)
/usr/local/go/src/pkg/io/io.go:288 +0xf6
io.ReadFull(0x7f5f13edcb28, 0xc210136268, 0xc2101354e0, 0x18, 0x18, ...)
/usr/local/go/src/pkg/io/io.go:306 +0x71
github.com/dustin/gomemcached.(*MCRequest).Receive(0xc21265a6c0, 0x7f5f13edcb28, 0xc210136268, 0xc2101354e0, 0x18, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/mc_req.go:129 +0xdf
github.com/dustin/gomemcached/client.(*Client).runFeed(0xc2100d9c60, 0xc2101537e0, 0xc210135460)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:270 +0x11c
created by github.com/dustin/gomemcached/client.(*Client).StartTapFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:251 +0x215
goroutine 33 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).forwardTapEvents(0xc2100dd940, 0xc210135460, 0xc21005dcc0, 0xc2100fca20, 0x1d)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:101 +0x249
created by github.com/couchbaselabs/go-couchbase.(*TapFeed).connectToNodes
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:93 +0x367
goroutine 470 [select]:
net/http.(*persistConn).writeLoop(0xc211a22880)
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e
goroutine 467 [select]:
github.com/couchbaselabs/sync_gateway/db.func·008()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:121 +0x410
created by github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:128 +0x23d
goroutine 397 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc2126554b0, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc2104ad240, 0xc212658400)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 309 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2118993f0, 0xc210a83000, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2118993f0, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2118993f0, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc21106c0a0, 0xc210981680)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc2123b1500)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 312 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc21259d3c0, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc210424380, 0xc210065400)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 308 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc21259d0f0, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc2112becc0, 0xc210362e00)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 196 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc210364360, 0xc2125506f0, 0x664c, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc210364360, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc210364360, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc210bb6c80, 0xc2124e61a0)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc211982c00)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 463 [select]:
github.com/couchbaselabs/sync_gateway/db.func·008()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:121 +0x410
created by github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:128 +0x23d
goroutine 197 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc210f41fa0, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc210d0d540, 0xc210b3f000)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 394 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2119ede10, 0xc21246fe10, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2119ede10, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2119ede10, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc21019c0a0, 0xc211f9b680)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc211bff780)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 311 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc211899510, 0xc210a83900, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc211899510, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc211899510, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc21106c1e0, 0xc210981b60)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc2123b1600)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 396 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2119edf30, 0xc2126596c0, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2119edf30, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2119edf30, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc21019c5a0, 0xc211f9bb60)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc211bff900)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 310 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc21259d280, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc210424000, 0xc2100ef000)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 307 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2118992d0, 0xc21197f660, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2118992d0, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2118992d0, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc211105f00, 0xc2109811a0)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc2123b1400)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 395 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc2126550f0, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc2120c5f40, 0xc212658000)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 449 [runnable]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2119b8d80, 0xc210de3de0, 0x22e3, 0x0, 0x1, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2119b8d80, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:128 +0x795
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2119b8d80, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc2101001e0, 0xc2124e6750)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc211982480)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 454 [select]:
github.com/couchbaselabs/sync_gateway/db.func·008()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:121 +0x410
created by github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:128 +0x23d
goroutine 448 [IO wait]:
net.runtime_pollWait(0x7f5f107d2e98, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc21233c4c0, 0x72, 0x7f5f13edb0c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc21233c4c0, 0xb, 0x7f5f13edb0c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc21233c460, 0xc210901000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210df7628, 0xc210901000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
net/http.(*liveSwitchReader).Read(0xc2123427a8, 0xc210901000, 0x1000, 0x1000, 0x32, ...)
/usr/local/go/src/pkg/net/http/server.go:204 +0xa5
io.(*LimitedReader).Read(0xc211161be0, 0xc210901000, 0x1000, 0x1000, 0x2, ...)
/usr/local/go/src/pkg/io/io.go:398 +0xbb
bufio.(*Reader).fill(0xc2109dd360)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).ReadSlice(0xc2109dd360, 0xa, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:274 +0x204
bufio.(*Reader).ReadLine(0xc2109dd360, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:305 +0x63
net/textproto.(*Reader).readLineSlice(0xc212659ab0, 0x7f5f13ed2000, 0x8029e0, 0x7f5f10777ce8, 0x421222, ...)
/usr/local/go/src/pkg/net/textproto/reader.go:55 +0x61
net/textproto.(*Reader).ReadLine(0xc212659ab0, 0xc2124e65b0, 0x0, 0xc210902000, 0x0)
/usr/local/go/src/pkg/net/textproto/reader.go:36 +0x27
net/http.ReadRequest(0xc2109dd360, 0xc2124e65b0, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/request.go:526 +0x88
net/http.(*conn).readRequest(0xc212342780, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:575 +0x1bb
net/http.(*conn).serve(0xc212342780)
/usr/local/go/src/pkg/net/http/server.go:1123 +0x3b4
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 389 [select]:
github.com/couchbaselabs/sync_gateway/rest.(*handler).sendSimpleChanges(0xc2119edb40, 0xc212466db0, 0x665d, 0x0, 0x10001, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:173 +0x86b
github.com/couchbaselabs/sync_gateway/rest.(*handler).handleChanges(0xc2119edb40, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/changes_api.go:131 +0x972
github.com/couchbaselabs/sync_gateway/rest.(*handler).invoke(0xc2119edb40, 0xaa2450, 0x0, 0x0)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:159 +0x359
github.com/couchbaselabs/sync_gateway/rest.func·011(0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/handler.go:86 +0x7c
net/http.HandlerFunc.ServeHTTP(0xc210176080, 0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc2101a2640, 0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/vendor/src/github.com/gorilla/mux/mux.go:86 +0x1dc
github.com/couchbaselabs/sync_gateway/rest.func·013(0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/routing.go:179 +0xc8
net/http.HandlerFunc.ServeHTTP(0xc2101351e0, 0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc210181f00, 0x7f5f13ee1f60, 0xc2101abf00, 0xc211be0a90)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc211bff480)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
goroutine 455 [select]:
github.com/couchbaselabs/sync_gateway/db.func·008()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:121 +0x410
created by github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:128 +0x23d
goroutine 390 [semacquire]:
sync.runtime_Syncsemacquire(0xc2100dd990)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xca
sync.(*Cond).Wait(0xc2100dd980)
/usr/local/go/src/pkg/sync/cond.go:62 +0x89
github.com/couchbaselabs/sync_gateway/db.(*changeListener).Wait(0xc2100b18e0, 0xc2119f8e60, 0x2, 0x5, 0xf, ...)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:113 +0x1e7
github.com/couchbaselabs/sync_gateway/db.(*changeWaiter).Wait(0xc2120c5800, 0xc212039a00)
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:174 +0x45
github.com/couchbaselabs/sync_gateway/db.func·010()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:264 +0x936
created by github.com/couchbaselabs/sync_gateway/db.(*Database).MultiChangesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:286 +0x25d
goroutine 459 [select]:
github.com/couchbaselabs/sync_gateway/db.func·008()
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:121 +0x410
created by github.com/couchbaselabs/sync_gateway/db.(*Database).changesFeed
/data/jenkins/workspace/build_sync_gateway_stable_centos-x64/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/changes.go:128 +0x23d
goroutine 469 [runnable]:
net/http.(*persistConn).readLoop(0xc211a22880)
/usr/local/go/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment