-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Operating system
Linux
System version
6.12
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
sing-box version 1.12.14
Environment: go1.25.5 linux/arm64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale
Revision: f56d9ab94569d46a48bfc2bcd97eea566ad365c8
CGO: disabledDescription
INFO[0000] network: updated default interface enp0s3, index 2
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x6beaf8]
goroutine 1 [running]:
github.com/sagernet/sing-box/adapter/outbound.(*Manager).startOutbounds(0x4000508fa0, {0x40004d2b40, 0x2, 0x8a27c?})
github.com/sagernet/sing-box/adapter/outbound/manager.go:155 +0x478
github.com/sagernet/sing-box/adapter/outbound.(*Manager).Start(0x4000508fa0, 0x1)
github.com/sagernet/sing-box/adapter/outbound/manager.go:79 +0x6fc
github.com/sagernet/sing-box/adapter.Start(...)
github.com/sagernet/sing-box/adapter/lifecycle.go:53
github.com/sagernet/sing-box.(*Box).preStart(0x4000508280)
github.com/sagernet/sing-box/box.go:454 +0x428
github.com/sagernet/sing-box.(*Box).start(0x4000508280)
github.com/sagernet/sing-box/box.go:462 +0x28
github.com/sagernet/sing-box.(*Box).Start(0x4000508280)
github.com/sagernet/sing-box/box.go:420 +0x30
main.create()
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:160 +0x33c
main.run()
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:174 +0xb0
main.init.func26(0x4000450100?, {0x15cf81c?, 0x4?, 0x15cf820?})
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:30 +0x1c
github.com/spf13/cobra.(*Command).execute(0x27baa80, {0x40003abee0, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:1019 +0x7bc
github.com/spf13/cobra.(*Command).ExecuteC(0x27b5d80)
github.com/spf13/[email protected]/command.go:1148 +0x350
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/[email protected]/command.go:1071
main.main()
github.com/sagernet/sing-box/cmd/sing-box/main.go:8 +0x24
Reproduction
"endpoints": [
{
"type": "wireguard",
"mtu": 1280,
"system": true,
"address": [
"172.16.0.2/32",
"x/128"
],
"private_key": "x",
"peers": [
{
"address": "162.159.192.7",
"port": 2408,
"public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"allowed_ips": [
"0.0.0.0/0",
"::/0"
],
"reserved": [
0,0,0
]
}
]
}
],Logs
Supporter
- I am a sponsor
Integrity requirements
- I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
Metadata
Metadata
Assignees
Labels
No labels