Has anyone had luck building/running heka with golang 1.6? FYI, this code does 
use my custom golang plugin — but that plugin worked with heka 0.10b and golang 
1.5.

I built a new docker container with heka 0.10 stable and golang 1.6 and I’m 
getting the following runtime crash:

2016/02/25 19:53:37 Pre-loading: [ElasticSearchOutput]
2016/02/25 19:53:37 Pre-loading: [ScampInput]
2016/02/25 19:53:37 Pre-loading: [LogPayloadDecoder]
2016/02/25 19:53:37 Pre-loading: [StatAccumInput]
2016/02/25 19:53:37 Pre-loading: [Dashboard]
2016/02/25 19:53:37 Pre-loading: [ESJsonEncoder]
2016/02/25 19:53:37 Pre-loading: [ProtobufDecoder]
2016/02/25 19:53:37 Loading: [ProtobufDecoder]
2016/02/25 19:53:37 Pre-loading: [ProtobufEncoder]
2016/02/25 19:53:37 Loading: [ProtobufEncoder]
2016/02/25 19:53:37 Pre-loading: [TokenSplitter]
2016/02/25 19:53:37 Loading: [TokenSplitter]
2016/02/25 19:53:37 Pre-loading: [HekaFramingSplitter]
2016/02/25 19:53:37 Loading: [HekaFramingSplitter]
2016/02/25 19:53:37 Pre-loading: [NullSplitter]
2016/02/25 19:53:37 Loading: [NullSplitter]
2016/02/25 19:53:37 Loading: [LogPayloadDecoder]
2016/02/25 19:53:37 Loading: [ESJsonEncoder]
2016/02/25 19:53:37 Loading: [ScampInput]
2016/02/25 19:53:37 Loading: [StatAccumInput]
2016/02/25 19:53:37 Loading: [ElasticSearchOutput]
2016/02/25 19:53:37 Loading: [Dashboard]
2016/02/25 19:53:37 Starting hekad...
2016/02/25 19:53:37 Output started: ElasticSearchOutput
2016/02/25 19:53:37 Output started: Dashboard
2016/02/25 19:53:37 MessageRouter started.
2016/02/25 19:53:37 Input started: ScampInput
2016/02/25 19:53:37 Input started: StatAccumInput
INFO: 2016/02/25 19:53:37 service.go:112: starting service on 0.0.0.0:30100
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 38 [running]:
panic(0xaf0840, 0xc82010b130)
        /usr/local/go/src/runtime/panic.go:464 +0x3e6
github.com/mozilla-services/heka/sandbox/lua._cgoCheckPointer0(0x9ce3e0, 
0xc82020e440, 0x0, 0x0, 0x0, 0x7f85b0000900)
        github.com/mozilla-services/heka/sandbox/lua/_obj/_cgo_gotypes.go:65 
+0x4d
github.com/mozilla-services/heka/sandbox/lua.CreateLuaSandbox(0xc820fc9b80, 
0x0, 0x0, 0x0, 0x0)
        
/heka/build/heka/src/github.com/mozilla-services/heka/sandbox/lua/lua_sandbox.go:697
 +0x92a
github.com/mozilla-services/heka/sandbox/plugins.(*SandboxDecoder).SetDecoderRunner(0xc820fbd4a0,
 0x7f85c2d8e6a8, 0xc820fc6f30)
        
/heka/build/heka/src/github.com/mozilla-services/heka/sandbox/plugins/sandbox_decoder.go:152
 +0x120
github.com/mozilla-services/heka/pipeline.(*dRunner).Start(0xc820fc6f30, 
0x7f85c2d953c8, 0xc820128000, 0xc8201280a0)
        
/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:624
 +0x160
github.com/mozilla-services/heka/pipeline.(*PipelineConfig).DecoderRunner(0xc820128000,
 0xc82011cea0, 0x11, 0xc820fd5500, 0x1c, 0x7f85c2d8e6a8, 0xc820fc6f30, 0x1)
        
/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/config.go:324 
+0x358
github.com/mozilla-services/heka/pipeline.(*iRunner).getDeliverFunc(0xc820114a00,
 0x0, 0x0, 0x459360, 0x0, 0x0, 0x0, 0x0)
        
/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:452
 +0x545
github.com/mozilla-services/heka/pipeline.(*iRunner).Deliver.func1()
        
/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:530
 +0x31
sync.(*Once).Do(0xc820114b00, 0xc8210a7c08)
        /usr/local/go/src/sync/once.go:44 +0xe4
github.com/mozilla-services/heka/pipeline.(*iRunner).Deliver(0xc820114a00, 
0xc820076500)
        
/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:531
 +0x7b
github.com/gudtech/heka-scamp.(*SCAMPInputPlugin).Run.func1(0xc820fd33b0, 
0xc820ef6040)
        /heka/build/heka/src/github.com/gudtech/heka-scamp/scamp_service.go:76 
+0x4cc
github.com/gudtech/scamp-go/scamp.(*Service).Handle(0xc8200da000, 0xc820ef6040)
        /heka/build/heka/src/github.com/gudtech/scamp-go/scamp/service.go:181 
+0x2ca
created by github.com/gudtech/scamp-go/scamp.(*Service).Run
        /heka/build/heka/src/github.com/gudtech/scamp-go/scamp/service.go:164 
+0x2a7
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to