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]: 运行数小时后连接失败,显示未运行,国内外全部连接失败 #668

Open
xiaol1n7 opened this issue Oct 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@xiaol1n7
Copy link

xiaol1n7 commented Oct 14, 2024

描述您遇到的bug

运行后六个小时突然显示状态为未运行(人没有进行干预),国内外全部连接失败
手动关闭再运行还是国内外全部连接失败,状态为未运行,关闭后可以连接国内网络
重启症状消失

复现此Bug的步骤

运行环境:pve 8.2.7中的虚拟机,1核4g内存
镜像为immortalwrt23.05.04,装了本项目的passwall2及汉化包,其他还装了个htop进行监控,其他都没装
运行半天至一天内断网,查看op情况显示passwall2未运行,国内外全部连接失败,内核日志有一条信息

您想要实现的目的

稳定运行即可。。

日志信息

dmesg信息:[21669.915098] traps: dnsmasq[4842] general protection fault ip:7f541db028cb sp:7ffed3f76b20 error:0 in libnftables.so.1[7f541daf9000+53000]

passwall2程序日志:
2024-10-13 20:45:19: 执行启动延时 60 秒后再启动!
2024-10-13 20:46:20: 清空并关闭相关程序和缓存完成。
2024-10-13 20:46:20: 分析 Socks 服务的节点配置...
2024-10-13 20:46:20: 127.0.0.1#15353 (直连DNS:114.114.114.114 远程DNS:https://208.67.222.222/dns-query)
2024-10-13 20:46:20: - [0]节点列表中的域名(vpslist):114.114.114.114
2024-10-13 20:46:20: - [0]默认:127.0.0.1#15353
2024-10-13 20:46:20: 开始加载防火墙规则...
2024-10-13 20:46:20: - [0]追加ISP IPv4 DNS到白名单:114.114.114.114
2024-10-13 20:46:20: - [0]追加ISP IPv6 DNS到白名单:2400:3200:baba::1
2024-10-13 20:46:20: - [0]追加ISP IPv6 DNS到白名单:fe80::be24:11ff:fed5:71ed
2024-10-13 20:46:20: 加入负载均衡的节点到nftset[passwall2_vpslist]直连完成
2024-10-13 20:46:20: 加入所有节点到nftset[passwall2_vpslist]直连完成
2024-10-13 20:46:20: - [0]追加直连DNS到nftables:114.114.114.114:53
2024-10-13 20:46:21: 【默认】,使用 TCP 节点分流总节点
2024-10-13 20:46:21: 【默认】,使用 UDP 节点分流总节点
2024-10-13 20:46:21: 防火墙规则加载完成!
2024-10-13 20:46:21: 重启 dnsmasq 服务
2024-10-13 20:46:21: 运行完成!

passwall2节点日志
copyunexpected fault address 0x1177129
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0x1177129 pc=0x475be1]

goroutine 1 gp=0xc0000061c0 m=0 mp=0x1ec3d00 [running, locked to thread]:
runtime.throw({0x1357fcc?, 0x1256a20?})
runtime/panic.go:1067 +0x48 fp=0xc00009ed60 sp=0xc00009ed30 pc=0x473d08
runtime.sigpanic()
runtime/signal_unix.go:914 +0x26c fp=0xc00009edc0 sp=0xc00009ed60 pc=0x47600c
sync.runtime_notifyListNotifyOne(0xc0000a2e10)
runtime/sema.go:668 +0xc1 fp=0xc00009edf0 sp=0xc00009edc0 pc=0x475be1
runtime: g 1: unexpected return pc for sync.runtime_notifyListNotifyOne called from 0x18
stack: frame={sp:0xc00009edc0, fp:0xc00009edf0} stack=[0xc00009e000,0xc00009f000)
0x000000c00009ecc0: 0x0000000000000001 0x0000000000000001
0x000000c00009ecd0: 0x000000c00009ed47 0x000000000047a492
0x000000c00009ece0: 0x000000c00009ed20 0x000000000043a878
0x000000c00009ecf0: 0x000000c00009ed00 0x000000c0000061c0
0x000000c00009ed00: 0x000000000043a8a0 0x000000c0000061c0
0x000000c00009ed10: 0x0000000000473d08 0x000000c00009ed30
0x000000c00009ed20: 0x000000c00009ed50 0x0000000000473d08
0x000000c00009ed30: 0x000000c00009ed38 0x000000000043a440
0x000000c00009ed40: 0x0000000001357fcc 0x0000000000000005
0x000000c00009ed50: 0x000000c00009edb0 0x000000000047600c
0x000000c00009ed60: 0x0000000001357fcc 0x0000000001256a20
0x000000c00009ed70: 0x0000000001177129 0x6500000000410845
0x000000c00009ed80: 0x0000000000000030 0x659fcaa6ac6af4d1
0x000000c00009ed90: 0x000000c0000061c0 0x000000c00009edc0
0x000000c00009eda0: 0x000000000046ef05 0x000000c0000cd118
0x000000c00009edb0: 0x000000c00009ee00 0x0000000000475be1
0x000000c00009edc0: <0x0000000001361392 0x0000000000f39a85
0x000000c00009edd0: 0x000000000116f220 0x000000c0000a2e10
0x000000c00009ede0: 0x000000000136fbb5 0x0000000000000018
0x000000c00009edf0: >0x000000c0000a2e10 0x000000c0000a2bd0
0x000000c00009ee00: 0x000000c00009ee10 0x0000000000f38c4f
0x000000c00009ee10: 0x000000c00009ef40 0x000000000044c2c8
0x000000c00009ee20: 0x0000000000490013 0x000000c000066660
0x000000c00009ee30: 0x000000000041059e 0x00007ff7810b5a48
0x000000c00009ee40: 0x000000000046eca5 0x000000c000066660
0x000000c00009ee50: 0x000000000041a696 0x0000000001ee72e0
0x000000c00009ee60: 0x000000c000066700 0x000000000046eca5
0x000000c00009ee70: 0x00007ff7810aa108 0x000000c000066613
0x000000c00009ee80: 0x0000000000409e48 0x000000c00007a000
0x000000c00009ee90: 0x00007ff7810b36a8 0x0000010100000010
0x000000c00009eea0: 0x00007ff7810b5a48 0x0000000000000070
0x000000c00009eeb0: 0x0100000000000010 0x00007ff7810aa108
0x000000c00009eec0: 0x0000000000000070 0x000000c00007a000
0x000000c00009eed0: 0x000000c000076060 0x0000000101ec3d00
0x000000c00009eee0: 0x0000000000000000 0x0000000000000000

goroutine 2 gp=0xc000006700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:424 +0xce fp=0xc000066fa8 sp=0xc000066f88 pc=0x473e2e
runtime.goparkunlock(...)
runtime/proc.go:430
runtime.forcegchelper()
runtime/proc.go:337 +0xb3 fp=0xc000066fe0 sp=0xc000066fa8 pc=0x43dd73
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000066fe8 sp=0xc000066fe0 pc=0x47c2e1
created by runtime.init.7 in goroutine 1
runtime/proc.go:325 +0x1a

goroutine 3 gp=0xc0000068c0 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:424 +0xce fp=0xc000067780 sp=0xc000067760 pc=0x473e2e
runtime.goparkunlock(...)
runtime/proc.go:430
runtime.bgsweep(0xc000076000)
runtime/mgcsweep.go:277 +0x94 fp=0xc0000677c8 sp=0xc000067780 pc=0x425bd4
runtime.gcenable.gowrap1()
runtime/mgc.go:203 +0x25 fp=0xc0000677e0 sp=0xc0000677c8 pc=0x41a305
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc0000677e8 sp=0xc0000677e0 pc=0x47c2e1
created by runtime.gcenable in goroutine 1
runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000006a80 m=nil [GC scavenge wait]:
runtime.gopark(0xc000076000?, 0x151dbb8?, 0x1?, 0x0?, 0xc000006a80?)
runtime/proc.go:424 +0xce fp=0xc000067f78 sp=0xc000067f58 pc=0x473e2e
runtime.goparkunlock(...)
runtime/proc.go:430
runtime.(*scavengerState).park(0x1ec15e0)
runtime/mgcscavenge.go:425 +0x49 fp=0xc000067fa8 sp=0xc000067f78 pc=0x423609
runtime.bgscavenge(0xc000076000)
runtime/mgcscavenge.go:653 +0x3c fp=0xc000067fc8 sp=0xc000067fa8 pc=0x423b7c
runtime.gcenable.gowrap2()
runtime/mgc.go:204 +0x25 fp=0xc000067fe0 sp=0xc000067fc8 pc=0x41a2a5
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000067fe8 sp=0xc000067fe0 pc=0x47c2e1
created by runtime.gcenable in goroutine 1
runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000007340 m=nil [runnable]:
runtime.runfinq()
runtime/mfinal.go:176 fp=0xc0000667e0 sp=0xc0000667d8 pc=0x419280
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc0000667e8 sp=0xc0000667e0 pc=0x47c2e1
created by runtime.createfing in goroutine 1
runtime/mfinal.go:163 +0x3d

截图

997ba5c246ca67527a5f65bbd04e9e7

系统相关信息

passwall2版本:1.31-1
openwrt版本:immortalwrt 23.05.04
singbox版本:1.9.7
xray版本:24.9.30
hysteria:2.5.2

其他信息

No response

@xiaol1n7 xiaol1n7 added the bug Something isn't working label Oct 14, 2024
@xiaol1n7
Copy link
Author

很奇怪,pve里虚拟机多几个核就没事了,原本失误只分了一个核的时候很不稳定,现在分了三核,两天了都很稳定

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

1 participant