PANIC runtime error slice bounds out of range usr local Cellar go libe

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
PANIC
runtime error: slice bounds out of range
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/panic.c:552 (0x1346d)
panicstring: runtime·panic(err);
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/panic.c:472 (0x13197)
panicslice: runtime·panicstring("slice bounds out of range");
/Users/romanbratchenko/WebStormProjects/web/src/g4m/app/handlers/marketplace.go:108 (0x1df463)
Index: pipeline.Tops = pipeline.Collections[implementation.GuideSortingFeatured][:indexTopsLength]
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/asm_amd64.s:362 (0x2e412)
call64: CALLFN(call64, 64)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:563 (0x17b030)
Value.call: call(fn, args, uint32(frametype.size), uint32(retOffset))
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:411 (0x179cd7)
Value.Call: return v.call("Call", in)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/inject/inject.go:98 (0x2df747)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
:27 (0xd3b32)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/router.go:264 (0xd21e4)
(*routeContext).run: vals, err := r.Invoke(handler)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/router.go:186 (0xd1a8e)
(*route).Handle: context.run()
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/router.go:90 (0xd0d32)
(*router).Handle: route.Handle(context, res)
/Users/romanbratchenko/WebStormProjects/web/src/g4m/cmd/app/main.go:199 (0x3e8a)
Router.Handle.fm: app.Action(r.Handle)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/asm_amd64.s:362 (0x2e412)
call64: CALLFN(call64, 64)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:563 (0x17b030)
Value.call: call(fn, args, uint32(frametype.size), uint32(retOffset))
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:411 (0x179cd7)
Value.Call: return v.call("Call", in)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/inject/inject.go:98 (0x2df747)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:152 (0xcf1bf)
(*context).run: _, err := c.Invoke(c.handlers[c.index])
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:143 (0xcf0b2)
(*context).Next: c.run()
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/recovery.go:134 (0xd2926)
func.004: c.Next()
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/asm_amd64.s:362 (0x2e412)
call64: CALLFN(call64, 64)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:563 (0x17b030)
Value.call: call(fn, args, uint32(frametype.size), uint32(retOffset))
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:411 (0x179cd7)
Value.Call: return v.call("Call", in)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/inject/inject.go:98 (0x2df747)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:152 (0xcf1bf)
(*context).run: _, err := c.Invoke(c.handlers[c.index])
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:143 (0xcf0b2)
(*context).Next: c.run()
/Users/romanbratchenko/WebStormProjects/web/src/g4m/app/middlewares.go:47 (0x4f6a4)
func.002: c.Next()
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/asm_amd64.s:362 (0x2e412)
call64: CALLFN(call64, 64)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:563 (0x17b030)
Value.call: call(fn, args, uint32(frametype.size), uint32(retOffset))
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/reflect/value.go:411 (0x179cd7)
Value.Call: return v.call("Call", in)
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/inject/inject.go:98 (0x2df747)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:152 (0xcf1bf)
(*context).run: _, err := c.Invoke(c.handlers[c.index])
/Users/romanbratchenko/WebStormProjects/web/src/github.com/codegangsta/martini/martini.go:68 (0xce6d3)
(*Martini).ServeHTTP: m.createContext(res, req).run()
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1673 (0x11b67f)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1174 (0x11921e)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/proc.c:1445 (0x171e0)
goexit: runtime·goexit(void)