program turns off with message: signal arrived during external code execution

0

I'm making a product management program using Visual Studio Code on Windows 10 with Golang, html, and MariaDB, etc. Most of them work normally, but sometimes the program ends with the following error message:

Exception 0xc0000005 0x1 0xc000531a08 0x7ffa0fa2561d
PC=0x7ffa0fa2561d
signal arrived during external code execution

syscall.Syscall(0x7ffa0fa25410, 0x1, 0xc0005319f8, 0x0, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.DispatchMessage(0xc0005319f8, 0x0)
        C:/GoWorkSpace/src/github.com/lxn/win/user32.go:2294 +0x88
github.com/sciter-sdk/go-sciter/window.(*Window).Run(0xc0002bd270)
        C:/GoWorkSpace/src/github.com/sciter-sdk/go-sciter/window/window_windows.go:65 +0x54
Heptagon/Embros/mainpage/submenu/product/productlist.ProductList(0x8fb6f0, 0x6, 0xc000184460, 0x18, 0xc000012a10, 0x6, 0xc0003380d0)
        C:/GoWorkSpace/src/Heptagon/Embros/mainpage/submenu/product/productlist/productlist.go:66 +0x285
Heptagon/Embros/mainpage.HeptagonWindow.func7(0xb30070, 0x0, 0x0, 0x0)
        C:/GoWorkSpace/src/Heptagon/Embros/mainpage/Heptagon.go:111 +0x5e
github.com/sciter-sdk/go-sciter.(*eventMapper).toEventHandler.func7(0xc00033d4c0, 0x3a853fe860, 0x0)
        C:/GoWorkSpace/src/github.com/sciter-sdk/go-sciter/wrapper.go:123 +0xc3
github.com/sciter-sdk/go-sciter.goElementEventProc(0x2, 0x0, 0x400, 0x3a853fe860, 0x28)
        C:/GoWorkSpace/src/github.com/sciter-sdk/go-sciter/sciter.go:1479 +0x4bf
github.com/sciter-sdk/go-sciter._cgoexpwrap_bdd04dc8eea4_goElementEventProc(0x2, 0x0, 0x400, 0x3a853fe860, 0x7ff9dd6f10b0)
        _cgo_gotypes.go:2086 +0x50
syscall.Syscall(0x7ffa0fa25410, 0x1, 0xc00012de68, 0x0, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.DispatchMessage(0xc00012de68, 0x0)
        C:/GoWorkSpace/src/github.com/lxn/win/user32.go:2294 +0x88
github.com/sciter-sdk/go-sciter/window.(*Window).Run(0xc000068780)
        C:/GoWorkSpace/src/github.com/sciter-sdk/go-sciter/window/window_windows.go:65 +0x54
Heptagon/Embros/loginpages.Login(0x8fb6f0, 0x6)
        C:/GoWorkSpace/src/Heptagon/Embros/loginpages/loginpages.go:88 +0x54a
main.main()
        C:/GoWorkSpace/src/Heptagon/Embros/main.go:11 +0x3d
rax     0x0
rbx     0x1722fb9bea0
rcx     0x1722f1d1040
rdi     0x7ff9dd448800
rsi     0xc0005319f8
rbp     0xc000531928
rsp     0x3a853fe490
r8      0x3a853fe390
r9      0x16601ec
r10     0x86102c
r11     0x3a853fe460
r12     0x8e37f7
r13     0x0
r15     0x0
rip     0x7ffa0fa2561d
rflags  0x10246
cs      0x33
fs      0x53
gs      0x2b
exit status 2

Even if I do the same thing, sometimes the program turns off and sometimes it works normally, so I don't know what this means. This usually occurs when you recall the entire screen or click one of the product lists to retrieve the details.

What should I know and where should I focus to solve this error? I hope my English is not difficult to understand :)

go
debugging
mariadb
signals

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0