You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//global initialization must be called by every application, then create application
cef.GlobalInit(nil, &resources)
cefApp := cef.NewApplication()
fmt.Printf("ChromeBuild:%s\n", cefApp.ChromeVersion())
fmt.Printf("LibVersion:%s\n", cefApp.LibVersion())
cefApp.SetLocale(consts.LANGUAGE_en_US)
cef.BrowserWindow.Config.ChromiumConfig().SetEnableMenu(true) //Enable right-click menu
cef.BrowserWindow.Config.ChromiumConfig().SetEnableDevTools(true) //Enabling Developer Tools
// Set the i18n resource loading method here, use the built-in to exe method here.
i18n.SetLocalFS(&resources, "resources")
i18n.Switch(consts.LANGUAGE_en_US)
//specify a URL address, or a local html file directory
cef.BrowserWindow.Config.Url = "https://html5test.co/"
cef.BrowserWindow.Config.Title = "ENERGY minimal Test"
//run application
cef.Run(cefApp)
go.mod
`module main
go 1.23
require (
github.com/energye/energy/v2 v2.4.5
)
require (
github.com/energye/golcl v1.0.12 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/tevino/abool v0.0.0-20220530134649-2bfc934cb23c // indirect
golang.org/x/sys v0.27.0 // indirect
)`
and then main.go
`// or go build -ldflags "-s -w" // with a terminal
// then terminal: ./main.exe
package main
import (
"embed"
"fmt"
"runtime"
)
//go:embed resources
var resources embed.FS
const BrowserVersion = "118-freezed"
func main() {
logger.SetEnable(true)
logger.SetLevel(logger.LError)
fmt.Printf("\nVersion:%s", runtime.Version())
fmt.Printf("\nCompiler:%s", runtime.Compiler)
fmt.Printf("\nNo. of CPU:%v\n", runtime.NumCPU())
fmt.Printf("\nGOOS:%s", runtime.GOOS)
fmt.Printf("\nGOARCH:%s", runtime.GOARCH)
fmt.Printf("\nGOROOT:%s\n", runtime.GOROOT())
fmt.Printf("\nBrowserVersion:%s\n", BrowserVersion)
}`
look then at the terminal:
`./main.exe
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
ChromeBuild:118.0.5993.119
LibVersion:
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
ChromeBuild:118.0.5993.119
LibVersion:
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
ChromeBuild:118.0.5993.119
LibVersion:
ChromeBuild:118.0.5993.119
LibVersion:
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
Version:go1.23.2
Compiler:gc
No. of CPU:12
GOOS:windows
GOARCH:amd64
GOROOT:C:\Program Files\Go
BrowserVersion:118-freezed
ChromeBuild:118.0.5993.119
LibVersion:
ChromeBuild:118.0.5993.119
LibVersion:
runtime: newstack at runtime.printlock+0x55 sp=0xc0002df730 stack=[0xc0002d8000, 0xc0002e0000]
morebuf={pc:0x6c8454 sp:0xc0002df738 lr:0x0}
sched={pc:0x6fbd75 sp:0xc0002df730 lr:0x0 ctxt:0x0}
runtime.callbackUpdateSystemStack(0xc00005e008, 0x57a05fe240, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:257 +0x94 fp=0xc0002df798 sp=0xc0002df738 pc=0x6c8454
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:322 +0x71 fp=0xc0002df818 sp=0xc0002df798 pc=0x6c8671
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
:1 +0x2e fp=0xc0002df840 sp=0xc0002df818 pc=0x73b68e
runtime.cgocallback(0xc0002df8d0, 0x7286b2, 0x7382c0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002df868 sp=0xc0002df840 pc=0x7368ac
runtime.systemstack_switch()
C:/Program Files/Go/src/runtime/asm_amd64.s:479 +0x8 fp=0xc0002df878 sp=0xc0002df868 pc=0x734ae8
runtime.cgocall(0x7382c0, 0xc00005e330)
C:/Program Files/Go/src/runtime/cgocall.go:185 +0x72 fp=0xc0002df8e0 sp=0xc0002df878 pc=0x7286b2
syscall.SyscallN(0x0?, {0xc0002a4810?, 0x0?, 0xc0002a4810?})
C:/Program Files/Go/src/runtime/syscall_windows.go:519 +0x46 fp=0xc0002df900 sp=0xc0002df8e0 pc=0x732826
syscall.(*Proc).Call(0x6d0c05?, {0xc0002a4810?, 0xc23240?, 0x1?})
C:/Program Files/Go/src/syscall/dll_windows.go:166 +0x1c fp=0xc0002df940 sp=0xc0002df900 pc=0x75075c
syscall.(*LazyProc).Call(0x1438f80, {0xc0002a4810, 0x5, 0x5})
C:/Program Files/Go/src/syscall/dll_windows.go:286 +0x4a fp=0xc0002df970 sp=0xc0002df940 pc=0x750b8a
github.com/energye/golcl/lcl/win.CallWindowProc(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/win/user32dll.go:153
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc(0xc0002a8000, 0x3f0944, 0x47, 0x0, 0x57a05ff460)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/browser_window_hook_windows.go:73 +0x328 fp=0xc0002dfa10 sp=0xc0002df970 pc=0xaa10a8
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc-fm(0xc000022d50?, 0xa05fe0f8?, 0x2?, 0x0?)
:1 +0x2e fp=0xc0002dfa48 sp=0xc0002dfa10 pc=0xbbd94e
runtime.call32(0x0, 0xc0002902e0, 0xc0002dfaa8, 0x0, 0x0, 0x20, 0xc0002dfcd8)
C:/Program Files/Go/src/runtime/asm_amd64.s:776 +0x48 fp=0xc0002dfa78 sp=0xc0002dfa48 pc=0x7350a8
runtime.callbackWrap(0x57a05ff0c0)
C:/Program Files/Go/src/runtime/syscall_windows.go:396 +0x205 fp=0xc0002dfe50 sp=0xc0002dfa78 pc=0x7179a5
runtime.cgocallbackg1(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:442 +0x295 fp=0xc0002dff10 sp=0xc0002dfe50 pc=0x6c8a95
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:361 +0x145 fp=0xc0002dff90 sp=0xc0002dff10 pc=0x6c8745
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
:1 +0x2e fp=0xc0002dffb8 sp=0xc0002dff90 pc=0x73b68e
runtime.cgocallback(0x0, 0x0, 0x0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002dffe0 sp=0xc0002dffb8 pc=0x7368ac
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0002dffe8 sp=0xc0002dffe0 pc=0x736b01
fatal error: runtime: stack split at bad time
runtime stack:
runtime.throw({0xd568f1?, 0x57a05fe591?})
C:/Program Files/Go/src/runtime/panic.go:1067 +0x4d fp=0x57a05fe100 sp=0x57a05fe0d0 pc=0x72e70d
runtime.newstack()
C:/Program Files/Go/src/runtime/stack.go:1009 +0xa56 fp=0x57a05fe240 sp=0x57a05fe100 pc=0x712fd6
runtime.morestack()
C:/Program Files/Go/src/runtime/asm_amd64.s:621 +0x79 fp=0x57a05fe248 sp=0x57a05fe240 pc=0x734c19
goroutine 17 gp=0xc000052380 m=1 mp=0xc00005e008 [syscall, locked to thread]:
runtime.callbackUpdateSystemStack(0xc00005e008, 0x57a05fe240, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:257 +0x94 fp=0xc0002df798 sp=0xc0002df738 pc=0x6c8454
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:322 +0x71 fp=0xc0002df818 sp=0xc0002df798 pc=0x6c8671
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
:1 +0x2e fp=0xc0002df840 sp=0xc0002df818 pc=0x73b68e
runtime.cgocallback(0xc0002df8d0, 0x7286b2, 0x7382c0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002df868 sp=0xc0002df840 pc=0x7368ac
runtime.systemstack_switch()
C:/Program Files/Go/src/runtime/asm_amd64.s:479 +0x8 fp=0xc0002df878 sp=0xc0002df868 pc=0x734ae8
runtime.cgocall(0x7382c0, 0xc00005e330)
C:/Program Files/Go/src/runtime/cgocall.go:185 +0x72 fp=0xc0002df8e0 sp=0xc0002df878 pc=0x7286b2
syscall.SyscallN(0x0?, {0xc0002a4810?, 0x0?, 0xc0002a4810?})
C:/Program Files/Go/src/runtime/syscall_windows.go:519 +0x46 fp=0xc0002df900 sp=0xc0002df8e0 pc=0x732826
syscall.(*Proc).Call(0x6d0c05?, {0xc0002a4810?, 0xc23240?, 0x1?})
C:/Program Files/Go/src/syscall/dll_windows.go:166 +0x1c fp=0xc0002df940 sp=0xc0002df900 pc=0x75075c
syscall.(*LazyProc).Call(0x1438f80, {0xc0002a4810, 0x5, 0x5})
C:/Program Files/Go/src/syscall/dll_windows.go:286 +0x4a fp=0xc0002df970 sp=0xc0002df940 pc=0x750b8a
github.com/energye/golcl/lcl/win.CallWindowProc(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/win/user32dll.go:153
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc(0xc0002a8000, 0x3f0944, 0x47, 0x0, 0x57a05ff460)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/browser_window_hook_windows.go:73 +0x328 fp=0xc0002dfa10 sp=0xc0002df970 pc=0xaa10a8
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc-fm(0xc000022d50?, 0xa05fe0f8?, 0x2?, 0x0?)
:1 +0x2e fp=0xc0002dfa48 sp=0xc0002dfa10 pc=0xbbd94e
runtime.call32(0x0, 0xc0002902e0, 0xc0002dfaa8, 0x0, 0x0, 0x20, 0xc0002dfcd8)
C:/Program Files/Go/src/runtime/asm_amd64.s:776 +0x48 fp=0xc0002dfa78 sp=0xc0002dfa48 pc=0x7350a8
runtime.callbackWrap(0x57a05ff0c0)
C:/Program Files/Go/src/runtime/syscall_windows.go:396 +0x205 fp=0xc0002dfe50 sp=0xc0002dfa78 pc=0x7179a5
runtime.cgocallbackg1(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:442 +0x295 fp=0xc0002dff10 sp=0xc0002dfe50 pc=0x6c8a95
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:361 +0x145 fp=0xc0002dff90 sp=0xc0002dff10 pc=0x6c8745
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
:1 +0x2e fp=0xc0002dffb8 sp=0xc0002dff90 pc=0x73b68e
runtime.cgocallback(0x0, 0x0, 0x0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002dffe0 sp=0xc0002dffb8 pc=0x7368ac
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0002dffe8 sp=0xc0002dffe0 pc=0x736b01
goroutine 1 gp=0xc000052000 m=0 mp=0x1464880 [syscall, locked to thread]:
runtime.cgocall(0x7382c0, 0x1464ba8)
C:/Program Files/Go/src/runtime/cgocall.go:167 +0x3e fp=0xc0000c74a8 sp=0xc0000c7440 pc=0x72867e
syscall.SyscallN(0xc0000c7500?, {0xc0000c74e8?, 0xcef2bf?, 0x9?})
C:/Program Files/Go/src/runtime/syscall_windows.go:519 +0x46 fp=0xc0000c74c8 sp=0xc0000c74a8 pc=0x732826
syscall.Syscall(0x110000000?, 0x110006fb0?, 0xc0000c7580?, 0x7ce889?, 0x110000000?)
C:/Program Files/Go/src/runtime/syscall_windows.go:458 +0x2f fp=0xc0000c7510 sp=0xc0000c74c8 pc=0x73254f
github.com/energye/golcl/lcl/api/dllimports.SyscallN(0xc0000c75b0?, {0xc0000c75e8?, 0x0?, 0xc0002903b0?})
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dllimports/dll_windows.go:45 +0x65 fp=0xc0000c7590 sp=0xc0000c7510 pc=0x7ce4e5
github.com/energye/golcl/lcl/api/dllimports.ProcAddr.Call(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dllimports/dll_windows.go:33
github.com/energye/golcl/lcl/api.syscallN(0xc000282690?, {0xc0000c75e8, 0x1, 0x1})
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dylib.go:57 +0x65 fp=0xc0000c75c8 sp=0xc0000c7590 pc=0x8322c5
github.com/energye/golcl/lcl/api.Form_Show(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/importFuncsAuto.go:462
github.com/energye/golcl/lcl.(*TForm).Show(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/form.go:205
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).Show(...)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/browser_window_lcl.go:465
github.com/energye/energy/v2/cef.(*ICefBrowser).createBrowserViewSource.func4(0x1462d68?)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/aux_viewsource.go:72 +0x3e fp=0xc0000c7600 sp=0xc0000c75c8 pc=0xa9e35e
github.com/energye/energy/v2/cef.(*queueAsyncCall).call(0xc0000c7680?, 0x2)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/application_queue_async_call.go:100 +0xb5 fp=0xc0000c7650 sp=0xc0000c7600 pc=0xa9d2b5
github.com/energye/energy/v2/cef.applicationQueueAsyncCallProc(0x13?)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/application_queue_async_call.go:34 +0x25 fp=0xc0000c7670 sp=0xc0000c7650 pc=0xa9d045
runtime.call16(0x0, 0xdb09a0, 0xc0000c76c0, 0x0, 0x0, 0x8, 0xc0000c78f0)
C:/Program Files/Go/src/runtime/asm_amd64.s:775 +0x48 fp=0xc0000c7690 sp=0xc0000c7670 pc=0x735008
runtime.callbackWrap(0x579f1fea60)
C:/Program Files/Go/src/runtime/syscall_windows.go:396 +0x205 fp=0xc0000c7a68 sp=0xc0000c7690 pc=0x7179a5
runtime.cgocallbackg1(0x7177a0, 0x579f1fea60, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:442 +0x295 fp=0xc0000c7b28 sp=0xc0000c7a68 pc=0x6c8a95
runtime.cgocallbackg(0x7177a0, 0x579f1fea60, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:361 +0x145 fp=0xc0000c7ba8 sp=0xc0000c7b28 pc=0x6c8745
runtime.cgocallbackg(0x7177a0, 0x579f1fea60, 0x0)
:1 +0x2e fp=0xc0000c7bd0 sp=0xc0000c7ba8 pc=0x73b68e
runtime.cgocallback(0xc0000c7c60, 0x7286b2, 0x7382c0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0000c7bf8 sp=0xc0000c7bd0 pc=0x7368ac
runtime.systemstack_switch()
C:/Program Files/Go/src/runtime/asm_amd64.s:479 +0x8 fp=0xc0000c7c08 sp=0xc0000c7bf8 pc=0x734ae8
runtime.cgocall(0x7382c0, 0x1464ba8)
C:/Program Files/Go/src/runtime/cgocall.go:185 +0x72 fp=0xc0000c7c70 sp=0xc0000c7c08 pc=0x7286b2
syscall.SyscallN(0xc0000c7cc8?, {0xc0000c7cb0?, 0xcf4bea?, 0xf?})
C:/Program Files/Go/src/runtime/syscall_windows.go:519 +0x46 fp=0xc0000c7c90 sp=0xc0000c7c70 pc=0x732826
syscall.Syscall(0x110000000?, 0x110003830?, 0xc0000c7d48?, 0x7ce889?, 0x110000000?)
C:/Program Files/Go/src/runtime/syscall_windows.go:458 +0x2f fp=0xc0000c7cd8 sp=0xc0000c7c90 pc=0x73254f
github.com/energye/golcl/lcl/api/dllimports.SyscallN(0xc000070000?, {0xc0000c7db8?, 0xdb0d60?, 0xdb0bb0?})
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dllimports/dll_windows.go:45 +0x65 fp=0xc0000c7d58 sp=0xc0000c7cd8 pc=0x7ce4e5
github.com/energye/golcl/lcl/api/dllimports.ProcAddr.Call(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dllimports/dll_windows.go:33
github.com/energye/golcl/lcl/api.defSyscallN(0x0?, {0xc0000c7db8, 0x1, 0x1})
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/dylib.go:75 +0x65 fp=0xc0000c7d90 sp=0xc0000c7d58 pc=0x8324c5
github.com/energye/golcl/lcl/api.Application_Run(0xc0000d53f8?)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/api/importdef.go:39 +0x47 fp=0xc0000c7dd8 sp=0xc0000c7d90 pc=0x83de87
github.com/energye/golcl/lcl.(*TApplication).Run(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/applicationdef.go:95
github.com/energye/energy/v2/cef.(*browserWindow).createFormAndRun(0x143c200)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/browser_main_window.go:84 +0x155 fp=0xc0000c7e38 sp=0xc0000c7dd8 pc=0xa9ead5
github.com/energye/energy/v2/cef.Run(0xc0000a22c0)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/application_run.go:115 +0x149 fp=0xc0000c7e60 sp=0xc0000c7e38 pc=0xa9d5a9
main.main()
C:/Users/JS/Desktop/VSCode-First/chromium/chromium-118 2-4-5 minimal/main.go:56 +0x53d fp=0xc0000c7f50 sp=0xc0000c7e60 pc=0xbbe09d
runtime.main()
C:/Program Files/Go/src/runtime/proc.go:272 +0x27d fp=0xc0000c7fe0 sp=0xc0000c7f50 pc=0x6fcbdd
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0000c7fe8 sp=0xc0000c7fe0 pc=0x736b01
goroutine 2 gp=0xc000052700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000055fa8 sp=0xc000055f88 pc=0x72e82e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:430
runtime.forcegchelper()
C:/Program Files/Go/src/runtime/proc.go:337 +0xb8 fp=0xc000055fe0 sp=0xc000055fa8 pc=0x6fcef8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000055fe8 sp=0xc000055fe0 pc=0x736b01
created by runtime.init.7 in goroutine 1
C:/Program Files/Go/src/runtime/proc.go:325 +0x1a
goroutine 3 gp=0xc000052a80 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000057f80 sp=0xc000057f60 pc=0x72e82e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:430
runtime.bgsweep(0xc00001e080)
C:/Program Files/Go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc000057fc8 sp=0xc000057f80 pc=0x6e5f94
runtime.gcenable.gowrap1()
C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc000057fe0 sp=0xc000057fc8 pc=0x6da665
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x736b01
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:203 +0x66
goroutine 4 gp=0xc000052c40 m=nil [GC scavenge wait]:
runtime.gopark(0xc00001e080?, 0xf385c0?, 0x1?, 0x0?, 0xc000052c40?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000069f78 sp=0xc000069f58 pc=0x72e82e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:430
runtime.(*scavengerState).park(0x1463360)
C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000069fa8 sp=0xc000069f78 pc=0x6e39c9
runtime.bgscavenge(0xc00001e080)
C:/Program Files/Go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000069fc8 sp=0xc000069fa8 pc=0x6e3f3c
runtime.gcenable.gowrap2()
C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc000069fe0 sp=0xc000069fc8 pc=0x6da605
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000069fe8 sp=0xc000069fe0 pc=0x736b01
created by runtime.gcenable in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5
goroutine 18 gp=0xc0000861c0 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000065e20 sp=0xc000065e00 pc=0x72e82e
runtime.runfinq()
C:/Program Files/Go/src/runtime/mfinal.go:193 +0x107 fp=0xc000065fe0 sp=0xc000065e20 pc=0x6d9727
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000065fe8 sp=0xc000065fe0 pc=0x736b01
created by runtime.createfing in goroutine 1
C:/Program Files/Go/src/runtime/mfinal.go:163 +0x3d
goroutine 19 gp=0xc000086540 m=nil [chan receive]:
runtime.gopark(0x0?, 0x6da501?, 0x18?, 0x77?, 0x1387718?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000059f18 sp=0xc000059ef8 pc=0x72e82e
runtime.chanrecv(0xc0000880e0, 0x0, 0x1)
C:/Program Files/Go/src/runtime/chan.go:639 +0x41e fp=0xc000059f90 sp=0xc000059f18 pc=0x6ca11e
runtime.chanrecv1(0x6fcd40?, 0xc000059f76?)
C:/Program Files/Go/src/runtime/chan.go:489 +0x12 fp=0xc000059fb8 sp=0xc000059f90 pc=0x6c9cd2
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
C:/Program Files/Go/src/runtime/mgc.go:1732
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
C:/Program Files/Go/src/runtime/mgc.go:1735 +0x2f fp=0xc000059fe0 sp=0xc000059fb8 pc=0x6dd70f
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x736b01
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
C:/Program Files/Go/src/runtime/mgc.go:1730 +0x96
goroutine 20 gp=0xc000086700 m=nil [IO wait]:
runtime.gopark(0xc000067c08?, 0x1437000?, 0xa0?, 0x42?, 0xc0000a434c?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000067bf0 sp=0xc000067bd0 pc=0x72e82e
runtime.netpollblock(0x324?, 0x6c7fc6?, 0x0?)
C:/Program Files/Go/src/runtime/netpoll.go:575 +0xf7 fp=0xc000067c28 sp=0xc000067bf0 pc=0x6f3df7
internal/poll.runtime_pollWait(0x22adb245688, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:351 +0x85 fp=0xc000067c48 sp=0xc000067c28 pc=0x72daa5
internal/poll.(*pollDesc).wait(0x7abc55?, 0x72967d?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000067c70 sp=0xc000067c48 pc=0x7ad2e7
internal/poll.execIO(0xc0000a42a0, 0xc000067d18)
C:/Program Files/Go/src/internal/poll/fd_windows.go:177 +0x105 fp=0xc000067ce8 sp=0xc000067c70 pc=0x7ae725
internal/poll.(*FD).acceptOne(0xc0000a4288, 0xbac, {0xc0002640f0?, 0x22a95f70108?, 0x20?}, 0xc000080008?)
C:/Program Files/Go/src/internal/poll/fd_windows.go:946 +0x65 fp=0xc000067d48 sp=0xc000067ce8 pc=0x7b2d65
internal/poll.(*FD).Accept(0xc0000a4288, 0xc000067ef8)
C:/Program Files/Go/src/internal/poll/fd_windows.go:980 +0x1b6 fp=0xc000067e00 sp=0xc000067d48 pc=0x7b3096
net.(*netFD).accept(0xc0000a4288)
C:/Program Files/Go/src/net/fd_windows.go:182 +0x4b fp=0xc000067f18 sp=0xc000067e00 pc=0x8b0c6b
net.(*UnixListener).accept(0x706520?)
C:/Program Files/Go/src/net/unixsock_posix.go:172 +0x16 fp=0xc000067f40 sp=0xc000067f18 pc=0x8ccc76
net.(*UnixListener).AcceptUnix(0xc00008b200)
C:/Program Files/Go/src/net/unixsock.go:247 +0x30 fp=0xc000067f70 sp=0xc000067f40 pc=0x8cb2b0
github.com/energye/energy/v2/pkgs/channel.(*browserChannel).accept(0xc0000f8050)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:141 +0x2f fp=0xc000067fc8 sp=0xc000067f70 pc=0x8d61af
github.com/energye/energy/v2/pkgs/channel.NewBrowser.gowrap1()
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:67 +0x25 fp=0xc000067fe0 sp=0xc000067fc8 pc=0x8d5b45
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000067fe8 sp=0xc000067fe0 pc=0x736b01
created by github.com/energye/energy/v2/pkgs/channel.NewBrowser in goroutine 1
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:67 +0x2d6
goroutine 5 gp=0xc0000536c0 m=nil [IO wait]:
runtime.gopark(0xc0002305c8?, 0xc0002305cc?, 0x58?, 0x5?, 0xc000261a88?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000261a18 sp=0xc0002619f8 pc=0x72e82e
runtime.netpollblock(0xc000000001?, 0x6c7fc6?, 0x0?)
C:/Program Files/Go/src/runtime/netpoll.go:575 +0xf7 fp=0xc000261a50 sp=0xc000261a18 pc=0x6f3df7
internal/poll.runtime_pollWait(0x22adb245580, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:351 +0x85 fp=0xc000261a70 sp=0xc000261a50 pc=0x72daa5
internal/poll.(*pollDesc).wait(0x22adb243238?, 0x30?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000261a98 sp=0xc000261a70 pc=0x7ad2e7
internal/poll.execIO(0xc000230520, 0xdb11a0)
C:/Program Files/Go/src/internal/poll/fd_windows.go:177 +0x105 fp=0xc000261b10 sp=0xc000261a98 pc=0x7ae725
internal/poll.(*FD).ReadFrom(0xc000230508, {0xc000196020, 0xc000194150?, 0x1390e68?})
C:/Program Files/Go/src/internal/poll/fd_windows.go:581 +0x147 fp=0xc000261b88 sp=0xc000261b10 pc=0x7b0207
net.(*netFD).readFrom(0xc000230508, {0xc000196020?, 0x72967d?, 0x8d609a?})
C:/Program Files/Go/src/net/fd_posix.go:61 +0x25 fp=0xc000261be0 sp=0xc000261b88 pc=0x8aee85
net.(*UnixConn).readFrom(0xc00005da80, {0xc000196020?, 0xc0000f8050?, 0xc000194001?})
C:/Program Files/Go/src/net/unixsock_posix.go:103 +0x27 fp=0xc000261c40 sp=0xc000261be0 pc=0x8cc2e7
net.(*UnixConn).ReadFromUnix(0xc00005da80, {0xc000196020?, 0xc0bda0?, 0xc000192001?})
C:/Program Files/Go/src/net/unixsock.go:110 +0x30 fp=0xc000261c90 sp=0xc000261c40 pc=0x8ca370
github.com/energye/energy/v2/pkgs/channel.(*channel).read(0xf44620?, {0xc000196020?, 0xf44530?, 0x14a99a0?})
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel.go:304 +0x32 fp=0xc000261cc0 sp=0xc000261c90 pc=0x8d4132
github.com/energye/energy/v2/pkgs/channel.(*channel).ipcRead(0xc000194000)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel.go:362 +0x145 fp=0xc000261f60 sp=0xc000261cc0 pc=0x8d47e5
github.com/energye/energy/v2/pkgs/channel.(*browserChannel).newConnection(0xc0000f8050, {0xf44bd8, 0xc00005da80})
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:202 +0x148 fp=0xc000261fb8 sp=0xc000261f60 pc=0x8d6468
github.com/energye/energy/v2/pkgs/channel.(*browserChannel).accept.gowrap1()
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:149 +0x28 fp=0xc000261fe0 sp=0xc000261fb8 pc=0x8d62e8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000261fe8 sp=0xc000261fe0 pc=0x736b01
created by github.com/energye/energy/v2/pkgs/channel.(*browserChannel).accept in goroutine 20
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:149 +0x115
goroutine 6 gp=0xc000053880 m=nil [IO wait]:
runtime.gopark(0xc000230848?, 0xc00023084c?, 0xd8?, 0x7?, 0xc000263a88?)
C:/Program Files/Go/src/runtime/proc.go:424 +0xce fp=0xc000263a18 sp=0xc0002639f8 pc=0x72e82e
runtime.netpollblock(0x1?, 0x6c7fc6?, 0x0?)
C:/Program Files/Go/src/runtime/netpoll.go:575 +0xf7 fp=0xc000263a50 sp=0xc000263a18 pc=0x6f3df7
internal/poll.runtime_pollWait(0x22adb245478, 0x72)
C:/Program Files/Go/src/runtime/netpoll.go:351 +0x85 fp=0xc000263a70 sp=0xc000263a50 pc=0x72daa5
internal/poll.(*pollDesc).wait(0xc0002920d1?, 0xc3e100?, 0x0)
C:/Program Files/Go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000263a98 sp=0xc000263a70 pc=0x7ad2e7
internal/poll.execIO(0xc0002307a0, 0xdb11a0)
C:/Program Files/Go/src/internal/poll/fd_windows.go:177 +0x105 fp=0xc000263b10 sp=0xc000263a98 pc=0x7ae725
internal/poll.(*FD).ReadFrom(0xc000230788, {0xc000286060, 0x810000c000263bf8?, 0x2?})
C:/Program Files/Go/src/internal/poll/fd_windows.go:581 +0x147 fp=0xc000263b88 sp=0xc000263b10 pc=0x7b0207
net.(*netFD).readFrom(0xc000230788, {0xc000286060?, 0x72967d?, 0x8d5f51?})
C:/Program Files/Go/src/net/fd_posix.go:61 +0x25 fp=0xc000263be0 sp=0xc000263b88 pc=0x8aee85
net.(*UnixConn).readFrom(0xc00005da88, {0xc000286060?, 0xc0000f8050?, 0x500000001?})
C:/Program Files/Go/src/net/unixsock_posix.go:103 +0x27 fp=0xc000263c40 sp=0xc000263be0 pc=0x8cc2e7
net.(*UnixConn).ReadFromUnix(0xc00005da88, {0xc000286060?, 0xc0bda0?, 0xc000280001?})
C:/Program Files/Go/src/net/unixsock.go:110 +0x30 fp=0xc000263c90 sp=0xc000263c40 pc=0x8ca370
github.com/energye/energy/v2/pkgs/channel.(*channel).read(0xf44620?, {0xc000286060?, 0xf44530?, 0x14a99a0?})
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel.go:304 +0x32 fp=0xc000263cc0 sp=0xc000263c90 pc=0x8d4132
github.com/energye/energy/v2/pkgs/channel.(*channel).ipcRead(0xc000282000)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel.go:362 +0x145 fp=0xc000263f60 sp=0xc000263cc0 pc=0x8d47e5
github.com/energye/energy/v2/pkgs/channel.(*browserChannel).newConnection(0xc0000f8050, {0xf44bd8, 0xc00005da88})
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:202 +0x148 fp=0xc000263fb8 sp=0xc000263f60 pc=0x8d6468
github.com/energye/energy/v2/pkgs/channel.(*browserChannel).accept.gowrap1()
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:149 +0x28 fp=0xc000263fe0 sp=0xc000263fb8 pc=0x8d62e8
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000263fe8 sp=0xc000263fe0 pc=0x736b01
created by github.com/energye/energy/v2/pkgs/channel.(*browserChannel).accept in goroutine 20
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/pkgs/channel/channel_browser.go:149 +0x115
fatal error: malloc deadlock
panic during panic
goroutine 17 gp=0xc000052380 m=1 mp=0xc00005e008 [running, locked to thread]:
runtime.throw({0xcf47b2?, 0x0?})
C:/Program Files/Go/src/runtime/panic.go:1067 +0x4d fp=0xc0002de848 sp=0xc0002de818 pc=0x72e70d
runtime.mallocgc(0x10, 0xc5e2c0, 0x1)
C:/Program Files/Go/src/runtime/malloc.go:1042 +0x9b9 fp=0xc0002de8e8 sp=0xc0002de848 pc=0x729979
runtime.newobject(0x22a95e6d660?)
C:/Program Files/Go/src/runtime/malloc.go:1386 +0x25 fp=0xc0002de910 sp=0xc0002de8e8 pc=0x6d0c05
github.com/energye/golcl/lcl.eventCallbackProc(0x0?, 0x57a05fd808, 0x0?)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/callbackevent.go:57 +0x66 fp=0xc0002df198 sp=0xc0002de910 pc=0x8e4146
runtime.call32(0x0, 0xdb0d38, 0xc0002df1f8, 0x0, 0x0, 0x18, 0xc0002df428)
C:/Program Files/Go/src/runtime/asm_amd64.s:776 +0x48 fp=0xc0002df1c8 sp=0xc0002df198 pc=0x7350a8
runtime.callbackWrap(0x57a05fd6a0)
C:/Program Files/Go/src/runtime/syscall_windows.go:396 +0x205 fp=0xc0002df5a0 sp=0xc0002df1c8 pc=0x7179a5
runtime.cgocallbackg1(0x7177a0, 0x57a05fd6a0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:442 +0x295 fp=0xc0002df660 sp=0xc0002df5a0 pc=0x6c8a95
runtime.cgocallbackg(0x7177a0, 0x57a05fd6a0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:361 +0x145 fp=0xc0002df6e0 sp=0xc0002df660 pc=0x6c8745
runtime.cgocallbackg(0x7177a0, 0x57a05fd6a0, 0x0)
:1 +0x2e fp=0xc0002df708 sp=0xc0002df6e0 pc=0x73b68e
runtime.cgocallback(0x6c8454, 0x300000002, 0xc000052380)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002df730 sp=0xc0002df708 pc=0x7368ac
runtime.printlock()
C:/Program Files/Go/src/runtime/print.go:65 +0x55 fp=0xc0002df738 sp=0xc0002df730 pc=0x6fbd75
runtime.callbackUpdateSystemStack(0xc00005e008, 0x57a05fe240, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:257 +0x94 fp=0xc0002df798 sp=0xc0002df738 pc=0x6c8454
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:322 +0x71 fp=0xc0002df818 sp=0xc0002df798 pc=0x6c8671
runtime.cgocallbackg(0x7177a0, 0x57a05fe280, 0x0)
:1 +0x2e fp=0xc0002df840 sp=0xc0002df818 pc=0x73b68e
runtime.cgocallback(0xc0002df8d0, 0x7286b2, 0x7382c0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002df868 sp=0xc0002df840 pc=0x7368ac
runtime.systemstack_switch()
C:/Program Files/Go/src/runtime/asm_amd64.s:479 +0x8 fp=0xc0002df878 sp=0xc0002df868 pc=0x734ae8
runtime.cgocall(0x7382c0, 0xc00005e330)
C:/Program Files/Go/src/runtime/cgocall.go:185 +0x72 fp=0xc0002df8e0 sp=0xc0002df878 pc=0x7286b2
syscall.SyscallN(0x0?, {0xc0002a4810?, 0x0?, 0xc0002a4810?})
C:/Program Files/Go/src/runtime/syscall_windows.go:519 +0x46 fp=0xc0002df900 sp=0xc0002df8e0 pc=0x732826
syscall.(*Proc).Call(0x6d0c05?, {0xc0002a4810?, 0xc23240?, 0x1?})
C:/Program Files/Go/src/syscall/dll_windows.go:166 +0x1c fp=0xc0002df940 sp=0xc0002df900 pc=0x75075c
syscall.(*LazyProc).Call(0x1438f80, {0xc0002a4810, 0x5, 0x5})
C:/Program Files/Go/src/syscall/dll_windows.go:286 +0x4a fp=0xc0002df970 sp=0xc0002df940 pc=0x750b8a
github.com/energye/golcl/lcl/win.CallWindowProc(...)
C:/Users/JS/go/pkg/mod/github.com/energye/golcl@v1.0.12/lcl/win/user32dll.go:153
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc(0xc0002a8000, 0x3f0944, 0x47, 0x0, 0x57a05ff460)
C:/Users/JS/go/pkg/mod/github.com/energye/energy/v2@v2.4.5/cef/browser_window_hook_windows.go:73 +0x328 fp=0xc0002dfa10 sp=0xc0002df970 pc=0xaa10a8
github.com/energye/energy/v2/cef.(*LCLBrowserWindow).wndProc-fm(0xc000022d50?, 0xa05fe0f8?, 0x2?, 0x0?)
:1 +0x2e fp=0xc0002dfa48 sp=0xc0002dfa10 pc=0xbbd94e
runtime.call32(0x0, 0xc0002902e0, 0xc0002dfaa8, 0x0, 0x0, 0x20, 0xc0002dfcd8)
C:/Program Files/Go/src/runtime/asm_amd64.s:776 +0x48 fp=0xc0002dfa78 sp=0xc0002dfa48 pc=0x7350a8
runtime.callbackWrap(0x57a05ff0c0)
C:/Program Files/Go/src/runtime/syscall_windows.go:396 +0x205 fp=0xc0002dfe50 sp=0xc0002dfa78 pc=0x7179a5
runtime.cgocallbackg1(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:442 +0x295 fp=0xc0002dff10 sp=0xc0002dfe50 pc=0x6c8a95
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
C:/Program Files/Go/src/runtime/cgocall.go:361 +0x145 fp=0xc0002dff90 sp=0xc0002dff10 pc=0x6c8745
runtime.cgocallbackg(0x7177a0, 0x57a05ff0c0, 0x0)
:1 +0x2e fp=0xc0002dffb8 sp=0xc0002dff90 pc=0x73b68e
runtime.cgocallback(0x0, 0x0, 0x0)
C:/Program Files/Go/src/runtime/asm_amd64.s:1084 +0xec fp=0xc0002dffe0 sp=0xc0002dffb8 pc=0x7368ac
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0002dffe8 sp=0xc0002dffe0 pc=0x736b01
fatal error: unexpected signal during runtime execution
stack trace unavailable
`
Thanks
The text was updated successfully, but these errors were encountered: