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

[Bug Report] Program crashes after running for a while #693

Closed
2 of 3 tasks
TnZzZHlp opened this issue Nov 4, 2024 · 9 comments
Closed
2 of 3 tasks

[Bug Report] Program crashes after running for a while #693

TnZzZHlp opened this issue Nov 4, 2024 · 9 comments

Comments

@TnZzZHlp
Copy link

TnZzZHlp commented Nov 4, 2024

Checks

  • I have searched the existing issues
  • I have read the documentation
  • Is it your first time sumbitting an issue

Current Behavior

time="Nov 04 08:18:01" level=warning msg="handlePkt: failed to GetOrCreate: failed to select dialer from group proxy (udp4, dns?:false,from: 192.168.3.6:36570): no alive dialer"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x143de0]

goroutine 276432 [running]:
fmt.(*wrapErrors).Unwrap(0x0?)
        fmt/errors.go:77
errors.is({0xf85980?, 0x0?}, {0xf84dc0, 0x4000044290}, 0x1)
        errors/wrap.go:68 +0x220
errors.is({0xf85980?, 0x4005a08780?}, {0xf84dc0, 0x4000044290}, 0x1)
        errors/wrap.go:69 +0x260
errors.Is({0xf85980, 0x4005a08780}, {0xf84dc0, 0x4000044290})
        errors/wrap.go:50 +0x98
github.com/daeuniverse/dae/component/sniffing.IsSniffingError(...)
        github.com/daeuniverse/dae/component/sniffing/sniffing.go:23
github.com/daeuniverse/dae/control.(*ControlPlane).handleConn(0x40001ee5a0, {0xf99398, 0x4005e4c9f0})
        github.com/daeuniverse/dae/control/tcp.go:34 +0x168
github.com/daeuniverse/dae/control.(*ControlPlane).Serve.func4.1({0xf99398, 0x4005e4c9f0})
        github.com/daeuniverse/dae/control/control_plane.go:789 +0xc0
created by github.com/daeuniverse/dae/control.(*ControlPlane).Serve.func4 in goroutine 10
        github.com/daeuniverse/dae/control/control_plane.go:786 +0x44

Expected Behavior

No response

Steps to Reproduce

After running for a while, it crashes.

Environment

  • Dae version (use dae --version): 0.9.0rc1
  • OS (e.g cat /etc/os-release): ImmortalWrt SNAPSHOT r32098-f6d00e7c0d
  • Kernel (e.g. uname -a): Linux ImmortalWrt 6.6.56 #0 SMP Sat Oct 19 07:13:05 2024 aarch64 GNU/Linux
  • Others: Config
  • Arch: ARMv8 Processor rev 4

Anything else?

No response

@dae-prow
Copy link
Contributor

dae-prow bot commented Nov 4, 2024

Thanks for opening this issue!

@mzz2017
Copy link
Contributor

mzz2017 commented Nov 4, 2024

这个是从 releases 里拿的吗

@TnZzZHlp
Copy link
Author

TnZzZHlp commented Nov 4, 2024

是的

@mzz2017
Copy link
Contributor

mzz2017 commented Nov 10, 2024

Related #685. 据报告 0.8.0 无此问题

@mzz2017
Copy link
Contributor

mzz2017 commented Nov 10, 2024

@TnZzZHlp 有空可以帮忙二分一下是0.8.0到0.9.0rc1中间哪个commit出的问题吗?非常感谢

@TnZzZHlp
Copy link
Author

@TnZzZHlp 有空可以帮忙二分一下是0.8.0到0.9.0rc1中间哪个commit出的问题吗?非常感谢

好的,不过这个崩溃太随机了,我这两天不在家但是也没崩溃,我尽力吧

@TnZzZHlp
Copy link
Author

TnZzZHlp commented Nov 13, 2024

@mzz2017
应该是 #649 这个引入的BUG,前面的使用超过一天都没有panic,这个半天就panic了,麻烦大佬看看什么问题了❤️,如果需要我可以提供环境

#666 这个也panic了,我再试试前面的

@TnZzZHlp
Copy link
Author

TnZzZHlp commented Nov 15, 2024

基本可以确定是 #666 导致的panic了,前一个commit稳定运行两天了,但是我看了下这个commit也没什么大的更改🥲
又panic了,我再测测

@TnZzZHlp
Copy link
Author

TnZzZHlp commented Nov 22, 2024

这个bug应该可以确定 #580 引入的,前一个commit稳定运行超过一周了
#682 也panic了,我觉得这个bug有点超出预期了🥲二进制都是action里面拿的

@TnZzZHlp TnZzZHlp closed this as completed Dec 2, 2024
@TnZzZHlp TnZzZHlp closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
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

2 participants