Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StoryPlayer</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StoryPlayer</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/jquery.validate.min.js"></script>
<script src="/js/additional-methods.min.js"></script>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
fatal error: runtime: out of memory
goroutine 31 [running]:
[fp=0x7fe682bf5858] runtime.throw(0xc4d9b7)
/home/nico/go/src/pkg/runtime/panic.c:473 +0x67
[fp=0x7fe682bf5888] runtime.SysMap(0xc23cef0000, 0x12740000)
/home/nico/go/src/pkg/runtime/mem_linux.c:121 +0xec
[fp=0x7fe682bf58c8] runtime.MHeap_SysAlloc(0x7fe672471000, 0x12740000)
/home/nico/go/src/pkg/runtime/zmalloc_linux_amd64.c:360 +0x142
[fp=0x7fe682bf5908] MHeap_Grow(0x7fe672471000, 0x12740)
^Cstoryplayer: storyplayer-server> sync_gateway -log=Access sync_gateway.json (master:026fb2a04:59:06.919845 Enabling logging: [CRUD REST REST+]
04:59:06.920239 Enabling logging: [Access]
04:59:06.920590 Opening Couchbase database sync_gateway on <http://localhost:8091>
04:59:07.013524 Connected to <http://localhost:8091>, pool default, bucket sync_gateway
^\SIGQUIT: quit
PC=0x424643
goroutine 1 [select]:
net/http.(*persistConn).roundTrip(0xc2002b9300, 0xc200392680, 0xc2002b9300, 0x0, 0x0, ...)
{"_id":"28C9ED30-C45C-45E0-92F2-06FECE62EDA5","_rev":"7-d44f45620a7f54cea7cbfb2110dfa181","authors":["AA1A7E55-FA75-4783-8D02-9BAB13188017"],"editor":"CCDAD152-7A05-4278-9580-F6807929A24A","model_type":"Story","pageCount":5,"pages":["6F64DC63-7E07-4CA0-BBCF-16B302D35A4F","8C5C321E-5036-450D-AA0F-71FD88336FC6","ABB08ABF-3663-4865-8C76-DDEF6438FBB3","9E8D8ACF-F34F-46B9-862A-B27B89F461F9","95AAAFB7-8F57-413F-8EBA-F9B31B8C787C"],"title":"untitled folder","publicationStatus":1,"_attachments":{"background":{"content_type":"image/png","revpos":1,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"background@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"detail":{"content_type":"image/png","revpos":6,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"detail@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"main":{"content_type":"image/png","revpos":6,"di
{"_id":"28C9ED30-C45C-45E0-92F2-06FECE62EDA5","_rev":"7-d44f45620a7f54cea7cbfb2110dfa181","authors":["AA1A7E55-FA75-4783-8D02-9BAB13188017"],"editor":"CCDAD152-7A05-4278-9580-F6807929A24A","model_type":"Story","pageCount":5,"pages":["6F64DC63-7E07-4CA0-BBCF-16B302D35A4F","8C5C321E-5036-450D-AA0F-71FD88336FC6","ABB08ABF-3663-4865-8C76-DDEF6438FBB3","9E8D8ACF-F34F-46B9-862A-B27B89F461F9","95AAAFB7-8F57-413F-8EBA-F9B31B8C787C"],"title":"untitled folder","publicationStatus":1,"_attachments":{"background":{"content_type":"image/png","revpos":1,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"background@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"detail":{"content_type":"image/png","revpos":6,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"detail@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"main":{"content_type":"image/png","revpos":6,"di
{"_id":"28C9ED30-C45C-45E0-92F2-06FECE62EDA5","_rev":"7-d44f45620a7f54cea7cbfb2110dfa181","authors":["AA1A7E55-FA75-4783-8D02-9BAB13188017"],"editor":"CCDAD152-7A05-4278-9580-F6807929A24A","model_type":"Story","pageCount":5,"pages":["6F64DC63-7E07-4CA0-BBCF-16B302D35A4F","8C5C321E-5036-450D-AA0F-71FD88336FC6","ABB08ABF-3663-4865-8C76-DDEF6438FBB3","9E8D8ACF-F34F-46B9-862A-B27B89F461F9","95AAAFB7-8F57-413F-8EBA-F9B31B8C787C"],"title":"untitled folder","publicationStatus":1,"_attachments":{"background":{"content_type":"image/png","revpos":1,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"background@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"detail":{"content_type":"image/png","revpos":6,"digest":"md5-a8c8RVigQpK2zJlKq8aaLw==","length":105701,"stub":true},"detail@2x":{"content_type":"image/png","revpos":6,"digest":"md5-xYYrNjXQSK6Y2SrunFaVLA==","length":311028,"stub":true},"main":{"content_type":"image/png","revpos":6,"di
[{"pid":"<0.12533.0>","limit":4,"running":1,"started_on":1372276223,"type":"couch_main_index_barrier","updated_on":1372306292,"waiting":0},{"pid":"<0.12534.0>","limit":2,"running":0,"started_on":1372276223,"type":"couch_replica_index_barrier","updated_on":1372276223,"waiting":0},{"pid":"<0.14982.1>","design_documents":["_design/sync_gateway"],"indexer_type":"main","set":"sync_gateway","signature":"a2f825658fd047b24dd9a72ccebe4d3f","started_on":1372277578,"type":"blocked_indexer","updated_on":1372277578},{"pid":"<0.10366.2>","design_documents":["_design/sync_gateway"],"indexer_type":"main","set":"sync_gateway","signature":"a2f825658fd047b24dd9a72ccebe4d3f","started_on":1372278868,"type":"blocked_indexer","updated_on":1372278868},{"pid":"<0.27240.2>","design_documents":["_design/sync_gateway"],"indexer_type":"main","set":"sync_gateway","signature":"a2f825658fd047b24dd9a72ccebe4d3f","started_on":1372279618,"type":"blocked_indexer","updated_on":1372279618},{"pid":"<0.15395.3>","design_documents":["_design/sync_ga
19:54:02.784404 HTTP: #1185: GET /sync_gateway/_local/1cb117ca82e6171af29db216ac50b9470986bb20 (as %!s(func() string=0x436e30))
19:54:02.784517 HTTP: #1185: --> 404 missing
19:54:02.787077 HTTP: #1184: GET /sync_gateway/_local/1cb117ca82e6171af29db216ac50b9470986bb20 (as %!s(func() string=0x436e30))
19:54:02.787226 HTTP: #1184: --> 404 missing
19:54:02.913452 HTTP: #1186: GET /sync_gateway/_changes?feed=normal&heartbeat=300000&style=all_docs&limit=100&filter=sync_gateway/bychannel&channels=B5ED4978-99D5-4484-A840-F5F4A51F6347,3fcca00f7905ec982916b4b00203c015,F95D327B-2175-4261-B4A0-B848C981E336,protected (as %!s(func() string=0x436e30))
19:54:02.915064 HTTP: #1187: GET /sync_gateway/_changes?feed=normal&heartbeat=300000&style=all_docs&limit=100&filter=sync_gateway/bychannel&channels=B5ED4978-99D5-4484-A840-F5F4A51F6347,3fcca00f7905ec982916b4b00203c015,F95D327B-2175-4261-B4A0-B848C981E336,protected (as %!s(func() string=0x436e30))
panic: runtime error: slice bounds out of range
goroutine 146
19:59:13.429487 HTTP: #345: PUT /sync_gateway/_local/f50f4f4287725c51776e99889f6e732433019949 (as %!s(func() string=0x436e30))
19:59:13.485363 HTTP: #346: GET /sync_gateway/_local/ff43b3aa262f21cd95b7d69758fee47a6591a5f2 (as %!s(func() string=0x436e30))
19:59:13.485476 HTTP: #346: --> 404 missing
19:59:13.665210 HTTP: #347: GET /sync_gateway/_changes?feed=normal&heartbeat=300000&style=all_docs&limit=100&filter=sync_gateway/bychannel&channels=B52C147F-5BD7-4324-B3B5-4C6B778B2867,AB3A5725-563E-4FEE-9CF5-799FEB0E3EBA,938221C2-1DA6-4173-B705-920339B00F7B,AAE8DE40-A3CE-43BB-8A75-F1640267E202,3fcca00f7905ec982916b4b00203c015,protected (as %!s(func() string=0x436e30))
panic: runtime error: index out of range
goroutine 137 [running]:
code.google.com/p/go.exp/locale/collate.(*iter).next(0xc200164060, 0x7f884fa076f8)
/home/nico/sync_gateway/vendor/src/code.google.com/p/go.exp/locale/collate/collate.go:370 +0x2cd
code.google.com/p/go.exp/locale/collate.(*iter).nextPrimary(0xc200164060, 0x72a8a0)