sciter-sdk / go-sciter

Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development
https://sciter.com
2.57k stars 268 forks source link

Exception 0xc0000005 0x8 0x0 0x0 #328

Open zoulee24 opened 2 years ago

zoulee24 commented 2 years ago

API server listening at: 127.0.0.1:12420 Exception 0xc0000005 0x8 0x0 0x0 PC=0x0 signal arrived during external code execution runtime.cgocall(0xc34eb6, 0xc00007fcc0) C:/Program Files/Go/src/runtime/cgocall.go:156 +0x4a fp=0xc00007fc70 sp=0xc00007fc38 pc=0xb6440a github.com/sciter-sdk/go-sciter._Cfunc_SciterCreateWindow(0x296, 0xc3a600, 0xbc640a, 0x0, 0x0) _cgo_gotypes.go:989 +0x5b fp=0xc00007fcc0 sp=0xc00007fc70 pc=0xc296bb github.com/sciter-sdk/go-sciter.CreateWindow.func1(0x296, 0xc3a600, 0xbc640a, 0x0, 0x0) C:/code/go/serial-jlc/third-part/src/github.com/sciter-sdk/go-sciter/sciter_windows.go:51 +0xd9 f p=0xc00007fd40 sp=0xc00007fcc0 pc=0xc2dbd9 github.com/sciter-sdk/go-sciter.CreateWindow(0x296, 0xc3a600, 0xbc640a, 0x0, 0x0) C:/code/go/serial-jlc/third-part/src/github.com/sciter-sdk/go-sciter/sciter_windows.go:51 +0x8e f p=0xc00007fdb8 sp=0xc00007fd40 pc=0xc2da6e github.com/sciter-sdk/go-sciter/window.New(0x296, 0x0) C:/code/go/serial-jlc/third-part/src/github.com/sciter-sdk/go-sciter/window/window_windows.go:24 +0xa7 fp=0xc00007fe80 sp=0xc00007fdb8 pc=0xc30947 main.main() C:/code/go/serial-jlc/third-part/src/github.com/sciter-sdk/go-sciter/examples/demoes/01/demo1.go: 20 +0x45 fp=0xc00007ff80 sp=0xc00007fe80 pc=0xc30f45 runtime.main() C:/Program Files/Go/src/runtime/proc.go:255 +0x1d7 fp=0xc00007ffe0 sp=0xc00007ff80 pc=0xb9ab57
runtime.goexit() C:/Program Files/Go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00007ffe8 sp=0xc00007ffe0 pc=0xbc2e01 rax 0x0 rbx 0xc00007fcc0 rcx 0x296 rdi 0xc00007fcc0 rsi 0xd0ace0 rbp 0x70b27ffb20 rsp 0x70b27ffae8 r8 0xbc640a r9 0x0 r10 0x0 r11 0x70b27ff780 r12 0xc00007fc68 r13 0x0 r14 0xc000042000 r15 0x20 rip 0x0 rflags 0x10202 cs 0x33 fs 0x53 gs 0x2b

taodongl commented 2 years ago

take a look at https://github.com/sciter-sdk/go-sciter/issues/297 you need old sciter release if you are using golang-binding. because pull-request is waiting for review