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

出现panic #2667

Open
4 of 5 tasks
GleenJi opened this issue Mar 3, 2025 · 1 comment
Open
4 of 5 tasks

出现panic #2667

GleenJi opened this issue Mar 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@GleenJi
Copy link

GleenJi commented Mar 3, 2025

操作系统

Windows

系统版本

win11 24H2

安装类型

sing-box 原始命令行程序

如果您使用图形客户端程序,请提供该程序版本。

No response

版本

v1.12.0-alpha.13

描述

Image
在tun模式下,不仅仅win版本会这样,安卓端好像也会这样,之前使用1.9.4版本的sing-box没遇到这个问题,现在因为版本一直更新,配置文件也是重新写,只能用最新版的v1.12.0-alpha.13,就遇到这个panic的问题了,

对了还有一个解析发起服务端连接解析域名的问题,在出口使用拨号字段的domain_resolver貌似实际起作用了,但sing-box命令行依然会提示没有添加domain_resolver或者default_domain_resolver,而在路由中使用default_domain_resolver命令行就不会提示了,这是bug吗?

还有一个问题,规则集下载不能使用urltest的tag吗,很容易出现下载不下来的情形,以前v1.9.4就是这样,还有最新版的v1.12.0-alpha.13貌似规则集下载即便是某一个proxy的tag,有时候也会存在下载不下来的情形

`
"log":
{
"level": "info",
"timestamp": true
},

"inbounds":
[
{
"tag": "inbound-tun",
"type": "tun",
"interface_name": "singbox-tun",
"address": "172.16.0.1/30",
"mtu": 1500,
"auto_route": true,
"strict_route": true,
"stack": "system"
}
],

"dns":
{
"servers":
[
{
"tag": "dns-google",
"type": "udp",
"server": "8.8.8.8",
"detour": "autoC"
},
{
"tag": "dns-ali",
"type": "udp",
"server": "223.5.5.5",
"detour": "direct"
}
],
"rules":
[
{
"rule_set": "geosite-cn",
"server": "dns-ali"
}
]
},

"route":
{
"auto_detect_interface": true,
"rules":
[
{
"action": "sniff"
},
{
"protocol": "dns",
"action": "hijack-dns"
},
{
"rule_set": [ "geosite-cn", "geoip-cn", "geoip-private" ],
"outbound": "direct"
},
{
"rule_set": [ "geosite-twitch" ],
"outbound": "autoB"
},
{
"rule_set": [ "geosite-telegram", "geoip-telegram" ],
"outbound": "autoC"
}
],
"rule_set":
[
{
"tag": "geosite-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs",
"download_detour": "select"
},
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs",
"download_detour": "select"
},
{
"tag": "geoip-private",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs",
"download_detour": "select"
},
{
"tag": "geosite-twitch",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/twitch.srs",
"download_detour": "select"
},
{
"tag": "geosite-telegram",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs",
"download_detour": "select"
},
{
"tag": "geoip-telegram",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs",
"download_detour": "select"
}
],
"default_domain_resolver": { "server": "dns-ali" }
},

"experimental":
{
"cache_file": { "enabled": true }
},

"outbounds":
[
{"tag": "autoA"},
{"tag": "autoB"},
{"tag": "autoC"},
{"tag": "selecct"},
{"tag": "proxyA"},
{"tag": "proxyB"},
{"tag": "proxyC"},
{"tag": "proxyD"},
{"tag": "direct"}
]
`

重现方式

重现方式不好说,有点随机,但容易出现,有时候刚开启tun模式开网页就出现了,有时候比较长的时间出现,尤其使用ipinfo.io查询的时候,貌似更容易出现这个情况,或者多开浏览器打开多个ipinfo.io时,较容易出现这个问题

日志

支持我们

完整性要求

  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
@GleenJi
Copy link
Author

GleenJi commented Mar 5, 2025

后续又用了v1.11.4试了一下,貌似就没有出现panic的问题了,看来大概率是v1.12.0-alpha.13版本的问题

@nekohasekai nekohasekai added the bug Something isn't working label Mar 5, 2025
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