Cgo JNI Exception 0xc0000005 0x0 0x0 0x3fe03b6 PC=0x3fe03b6 signal arrived during external code execution

-3

Go JNI Exception 0xc0000005 signal arrived during external code execution

I have encountered a similar problem, how can I solve it? I can use Go to call C normally, but JNI doesn't work.

Exception 0xc0000005 0x0 0x0 0x3fe03b6
PC=0x3fe03b6
signal arrived during external code execution

syscall.Syscall(0x7ffa0feb1163, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
D:/Program Files/Go/src/runtime/syscall_windows.go:172 +0xf9
syscall.(*Proc).Call(0xc000056440, 0x0, 0x0, 0x0, 0x30, 0x4ca100,         
0x565301, 0xc000072240)
D:/Program Files/Go/src/syscall/dll_windows.go:144 +0x90
syscall.(*LazyProc).Call(0xc000072240, 0x0, 0x0, 0x0, 0xc000083f28, 
0x40bcdf, 0x10, 0x4c1040)
D:/Program Files/Go/src/syscall/dll_windows.go:302 +0x66
main.main()
xxx.go:21 +0xd5
rax     0x6
rbx     0x2100800
rcx     0xcafebabe
rdi     0x1
rsi     0x0
rbp     0x6cc0b4c0
rsp     0x8df248
r8      0x3fe047b
r9      0x8df410
r10     0x2
r11     0x8df580
r12     0x3d8
r13     0x4c7ac0
r14     0x0
r15     0x0
rip     0x3fe03b6
rflags  0x210246
cs      0x33
fs      0x53
gs      0x2b

Process finished with exit code 2
java
c
go
java-native-interface
cgo
asked on Stack Overflow Aug 26, 2019 by yongguangl • edited Aug 26, 2019 by yongguangl

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0