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

nil pointer panic in initLogPre() #41

Closed
Arielfoever opened this issue Oct 15, 2024 · 2 comments
Closed

nil pointer panic in initLogPre() #41

Arielfoever opened this issue Oct 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Arielfoever
Copy link

下载 1.6.2 版本的 bitsrun_linux_arm64.tar.gz 或者用 https://github.com/immortalwrt/packages/blob/master/net/bitsrunlogin-go/Makefile 改成1.6.2版本都有此问题。

运行于 openwrt on MT6000

root@Ariel-AP:~# ./bitsrun 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x71 pc=0x3597cc]

goroutine 1 [running]:
github.com/Mmx233/BitSrunLoginGo/internal/config.initLogPre()
        github.com/Mmx233/BitSrunLoginGo/internal/config/log.go:21 +0xec
github.com/Mmx233/BitSrunLoginGo/internal/config.init.0()
        github.com/Mmx233/BitSrunLoginGo/internal/config/config.go:27 +0x20

应该如何开始排障。

@Arielfoever
Copy link
Author

1.6.1是好的

Mmx233 added a commit that referenced this issue Oct 15, 2024
reference to #41
@Mmx233
Copy link
Owner

Mmx233 commented Oct 15, 2024

Fixed in v1.6.3

@Mmx233 Mmx233 closed this as completed Oct 15, 2024
@Mmx233 Mmx233 added the bug Something isn't working label Oct 15, 2024
@Mmx233 Mmx233 changed the title 内存溢出? nil pointer panic in initLogPre() Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants