daeuniverse/dae

[Bug Report] dae 0.7.1, 0.8.0rc1 crash openwrt ,but 0.7.0 working.

Closed this issue · 10 comments

Checks

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

Current Behavior

start dae in openwrt ,in 30s, openwrt crashed and auto reboot.

only 0.7.0 work well.

Expected Behavior

No response

Steps to Reproduce

global {
so_mark_from_dae: 0
log_level: info
disable_waiting_network: false
lan_interface: br-lan
auto_config_kernel_parameter: true
dial_mode: domain
}

dns {
ipversion_prefer: 4
upstream {
googledns: 'tcp+udp://dns.google.com:53'
alidns: 'udp://dns.alidns.com:53'
}
routing {
request {
qname(geosite:cn!) -> googledns
fallback: alidns
}
}
}
routing {
domain(geosite:cn!) -> direct(mark: 0x1)
fallback: direct
}

Environment

  • Dae version (use dae --version):dae 0.7.1, 0.8.0rc1
  • OS (e.g cat /etc/os-release):Openwrt 23.05.4
  • Kernel (e.g. uname -a): linux 6.6.50
  • Others:

Anything else?

No response

Thanks for opening this issue!

@tkszhzy what's your openwrt device

what does the crash log say?

@tkszhzy what's your openwrt device

x86_64 Openwrt 23.05.snap Linux kernel 6.6.50

what does the crash log say?

dae make openwrt crashed. and openwrt reboot ... no log to be found .

Only dae 0.7.0 worked well .

@tkszhzy #607 (comment)
Confirm if is the problem

@tkszhzy #607 (comment) Confirm if is the problem

I tested dae on linux kernel 5.15 , all dae worked well .

For linxu kernel 6.6 , dae 0.70 is ok, higher version dae will crash openwrt and reboot totally.

$ g log --pretty=oneline v0.7.0...v0.7.1
c13cdb519f44f27b49db4371a4c9045b27d93282 (tag: v0.7.1, upstream/release-v0.7.1) chore(changelogs): add v0.7.1 release changelogs
bcec026f276adb7fb185a3a27e3a58b552425b3a fix(cmd/run.go): always check whether network online (#588)
ef9690a6529469735525456233997ed24509d914 fix(udp_task_pool): panic: close of closed channel (#570)
0701f022995fdda296f948c737606aa0f9f04884 fix: unknown tls implementation (#569)

0.7.0和0.7.1之间只有三个commit,不然请你依次revert一下看看是哪个的问题?

@tkszhzy 看起来 #640 修复了这个问题

@tkszhzy 看起来 #640 修复了这个问题

On dae version unstable-20240918.pr-640.r4.e32c5c, and Linux kernel 6.6.51 , All is good!

thanks to all of dea team .