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

在window wsl 运行egoctl web start 会panic #16

Open
youmisun opened this issue Jun 11, 2023 · 0 comments
Open

在window wsl 运行egoctl web start 会panic #16

youmisun opened this issue Jun 11, 2023 · 0 comments

Comments

@youmisun
Copy link

环境
windows wsl Ubuntu 20.04.6 LTS
egoctl version: 1.0.6
go version: 1.20.1
错误信息

panic: init max procs

goroutine 1 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc00021e480, 0xc0003c6300, 0x2, 0x2)
        /home/runner/go/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:234 +0x58d
go.uber.org/zap.(*Logger).Panic(0xc000280ba0, 0x134bd3b, 0xe, 0xc0003c6300, 0x2, 0x2)
        /home/runner/go/pkg/mod/go.uber.org/[email protected]/logger.go:226 +0x85
github.com/gotomicro/ego/core/elog.(*Component).Panic(0xc0005042c0, 0x134bd3b, 0xe, 0xc0003c6300, 0x2, 0x2)
        /home/runner/go/pkg/mod/github.com/gotomicro/[email protected]/core/elog/component.go:383 +0x71
github.com/gotomicro/ego.initMaxProcs(0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/gotomicro/[email protected]/ego_function.go:188 +0x5e5
github.com/gotomicro/ego.runSerialFuncReturnError(0xc000504a80, 0x7, 0x7, 0x1, 0x2)
        /home/runner/go/pkg/mod/github.com/gotomicro/[email protected]/ego_function.go:221 +0x48
github.com/gotomicro/ego.New(0xc0008d6b30, 0x2, 0x1, 0x1ac3d18)
        /home/runner/go/pkg/mod/github.com/gotomicro/[email protected]/ego.go:107 +0x71c
github.com/gotomicro/egoctl/internal/app/module/web.(*Container).Run(0x249b8c0)
        /home/runner/work/egoctl/egoctl/internal/app/module/web/web.go:65 +0x5f3
github.com/gotomicro/egoctl/cmd/web.init.0.func1(0xc0008caf00, 0x24ce748, 0x0, 0x0)
        /home/runner/work/egoctl/egoctl/cmd/web/web.go:25 +0x2d
github.com/spf13/cobra.(*Command).execute(0xc0008caf00, 0x24ce748, 0x0, 0x0, 0xc0008caf00, 0x24ce748)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x248d520, 0xc00007a778, 0xc000883f78, 0x406365)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:897
main.main()
        /home/runner/work/egoctl/egoctl/main.go:32 +0x36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant