[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
HelloSciter: ../../src/xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
SIGABRT: abort
PC=0x7f651748983c m=0 sigcode=18446744073709551610
signal arrived during cgo execution
[xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. HelloSciter: ../../src/xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. SIGABRT: abort PC=0x7f651748983c m=0 sigcode=18446744073709551610 signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]: runtime.cgocall(0x581510, 0xc000119f40) /usr/lib/go-1.19/src/runtime/cgocall.go:158 +0x5c fp=0xc000119f18 sp=0xc000119ee0 pc=0x40bd1c github.com/getlantern/systray._Cfunc_nativeLoop() _cgo_gotypes.go:140 +0x48 fp=0xc000119f40 sp=0xc000119f18 pc=0x56f468 github.com/getlantern/systray.nativeLoop(...) /home/kali/go/pkg/mod/github.com/getlantern/systray@v1.2.1/systray_nonwindows.go:18 github.com/getlantern/systray.Run(0x59d180?, 0xc0000061a0?) /home/kali/go/pkg/mod/github.com/getlantern/systray@v1.2.1/systray.go:78 +0x1f fp=0xc000119f60 sp=0xc000119f40 pc=0x56ea9f main.main() /home/kali/go/src/HelloSciter/main.go:14 +0x27 fp=0xc000119f80 sp=0xc000119f60 pc=0x580d07 runtime.main() /usr/lib/go-1.19/src/runtime/proc.go:250 +0x212 fp=0xc000119fe0 sp=0xc000119f80 pc=0x43fc12 runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000119fe8 sp=0xc000119fe0 pc=0x46c581
goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go-1.19/src/runtime/proc.go:363 +0xd6 fp=0xc00003cfb0 sp=0xc00003cf90 pc=0x43ffd6 runtime.goparkunlock(...) /usr/lib/go-1.19/src/runtime/proc.go:369 runtime.forcegchelper() /usr/lib/go-1.19/src/runtime/proc.go:302 +0xad fp=0xc00003cfe0 sp=0xc00003cfb0 pc=0x43fe6d runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003cfe8 sp=0xc00003cfe0 pc=0x46c581 created by runtime.init.6 /usr/lib/go-1.19/src/runtime/proc.go:290 +0x25
goroutine 3 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go-1.19/src/runtime/proc.go:363 +0xd6 fp=0xc00003d790 sp=0xc00003d770 pc=0x43ffd6 runtime.goparkunlock(...) /usr/lib/go-1.19/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/lib/go-1.19/src/runtime/mgcsweep.go:278 +0x8e fp=0xc00003d7c8 sp=0xc00003d790 pc=0x42c82e runtime.gcenable.func1() /usr/lib/go-1.19/src/runtime/mgc.go:178 +0x26 fp=0xc00003d7e0 sp=0xc00003d7c8 pc=0x4216e6 runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003d7e8 sp=0xc00003d7e0 pc=0x46c581 created by runtime.gcenable /usr/lib/go-1.19/src/runtime/mgc.go:178 +0x6b
goroutine 4 [GC scavenge wait]: runtime.gopark(0xc000064000?, 0x630510?, 0x1?, 0x0?, 0x0?) /usr/lib/go-1.19/src/runtime/proc.go:363 +0xd6 fp=0xc00003df70 sp=0xc00003df50 pc=0x43ffd6 runtime.goparkunlock(...) /usr/lib/go-1.19/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x74d540) /usr/lib/go-1.19/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00003dfa0 sp=0xc00003df70 pc=0x42a8d3 runtime.bgscavenge(0x0?) /usr/lib/go-1.19/src/runtime/mgcscavenge.go:617 +0x45 fp=0xc00003dfc8 sp=0xc00003dfa0 pc=0x42aea5 runtime.gcenable.func2() /usr/lib/go-1.19/src/runtime/mgc.go:179 +0x26 fp=0xc00003dfe0 sp=0xc00003dfc8 pc=0x421686 runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003dfe8 sp=0xc00003dfe0 pc=0x46c581 created by runtime.gcenable /usr/lib/go-1.19/src/runtime/mgc.go:179 +0xaa
goroutine 5 [finalizer wait]: runtime.gopark(0x74dac0?, 0xc000007860?, 0x0?, 0x0?, 0xc00003c770?) /usr/lib/go-1.19/src/runtime/proc.go:363 +0xd6 fp=0xc00003c628 sp=0xc00003c608 pc=0x43ffd6 runtime.goparkunlock(...) /usr/lib/go-1.19/src/runtime/proc.go:369 runtime.runfinq() /usr/lib/go-1.19/src/runtime/mfinal.go:180 +0x10f fp=0xc00003c7e0 sp=0xc00003c628 pc=0x4207ef runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003c7e8 sp=0xc00003c7e0 pc=0x46c581 created by runtime.createfing /usr/lib/go-1.19/src/runtime/mfinal.go:157 +0x45
goroutine 10 [syscall]: runtime.cgocall(0x5831e0, 0xc00003fdc8) /usr/lib/go-1.19/src/runtime/cgocall.go:158 +0x5c fp=0xc00003fda0 sp=0xc00003fd68 pc=0x40bd1c github.com/sciter-sdk/go-sciter._Cfunc_SciterLoadFile(0x7f64d80f90f0, 0xc0000a00c0) _cgo_gotypes.go:1576 +0x4c fp=0xc00003fdc8 sp=0xc00003fda0 pc=0x570e8c github.com/sciter-sdk/go-sciter.(Sciter).LoadFile.func1(0x0?, {0x5db591?, 0xc00003fe40?}) /home/kali/go/pkg/mod/github.com/sciter-sdk/go-sciter@v0.5.1-0.20220404063322-7f18ada7f2f5/sciter.go:158 +0x68 fp=0xc00003fe08 sp=0xc00003fdc8 pc=0x571a48 github.com/sciter-sdk/go-sciter.(Sciter).LoadFile(0xc000000282?, {0x5db591, 0xb}) /home/kali/go/pkg/mod/github.com/sciter-sdk/go-sciter@v0.5.1-0.20220404063322-7f18ada7f2f5/sciter.go:158 +0x25 fp=0xc00003fe50 sp=0xc00003fe08 pc=0x571945 main.showGUI() /home/kali/go/src/HelloSciter/main.go:66 +0x72 fp=0xc00003fea0 sp=0xc00003fe50 pc=0x5812d2 main.onReady.func1() /home/kali/go/src/HelloSciter/main.go:31 +0x1aa fp=0xc00003ffe0 sp=0xc00003fea0 pc=0x58106a runtime.goexit() /usr/lib/go-1.19/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003ffe8 sp=0xc00003ffe0 pc=0x46c581 created by main.onReady /home/kali/go/src/HelloSciter/main.go:27 +0x17b
rax 0x0 rbx 0x7f651640cf00 rcx 0x7f651748983c rdx 0x6 rdi 0xc5ea rsi 0xc5ea rbp 0xc5ea rsp 0x7ffc2062eed0 r8 0x7ffc2062efa0 r9 0x12c8780 r10 0x8 r11 0x246 r12 0x6 r13 0x116 r14 0x7f6517080c68 r15 0x11b7560 rip 0x7f651748983c rflags 0x246 cs 0x33 fs 0x0 gs 0x0
My source code: https://sciter.com/forums/topic/simple-example-not-working/