Closed debiansid closed 1 month ago
请尝试最新commit
最新commit
D:\sing-box>sing-box-windows-amd64-v3.exe -c config-next2.json -D d:\sing-box run
panic: runtime error: slice bounds out of range [20:18]
goroutine 1 [running]:
github.com/sagernet/sing-box/common/outboundprovider/action.(*actionFilter).execute(0xc00007c930, {0xc00028bbb0?, 0xab1fbc?}, {0xb4662e?, 0xc19b9b0f2bcc1b38?}, {0x1b1bea8, 0xc00022ef90}, 0xc000325680)
github.com/sagernet/sing-box/common/outboundprovider/action/action_filter.go:49 +0x7de
github.com/sagernet/sing-box/common/outboundprovider/action.(*ProviderActionGroup).Execute(0xc00022efa8, {0x1b0c5c8, 0xc000241e90}, {0x1b249b0, 0xc000232908}, {0x1b1bea8, 0xc00022ef90}, {0xc000300280, 0x14, 0x14})
github.com/sagernet/sing-box/common/outboundprovider/action/action.go:61 +0x18b
github.com/sagernet/sing-box/outbound.(*Provider).start(0xc000073dc0)
github.com/sagernet/sing-box/outbound/provider.go:317 +0x369
github.com/sagernet/sing-box/outbound.(*Provider).lazyStart.func1()
github.com/sagernet/sing-box/outbound/provider.go:417 +0x1c
sync.(*Once).doSlow(0xc00008c378?, 0xc00028eef0?)
sync/once.go:74 +0xc2
sync.(*Once).Do(...)
sync/once.go:65
github.com/sagernet/sing-box/outbound.(*Provider).lazyStart(0xc000073dc0)
github.com/sagernet/sing-box/outbound/provider.go:416 +0x4a
github.com/sagernet/sing-box/outbound.(*Provider).Start(0xc0001b7b1b?)
github.com/sagernet/sing-box/outbound/provider.go:423 +0x13
github.com/sagernet/sing-box.(*Box).startOutbounds(0xc00031efa0)
github.com/sagernet/sing-box/box_outbound.go:52 +0x7d4
github.com/sagernet/sing-box.(*Box).preStart(0xc00031efa0)
github.com/sagernet/sing-box/box.go:271 +0x79b
github.com/sagernet/sing-box.(*Box).start(0xc00031efa0)
github.com/sagernet/sing-box/box.go:279 +0x2a
github.com/sagernet/sing-box.(*Box).Start(0xc00031efa0)
github.com/sagernet/sing-box/box.go:221 +0x36
main.create()
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:160 +0x472
main.run()
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:174 +0x10c
main.init.func26(0xc000113b00?, {0x192bd5d?, 0x4?, 0x192bd61?})
github.com/sagernet/sing-box/cmd/sing-box/cmd_run.go:30 +0x17
github.com/spf13/cobra.(*Command).execute(0x245fc80, {0xc00008a840, 0x4, 0x4})
github.com/spf13/cobra@v1.8.0/command.go:987 +0xab1
github.com/spf13/cobra.(*Command).ExecuteC(0x245ff60)
github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.0/command.go:1039
main.main()
github.com/sagernet/sing-box/cmd/sing-box/main.go:38 +0x1e
Operating system
Windows
System version
11
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
Reproduction
config file
Logs