Android 1.13.0-alpha.3 Fatal signal 6 (SIGABRT)
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 38.2k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
Operating system
Android
System version
Android 15
Installation type
sing-box for Android Graphical Client
If you are using a graphical client, please provide the version of the client.
1.13.0-alpha.3
Version
Description
Crash appeared after updating from 1.13.0-alpha.2 to 1.13.0-alpha.3
Reproduction
Attempt to connect via UI
Logs
2025-08-18 16:38:33.761 Go E panic: interface conversion: interface {} is *option.RawLocalDNSServerOptions, not *option.LocalDNSServerOptions
2025-08-18 16:38:33.761 Go E
2025-08-18 16:38:33.761 Go E goroutine 18 [running, locked to thread]:
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns.RegisterTransport[...].func2({0x7ae514c628?, 0x40001bc1b0?}, {0x4000010836?, 0x0?}, {0x7ae4e2f2e0?, 0x4000000140?})
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns/transport_registry.go:21 +0x114
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns.(*TransportRegistry).CreateDNSTransport(0x0?, {0x7ae5136e70, 0x40000c6000}, {0x7ae514c628, 0x40001bc1b0}, {0x4000010836, 0x9}, {0x7ae3944882, 0x5}, {0x7ae4e2f2e0, ...})
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns/transport_registry.go:64 +0x1ec
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns.(*TransportManager).Create(0x40002ae0b0, {0x7ae5136e70?, 0x40000c6000?}, {0x7ae514c628?, 0x40001bc1b0?}, {0x4000010836, 0x9}, {0x7ae3944882?, 0x400018d490?}, {0x7ae4e2f2e0?, ...})
2025-08-18 16:38:33.761 Go E github.com/sagernet/sing-box/dns/transport_manager.go:249 +0x68
2025-08-18 16:38:33.762 Go E github.com/sagernet/sing-box.New({{{0x40002ca000, 0x7a9, 0xe00}, {0x0, 0x0}, 0x4000420c30, 0x4000100660, 0x0, 0x0, {0x0, ...}, ...}, ...})
2025-08-18 16:38:33.762 Go E github.com/sagernet/sing-box/box.go:213 +0x13d0
2025-08-18 16:38:33.762 Go E github.com/sagernet/sing-box/experimental/libbox.NewService({0x40002b0000, 0x7a9}, {0x7ae514f420, 0x400041e430})
2025-08-18 16:38:33.762 Go E github.com/sagernet/sing-box/experimental/libbox/service.go:60 +0x270
2025-08-18 16:38:33.762 Go E main.proxylibbox__NewService({0xb400007cd16dd830, 0x7a9, {0x0, 0x0, 0x0, 0x0}}, 0x2b)
2025-08-18 16:38:33.762 Go E github.com/sagernet/sing-box/build/arm64/libbox/go_libboxmain.go:4648 +0x8c
2025-08-18 16:38:33.763 libc A Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13877 (DefaultDispatch), pid 13848 (nekohasekai.sfa)
2025-08-18 16:38:34.230 DEBUG A *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2025-08-18 16:38:34.230 DEBUG A Build fingerprint: 'google/caiman/caiman:15/BP1A.250505.005/13277524:user/release-keys'
2025-08-18 16:38:34.230 DEBUG A Revision: 'MP1.0'
2025-08-18 16:38:34.230 DEBUG A ABI: 'arm64'
2025-08-18 16:38:34.230 DEBUG A Timestamp: 2025-08-18 16:38:33.877298357+0300
2025-08-18 16:38:34.230 DEBUG A Process uptime: 8s
2025-08-18 16:38:34.230 DEBUG A Cmdline: io.nekohasekai.sfa
2025-08-18 16:38:34.230 DEBUG A pid: 13848, tid: 13877, name: DefaultDispatch >>> io.nekohasekai.sfa <<<
2025-08-18 16:38:34.230 DEBUG A uid: 10586
2025-08-18 16:38:34.230 DEBUG A tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
2025-08-18 16:38:34.230 DEBUG A pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
2025-08-18 16:38:34.230 DEBUG A signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2025-08-18 16:38:34.230 DEBUG A x0 0000000000000000 x1 0000000000003635 x2 0000000000000006 x3 0000000000000008
2025-08-18 16:38:34.230 DEBUG A x4 0000000000000001 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
2025-08-18 16:38:34.230 DEBUG A x8 0000000000000083 x9 0000000000011750 x10 000000000000000e x11 0000007ae51a2f90
2025-08-18 16:38:34.230 DEBUG A x12 0000000000000006 x13 0000000000000000 x14 00000040000c6000 x15 0000004000604820
2025-08-18 16:38:34.230 DEBUG A x16 0000007ad0faa3a0 x17 0000007ad10b1270 x18 0000007ad0528000 x19 0000000000003618
2025-08-18 16:38:34.230 DEBUG A x20 0000007ad10b1120 x21 000000400009e808 x22 419da53b4eaf6ad6 x23 0000007ae5ecfac0
2025-08-18 16:38:34.230 DEBUG A x24 0000004000040a38 x25 0000000000000000 x26 0000000000000000 x27 0000000000000010
2025-08-18 16:38:34.230 DEBUG A x28 00000040000b0000 x29 000000400001ea48
2025-08-18 16:38:34.230 DEBUG A lr 0000007ae3cae31c sp 000000400001ea50 pc 0000007ae3cd5ca8 pst 0000000080001000
2025-08-18 16:38:34.230 DEBUG A 1 total frames
2025-08-18 16:38:34.230 DEBUG A backtrace:
2025-08-18 16:38:34.230 DEBUG A #00 pc 000000000088fca8 /data/app/~~oz3OjBEg7L_Uuq4y_fUS_g==/io.nekohasekai.sfa-GQXNVinwg74Ru7IpVRY3Wg==/lib/arm64/libbox.so
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash when connecting through the Android UI, then inspect dns/transport_registry.go and dns/transport_manager.go at the logged stack frames, followed by box.go and experimental/libbox/service.go. Trace the RawLocalDNSServerOptions versus LocalDNSServerOptions mismatch and verify that the reported Android connection no longer aborts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, go
- Domain
- mobile-dev, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100