YaK:: debugging jsonnet_cgo [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   
[mega_changes]
[photos]

debugging jsonnet_cgo

( See https://github.com/strickyak/jsonnet_cgo/ )

2017/07/07 23:20:20 Finished 280 loops.  This loop 2.474 sec.  Average 2.450 sec per loop.
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 28098 [running]:
github.com/strickyak/jsonnet_cgo.(*VM).NativeCallbackRaw.func3(0x7f83e0474550, 0x7f8330b74af0, 0x4d7450, 0x806461, 0xc4208cf180)
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/jsonnet.go:289 +0x8b
github.com/strickyak/jsonnet_cgo.(*VM).NativeCallbackRaw(0xc4200b8320, 0x56e911, 0x7, 0xc42095dce0, 0x2, 0x2, 0xc4200b8330)
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/jsonnet.go:295 +0x1ec
main.ExercizeOneVM.func9()
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/stress_loop/stress_loop.go:65 +0x83
main.Repeat(0x64, 0xc42095dfb0)
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/stress_loop/stress_loop.go:34 +0x37
main.ExercizeOneVM(0xc4200760c0)
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/stress_loop/stress_loop.go:65 +0x2a5
created by main.main
        /usr/local/google/home/strick/gocode/src/github.com/strickyak/jsonnet_cgo/stress_loop/stress_loop.go:150 +0xf8
panic: runtime error: cgo argument has Go pointer to Go pointer
(unless otherwise marked) Copyright 2002-2014 YakPeople. All rights reserved.
(last modified 2017-07-07)       [Login]
(No back references.)