github.com/pebbe/zmq4 run出错, build和install正常
package main
import ( "fmt" _ "github.com/pebbe/zmq4" )
func main() {
fmt.Println("0MQ TEST")
}
Exception 0xc0000005 0x0 0x87522bd 0x560104 PC=0x560104 signal arrived
during cgo executiongithub.com/pebbe/zmq4._C2func_zmq_ctx_new(0x0, 0x0, 0x0)
E:/ZLTest/GoTest/lib/src/github.com/pebbe/zmq4/:170 +0x57
github.com/pebbe/zmq4.init·1()
E:/ZLTest/GoTest/lib/src/github.com/pebbe/zmq4/zmq4.go:74 +0x65
github.com/pebbe/zmq4.init()
E:/ZLTest/GoTest/lib/src/github.com/pebbe/zmq4/zmq4.go:1017 +0x282
main.init() E:/ZLTest/GoTest/t1/src/1/main.go:11 +0x3fgoroutine 2 [runnable]: runtime.forcegchelper()
c:/go/src/runtime/proc.go:90 runtime.goexit()
c:/go/src/runtime/asm_386.s:2287 +0x1goroutine 3 [runnable]: runtime.bgsweep() c:/go/src/runtime/mgc0.go:82
runtime.goexit() c:/go/src/runtime/asm_386.s:2287 +0x1goroutine 17 [syscall, locked to thread]: runtime.goexit()
c:/go/src/runtime/asm_386.s:2287 +0x1goroutine 4 [runnable]: runtime.runfinq()
c:/go/src/runtime/malloc.go:712 runtime.goexit()
c:/go/src/runtime/asm_386.s:2287 +0x1 eax 0x4acde0 ebx 0x11ee7f5c ecx
0x57a960 edx 0x11ee7f1c edi 0xe4 esi 0x572c00 ebp 0x572e20 esp
0x18feac eip 0x560104 eflags 0x10202 cs 0x23 fs 0x53 gs 0x2b 错误:
进程退出代码 2.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论