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

Android系统运行sing-box内核报错 #2627

Open
4 of 5 tasks
MangTianYa opened this issue Feb 23, 2025 · 0 comments
Open
4 of 5 tasks

Android系统运行sing-box内核报错 #2627

MangTianYa opened this issue Feb 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MangTianYa
Copy link

MangTianYa commented Feb 23, 2025

操作系统

Android

系统版本

nameless_aston-userdebug 15 AQ3A.241213.002 eng.infern release-keys

安装类型

sing-box 原始命令行程序

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

No response

版本

127|:/data/sing-box # ./sing-box run us.json

FATAL [0000] read config at config.json: open config.json: no s uch file or directory

1:/data/sing-box # ./sing-box run c us.json

WARN [0000] legacy DNS transport is deprecated in sing-box 1.12 .0 and will be removed in sing-box 1.14.0.

panic: runtime error: invalid memory address or nil pointer de

reference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=

0x55a7419198]

goroutine 1 [running]:

github.com/sagernet/sing-box/common/certificate.NewStore({0x55 a846aff8, 0x400012a190}, {0x7a0a232298, 0x400011e468}, {{0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, ., ..})

go:38 +0x128

.com/sagernet/sing-box/common/certificate/store.

github.com/sagernet/sing-box.New({{{0x4000420000, 0x1e08, 0x3e 00}, {0x0, 0x0), 0x400045b140, 0x40004140c0, 0x0, 0x0, {0x0,.

github.com/sagernet/sing-box/box.go:151 +0x6a8 main.create()

37 +0x130 github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:1

main.run() github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:1 74 +0xc4

main.init.func26(0x40003a8500?, {0x55a6a748ef?, 0x4?, 0x55a6a7 48f3?}) github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:3

0 +0x1c github.com/spf13/cobra.(*Command).execute (0x55a922dea0, {0x400 02f9e20, 0x2, 0x2}) github.com/spf13/[email protected]/command.go:989 +0x818 github.com/spf13/cobra.(*Command).ExecuteC(0x55a9228e20)

github.com/spf13/[email protected]/command.go:1117 +0x344 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/[email protected]/command.go:1041

main.main() github.com/sagernet/sing-box/cmd/sing-box/main.go:8 +0 x24

描述

[

Image

](url)

重现方式

使用termux使用./sing-box run -c config.json运行sing-box内核

日志

支持我们

完整性要求

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