Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build and run all examples on Win7-32bit #348

Open
hutucha opened this issue Oct 17, 2023 · 0 comments
Open

Can't build and run all examples on Win7-32bit #348

hutucha opened this issue Oct 17, 2023 · 0 comments

Comments

@hutucha
Copy link

hutucha commented Oct 17, 2023

Win7-32bit \ go V1.20.7 \ go-Sciter V0.5 \minGW32-GCC V7.2
Can't build and run all examples on Win7-32bit
(Maybe someone should upgrade the code of go-Sciter)

The compilation information is as follows:
H:\single>go run simple.go

command-line-arguments

Warning: resolving _ElementEventProc_cgo by linking to _ElementEventProc_cgo@16
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _LPCBYTE_RECEIVER_cgo by linking to _LPCBYTE_RECEIVER_cgo@12
Warning: resolving _LPCSTR_RECEIVER_cgo by linking to _LPCSTR_RECEIVER_cgo@12
Warning: resolving _LPCWSTR_RECEIVER_cgo by linking to _LPCWSTR_RECEIVER_cgo@12
Warning: resolving _SciterElementCallback_cgo by linking to _SciterElementCallba
ck_cgo@8
Warning: resolving _SciterHostCallback_cgo by linking to _SciterHostCallback_cgo@8
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
signal arrived during external code execution

runtime.cgocall(0x1d9f20, 0xa0b1f2c)
h:/go120/src/runtime/cgocall.go:157 +0x58 fp=0xa0b1f18 sp=0xa0b1f00 pc=0x123e78
github.com/sciter-sdk/go-sciter._Cfunc_SciterCreateWindow(0x296, 0x1df7e0, 0x180ac5, 0x0, 0x0)
_cgo_gotypes.go:501 +0x3b fp=0xa0b1f2c sp=0xa0b1f18 pc=0x1d3feb
github.com/sciter-sdk/go-sciter.CreateWindow.func1(0x296, 0x1df7e0, 0x180ac5, 0x0, 0x0)
C:/Users/Administrator/go/pkg/mod/github.com/sciter-sdk/[email protected]
/sciter_windows.go:51 +0xa1 fp=0xa0b1f50 sp=0xa0b1f2c pc=0x1d64e1
github.com/sciter-sdk/go-sciter.CreateWindow(0x296, 0x0, 0x180ac5, 0x0, 0x0)
C:/Users/Administrator/go/pkg/mod/github.com/sciter-sdk/[email protected]
/sciter_windows.go:51 +0x4b fp=0xa0b1f6c sp=0xa0b1f50 pc=0x1d640b
github.com/sciter-sdk/go-sciter/window.New(0x296, 0x0)
C:/Users/Administrator/go/pkg/mod/github.com/sciter-sdk/[email protected]
/window/window_windows.go:24 +0x86 fp=0xa0b1fa0 sp=0xa0b1f6c pc=0x1d7a86main.main()
H:/focus-single/simple.go:11 +0x2d fp=0xa0b1fc4 sp=0xa0b1fa0 pc=0x1d7ddd

runtime.main()
h:/go120/src/runtime/proc.go:250 +0x22e fp=0xa0b1ff0 sp=0xa0b1fc4 pc=0x157a7e
runtime.goexit()
h:/go120/src/runtime/asm_386.s:1326 +0x1 fp=0xa0b1ff4 sp=0xa0b1ff0 pc=0x17eee1
goroutine 2 [force gc (idle)]:
runtime.gopark(0x220888, 0x2bc568, 0x11, 0x14, 0x1)
h:/go120/src/runtime/proc.go:381 +0xff fp=0xa02dfdc sp=0xa02dfc8 pc=0x157eaf
runtime.goparkunlock(...)
h:/go120/src/runtime/proc.go:387
runtime.forcegchelper()
h:/go120/src/runtime/proc.go:305 +0xcf fp=0xa02dff0 sp=0xa02dfdc pc=0x157cdf
runtime.goexit()
h:/go120/src/runtime/asm_386.s:1326 +0x1 fp=0xa02dff4 sp=0xa02dff0 pc=0x17eee1
created by runtime.init.5
h:/go120/src/runtime/proc.go:293 +0x23

goroutine 3 [GC sweep wait]:
runtime.gopark(0x220888, 0x2bc660, 0xc, 0x14, 0x1)
h:/go120/src/runtime/proc.go:381 +0xff fp=0xa02efcc sp=0xa02efb8 pc=0x157eaf
runtime.goparkunlock(...)
h:/go120/src/runtime/proc.go:387
runtime.bgsweep(0xa0140c0)
h:/go120/src/runtime/mgcsweep.go:278 +0x96 fp=0xa02efe8 sp=0xa02efcc pc=0x142f96
runtime.gcenable.func1()
h:/go120/src/runtime/mgc.go:178 +0x27 fp=0xa02eff0 sp=0xa02efe8 pc=0x1354d7
runtime.goexit()
h:/go120/src/runtime/asm_386.s:1326 +0x1 fp=0xa02eff4 sp=0xa02eff0 pc=0x17eee1
created by runtime.gcenable
h:/go120/src/runtime/mgc.go:178 +0x7c

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x220888, 0x2bc720, 0xd, 0x14, 0x2)
h:/go120/src/runtime/proc.go:381 +0xff fp=0xa02ffb8 sp=0xa02ffa4 pc=0x157eaf
runtime.goparkunlock(...)
h:/go120/src/runtime/proc.go:387
runtime.(*scavengerState).park(0x2bc720)
h:/go120/src/runtime/mgcscavenge.go:400 +0x5f fp=0xa02ffcc sp=0xa02ffb8pc=0x14096f
runtime.bgscavenge(0xa0140c0)
h:/go120/src/runtime/mgcscavenge.go:628 +0x4b fp=0xa02ffe8 sp=0xa02ffccpc=0x140feb
runtime.gcenable.func2()
h:/go120/src/runtime/mgc.go:179 +0x27 fp=0xa02fff0 sp=0xa02ffe8 pc=0x135497
runtime.goexit()
h:/go120/src/runtime/asm_386.s:1326 +0x1 fp=0xa02fff4 sp=0xa02fff0 pc=0x17eee1
created by runtime.gcenable
h:/go120/src/runtime/mgc.go:179 +0xc1

goroutine 18 [finalizer wait]:
runtime.gopark(0x2207d8, 0x2e1164, 0x10, 0x14, 0x1)
h:/go120/src/runtime/proc.go:381 +0xff fp=0xa02cf94 sp=0xa02cf80 pc=0x157eaf
runtime.runfinq()
h:/go120/src/runtime/mfinal.go:193 +0xf4 fp=0xa02cff0 sp=0xa02cf94 pc=0x134664
runtime.goexit()
h:/go120/src/runtime/asm_386.s:1326 +0x1 fp=0xa02cff4 sp=0xa02cff0 pc=0x17eee1
created by runtime.createfing
h:/go120/src/runtime/mfinal.go:163 +0x60
eax 0x0
ebx 0xa0b1f2c
ecx 0x5b770000
edx 0x0
edi 0xa0b2000
esi 0x2bc7a0
ebp 0x2bca40
esp 0x6bf72c
eip 0x0
eflags 0x10202
cs 0x1b
fs 0x3b
gs 0x0
exit status 2
(----Ending----)

Same situation:
Win7-32bit \ go V1.20.7 \ go-Sciter V0.5 \TDM-GCC V10.30
Can't build and run all examples on Win7-32bit
Complier give a prompt message: Can't find "view"

@hutucha hutucha changed the title Can't build and run the all examples on Win7-32bit Can't build and run all examples on Win7-32bit Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant