Skip to content

core stop randomly #6204

Description

@megasoheilsh

Integrity requirements

  • I have read all the comments in the issue template and ensured that this issue meet the 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 provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

core stop randomly

Reproduction Method

xhttp

Client config

none

Server config

{
"inbounds": [
{
"listen": null,
"port": 65300,
"protocol": "vless",
"settings": {
"clients": [
],
"decryption": "none",
"encryption": "none"
},
"sniffing": {
"destOverride": [
"quic",
"fakedns",
"tls"
],
"enabled": true,
"metadataOnly": false,
"routeOnly": false
},
"streamSettings": {
"network": "xhttp",
"security": "none",
"xhttpSettings": {
"headers": {},
"host": "",
"mode": "auto",
"noSSEHeader": false,
"path": "/",
"scMaxBufferedPosts": 30,
"scMaxEachPostBytes": "1000000",
"scStreamUpServerSecs": "10",
"seqKey": "",
"seqPlacement": "",
"sessionKey": "",
"sessionPlacement": "",
"uplinkChunkSize": 0,
"uplinkDataKey": "",
"uplinkDataPlacement": "",
"uplinkHTTPMethod": "",
"xPaddingBytes": "1-1000",
"xPaddingHeader": "",
"xPaddingKey": "",
"xPaddingMethod": "",
"xPaddingObfsMode": false,
"xPaddingPlacement": ""
}
},
"tag": "inbound-65300"
}
],
"log": {
"access": "none",
"error": "none",
"loglevel": "none",
"maskAddress": ""
},
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "ForceIPv4"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"reverse": null,
"routing": {
"domainStrategy": "AsIs",
"rules": [
]
}
}

Client log

none

Server log

infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
A unified platform for anti-censorship.
Xray 26.5.9 (Xray, Penetrates Everything.) 1bdb488 (go1.26.3 linux/amd64)
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:142 +0x7a
created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 26551
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:123 +0xdad
github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0x3b6e1d1200e0, {0x1897b20, 0x3b6e29b93a40})
github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:633 +0x23bf
github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0x3b6e1d2675f0, {0x188b050, 0x3b6e2a089a70}, 0x187e680?, {0x1897230, 0x3b6e2a089a10}, {0x1890380, 0x3b6e1db08dd0})
github.com/xtls/xray-core/common/mux/server.go:64 +0xda
github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x1897440?, {0x188b050?, 0x3b6e269bae40?}, {{0x188b5d8?, 0x3b6e2630a144?}, 0xd3c0?, 0x3b6e?}, 0x2?)
github.com/xtls/xray-core/app/dispatcher/default.go:372 +0x872
}, 0x3b6e22c5d3e0)
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0x3b6e1d67d0e0, {0x188b050, 0x3b6e269bae40}, {{0x188b5d8?, 0x3b6e2630a144?}, 0xb640?, 0x3b6e?
github.com/xtls/xray-core/app/dispatcher/default.go:504 +0xb26
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0x3b6e1d67d0e0, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0, {{0x188b130, 0x3b6e25be8dc0}, 0x1bb, 0x2})
github.com/xtls/xray-core/app/proxyman/outbound/handler.go:242 +0x992
github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0x3b6e1db53e60, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0)
github.com/xtls/xray-core/proxy/freedom/freedom.go:297 +0x8cc
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process(0x3b6e1dbb32f0, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0, {0x1888390, 0x3b6e1db53e60})
github.com/xtls/xray-core/common/retry/retry.go:27 +0xc3
github.com/xtls/xray-core/common/retry.(*retryer).On(0x3b6e29f4d070, 0x3b6e29f4d0a0)
github.com/xtls/xray-core/proxy/freedom/freedom.go:304 +0x24b
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process.func1()
github.com/xtls/xray-core/transport/internet/dialer.go:92 +0x272
github.com/xtls/xray-core/transport/internet.LookupForIP({0x3b6e299d8000, 0x9a7}, 0x7, {0x0, 0x0?})
github.com/xtls/xray-core/app/dns/dns.go:263 +0x4f8
github.com/xtls/xray-core/app/dns.(*DNS).LookupIP(0x3b6e1d710700, {0x3b6e299d8000, 0x18?}, {0x0?, 0x31?, 0x72?})
github.com/xtls/xray-core/app/dns/dns.go:371 +0x2ab
github.com/xtls/xray-core/app/dns.(*DNS).serialQuery(0x3b6e1d710700, {0x3b6e299d8000, 0x9a7}, {0x0?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns/nameserver.go:184 +0x25b
github.com/xtls/xray-core/app/dns.(*Client).QueryIP(0x3b6e1d276a80, {0x188b050?, 0x3b6e1d71c600?}, {0x3b6e299d8000, 0x9a7}, {0x0?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns/nameserver_doh.go:238 +0x45
?, 0x0?}, {0x0?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns.(*DoHNameServer).QueryIP(0x188b050?, {0x188b050?, 0x3b6e269baf30?}, {0x3b6e299d8000
github.com/xtls/xray-core/app/dns/nameserver_cached.go:47 +0x6d1
github.com/xtls/xray-core/app/dns.queryIP({0x188b050, 0x3b6e269baf30}, {0x187eee8, 0x3b6e1d113880}, {0x3b6e299d8000?, 0x17050a0?}, {0x1?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns/nameserver_cached.go:68
github.com/xtls/xray-core/app/dns.fetch(...)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:113 +0x145
golang.org/x/sync/singleflight.(*Group).Do(0x3b6e1d276c28, {0x3b6e299d9500, 0x9a9}, 0x3b6e29f4c640)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:205 +0x99
golang.org/x/sync/singleflight.(*Group).doCall(0x15e3f60?, 0x3b6e1d5ee8d0?, {0x3b6e299d9500?, 0x9a9?}, 0x9a8?)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:170 +0x29b
golang.org/x/sync/singleflight.(*Group).doCall.func1()
goroutine 26633 [running]:

github.com/xtls/xray-core/app/proxyman/inbound/worker.go:142 +0x7a
created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 26551
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:123 +0xdad
github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0x3b6e1d1200e0, {0x1897b20, 0x3b6e29b93a40})
github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:633 +0x23bf
github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0x3b6e1d2675f0, {0x188b050, 0x3b6e2a089a70}, 0x187e680?, {0x1897230, 0x3b6e2a089a10}, {0x1890380, 0x3b6e1db08dd0})
2026/05/27 20:51:08 DEBUG - X-UI: Core crash detected: panic({0x150e3e0?, 0x3b6e25be8f20?}) runtime/panic.go:860 +0x46a golang.org/x/net/dns/dnsmessage.MustNewName(...) golang.org/x/net@v0.53.0/dns/dnsmessage/message.go:1952 github.com/xtls/xray-core/app/dns.buildReqMsgs({0x3b6e299d8a80, 0x9a8}, {0x0?, 0x0?, 0x0?}, 0x3b6e29f4c150, 0x3b6e297625a0) github.com/xtls/xray-core/app/dns/dnscommon.go:132 +0xc0a github.com/xtls/xray-core/app/dns.(*DoHNameServer).sendQuery(0x3b6e1d113880, {0x188b050, 0x3b6e269baf30}, 0x3b6e299c6d90, {0x3b6e299d8a80, 0x9a8}, {0x0?, 0x0?, 0x0?}) github.com/xtls/xray-core/app/dns/nameserver_doh.go:147 +0x265 github.com/xtls/xray-core/app/dns.doFetch({0x188b050, 0x3b6e269baf30}, {0x187eee8, 0x3b6e1d113880}, {0x3b6e299d8a80, 0x9a8}, {0x80?, 0xa9?, 0xec?}) github.com/xtls/xray-core/app/dns/nameserver_cached.go:103 +0x284 github.com/xtls/xray-core/app/dns.queryIP.fetch.func1() github.com/xtls/xray-core/app/dns/nameserver_cached.go:69 +0x46 golang.org/x/sync/singleflight.(*Group).doCall.func2(0x3b6e29f4c4ae, 0x3b6e2977d360, 0x3?) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:198 +0x55 golang.org/x/sync/singleflight.(*Group).doCall(0x15e3f60?, 0x3b6e1d5ee8d0?, {0x3b6e299d9500?, 0x9a9?}, 0x9a8?) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:200 +0x7e golang.org/x/sync/singleflight.(*Group).Do(0x3b6e1d276c28, {0x3b6e299d9500, 0x9a9}, 0x3b6e29f4c640) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:113 +0x145 github.com/xtls/xray-core/app/dns.fetch(...) github.com/xtls/xray-core/app/dns/nameserver_cached.go:68 github.com/xtls/xray-core/app/dns.queryIP({0x188b050, 0x3b6e269baf30}, {0x187eee8, 0x3b6e1d113880}, {0x3b6e299d8000?, 0x17050a0?}, {0x1?, 0x0?, 0x0?}) github.com/xtls/xray-core/app/dns/nameserver_cached.go:47 +0x6d1 github.com/xtls/xray-core/app/dns.(*DoHNameServer).QueryIP(0x188b050?, {0x188b050?, 0x3b6e269baf30?}, {0x3b6e299d8000?, 0x0?}, {0x0?, 0x0?, 0x0?}) github.com/xtls/xray-core/app/dns/nameserver_doh.go:238 +0x45 github.com/xtls/xray-core/app/dns.(*Client).QueryIP(0x3b6e1d276a80, {0x188b050?, 0x3b6e1d71c600?}, {0x3b6e299d8000, 0x9a7}, {0x0?, 0x0?, 0x0?}) github.com/xtls/xray-core/app/dns/nameserver.go:184 +0x25b github.com/xtls/xray-core/app/dns.(*DNS).serialQuery(0x3b6e1d710700, {0x3b6e299d8000, 0x9a7}, {0x0?, 0x0?, 0x0?}) github.com/xtls/xray-core/app/dns/dns.go:371 +0x2ab github.com/xtls/xray-core/app/dns.(*DNS).LookupIP(0x3b6e1d710700, {0x3b6e299d8000, 0x18?}, {0x0?, 0x31?, 0x72?}) github.com/xtls/xray-core/app/dns/dns.go:263 +0x4f8 github.com/xtls/xray-core/transport/internet.LookupForIP({0x3b6e299d8000, 0x9a7}, 0x7, {0x0, 0x0?}) github.com/xtls/xray-core/transport/internet/dialer.go:92 +0x272 github.com/xtls/xray-core/proxy/freedom.(*Handler).Process.func1() github.com/xtls/xray-core/proxy/freedom/freedom.go:304 +0x24b github.com/xtls/xray-core/common/retry.(*retryer).On(0x3b6e29f4d070, 0x3b6e29f4d0a0) github.com/xtls/xray-core/common/retry/retry.go:27 +0xc3 github.com/xtls/xray-core/proxy/freedom.(*Handler).Process(0x3b6e1dbb32f0, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0, {0x1888390, 0x3b6e1db53e60}) github.com/xtls/xray-core/proxy/freedom/freedom.go:297 +0x8cc github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0x3b6e1db53e60, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0) github.com/xtls/xray-core/app/proxyman/outbound/handler.go:242 +0x992 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0x3b6e1d67d0e0, {0x188b050, 0x3b6e269bae40}, 0x3b6e22c5d3e0, {{0x188b130, 0x3b6e25be8dc0}, 0x1bb, 0x2}) github.com/xtls/xray-core/app/dispatcher/default.go:504 +0xb26 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0x3b6e1d67d0e0, {0x188b050, 0x3b6e269bae40}, {{0x188b5d8?, 0x3b6e2630a144?}, 0xb640?, 0x3b6e?}, 0x3b6e22c5d3e0) github.com/xtls/xray-core/app/dispatcher/default.go:372 +0x872 github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x1897440?, {0x188b050?, 0x3b6e269bae40?}, {{0x188b5d8?, 0x3b6e2630a144?}, 0xd3c0?, 0x3b6e?}, 0x2?) github.com/xtls/xray-core/common/mux/server.go:64 +0xda
2026/05/27 20:51:08 DEBUG - X-UI: Core crash detected: panic: creating name: insufficient data for calculated length type runtime/debug.Stack(...) runtime/debug/stack.go:26 golang.org/x/sync/singleflight.newPanicError(...) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:44 golang.org/x/sync/singleflight.(*Group).doCall.func2.1() golang.org/x/sync@v0.20.0/singleflight/singleflight.go:193 +0x90
2026/05/27 20:51:05 INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
2026/05/27 20:51:05 DEBUG - XRAY: A unified platform for anti-censorship.
2026/05/27 20:51:05 DEBUG - XRAY: Xray 26.5.9 (Xray, Penetrates Everything.) 1bdb488 (go1.26.3 linux/amd64)
2026/05/27 20:51:05 DEBUG - X-UI: restart xray, force:false
2026/05/27 20:50:26 ERROR - X-UI: Failure in running xray-core: exit status 2
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:142 +0x7a
created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 4727862
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:123 +0xdad
github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0x3105af038000, {0x1897b20, 0x3105e9b4c4b0})
github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:633 +0x23bf
github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0x3105ae7f62d0, {0x188b050, 0x3105d8c54510}, 0x187e680?, {0x1897230, 0x3105d8c544b0}, {0x1890380, 0x3105af00cf10})
github.com/xtls/xray-core/common/mux/server.go:64 +0xda
github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x1897440?, {0x188b050?, 0x3105d8c39650?}, {{0x188b5d8?, 0x3105b9a6a2dc?}, 0xf800?, 0x3105?}, 0x2?)
github.com/xtls/xray-core/app/dispatcher/default.go:372 +0x872
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0x3105aed485f0, {0x188b050, 0x3105d8c39650}, {{0x188b5d8?, 0x3105b9a6a2dc?}, 0x9640?, 0x3105?}, 0x3105b056f820)
github.com/xtls/xray-core/app/dispatcher/default.go:504 +0xb26
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0x3105aed485f0, {0x188b050, 0x3105d8c39650}, 0x3105b056f820, {{0x188b130, 0x3105d233e370}, 0x1bb, 0x2})
github.com/xtls/xray-core/app/proxyman/outbound/handler.go:242 +0x992
github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0x3105aec06cf0, {0x188b050, 0x3105d8c39650}, 0x3105b056f820)
github.com/xtls/xray-core/proxy/freedom/freedom.go:297 +0x8cc
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process(0x3105af033950, {0x188b050, 0x3105d8c39650}, 0x3105b056f820, {0x1888390, 0x3105aec06cf0})
github.com/xtls/xray-core/common/retry/retry.go:27 +0xc3
github.com/xtls/xray-core/common/retry.(*retryer).On(0x3105cf19b070, 0x3105cf19b0a0)
github.com/xtls/xray-core/proxy/freedom/freedom.go:304 +0x24b
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process.func1()
github.com/xtls/xray-core/transport/internet/dialer.go:92 +0x272
github.com/xtls/xray-core/transport/internet.LookupForIP({0x3105cdcbed80, 0x403}, 0x7, {0x0, 0x0?})
github.com/xtls/xray-core/app/dns/dns.go:263 +0x4f8
?, 0x72?})
github.com/xtls/xray-core/app/dns.(*DNS).LookupIP(0x3105aed2dd80, {0x3105cdcbed80, 0x18?}, {0x0?, 0x31
github.com/xtls/xray-core/app/dns/dns.go:371 +0x2ab
github.com/xtls/xray-core/app/dns.(*DNS).serialQuery(0x3105aed2dd80, {0x3105cdcbed80, 0x403}, {0x9c?, 0xbc?, 0x93?})
github.com/xtls/xray-core/app/dns/nameserver.go:184 +0x25b
github.com/xtls/xray-core/app/dns.(*Client).QueryIP(0x3105aea81180, {0x188b050?, 0x3105aed54510?}, {0x3105cdcbed80, 0x403}, {0x30?, 0x9e?, 0x11?})
github.com/xtls/xray-core/app/dns/nameserver_doh.go:238 +0x45
github.com/xtls/xray-core/app/dns.(*DoHNameServer).QueryIP(0x188b050?, {0x188b050?, 0x3105d8c39770?}, {0x3105cdcbed80?, 0x3105c9178768?}, {0xf4?, 0x95?, 0x42?})
github.com/xtls/xray-core/app/dns/nameserver_cached.go:47 +0x6d1
github.com/xtls/xray-core/app/dns.queryIP({0x188b050, 0x3105d8c39770}, {0x187eee8, 0x3105ae8bc540}, {0x3105cdcbed80?, 0x17050a0?}, {0x1?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns/nameserver_cached.go:68
github.com/xtls/xray-core/app/dns.fetch(...)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:113 +0x145
golang.org/x/sync/singleflight.(*Group).Do(0x3105aea812b8, {0x3105cdcbf680, 0x405}, 0x3105cf19a640)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:205 +0x99
golang.org/x/sync/singleflight.(*Group).doCall(0x15e3f60?, 0x3105b0203740?, {0x3105cdcbf680?, 0x405?}, 0x404?)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:170 +0x29b
golang.org/x/sync/singleflight.(*Group).doCall.func1()
goroutine 4727866 [running]:

github.com/xtls/xray-core/app/proxyman/inbound/worker.go:142 +0x7a
created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 4727862
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:123 +0xdad
github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0x3105af038000, {0x1897b20, 0x3105e9b4c4b0})
github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:633 +0x23bf
github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0x3105ae7f62d0, {0x188b050, 0x3105d8c54510}, 0x187e680?, {0x1897230, 0x3105d8c544b0}, {0x1890380, 0x3105af00cf10})
github.com/xtls/xray-core/common/mux/server.go:64 +0xda
github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x1897440?, {0x188b050?, 0x3105d8c39650?}, {{0x188b5d8?, 0x3105b9a6a2dc?}, 0xf800?, 0x3105?}, 0x2?)
github.com/xtls/xray-core/app/dispatcher/default.go:372 +0x872
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0x3105aed485f0, {0x188b050, 0x3105d8c39650}, {{0x188b5d8?, 0x3105b9a6a2dc?}, 0x9640?, 0x3105?}, 0x3105b056f820)
github.com/xtls/xray-core/app/dispatcher/default.go:504 +0xb26
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0x3105aed485f0, {0x188b050, 0x3105d8c39650}, 0x3105b056f820, {{0x188b130, 0x3105d233e370}, 0x1bb, 0x2})
github.com/xtls/xray-core/app/proxyman/outbound/handler.go:242 +0x992
github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0x3105aec06cf0, {0x188b050, 0x3105d8c39650}, 0x3105b056f820)
github.com/xtls/xray-core/proxy/freedom/freedom.go:297 +0x8cc
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process(0x3105af033950, {0x188b050, 0x3105d8c39650}, 0x3105b056f820, {0x1888390, 0x3105aec06cf0})
github.com/xtls/xray-core/common/retry/retry.go:27 +0xc3
github.com/xtls/xray-core/common/retry.(*retryer).On(0x3105cf19b070, 0x3105cf19b0a0)
github.com/xtls/xray-core/proxy/freedom/freedom.go:304 +0x24b
github.com/xtls/xray-core/proxy/freedom.(*Handler).Process.func1()
github.com/xtls/xray-core/transport/internet/dialer.go:92 +0x272
github.com/xtls/xray-core/transport/internet.LookupForIP({0x3105cdcbed80, 0x403}, 0x7, {0x0, 0x0?})
github.com/xtls/xray-core/app/dns/dns.go:263 +0x4f8
github.com/xtls/xray-core/app/dns.(*DNS).LookupIP(0x3105aed2dd80, {0x3105cdcbed80, 0x18?}, {0x0?, 0x31?, 0x72?})
github.com/xtls/xray-core/app/dns/dns.go:371 +0x2ab
github.com/xtls/xray-core/app/dns.(*DNS).serialQuery(0x3105aed2dd80, {0x3105cdcbed80, 0x403}, {0x9c?, 0xbc?, 0x93?})
github.com/xtls/xray-core/app/dns/nameserver.go:184 +0x25b
github.com/xtls/xray-core/app/dns.(*Client).QueryIP(0x3105aea81180, {0x188b050?, 0x3105aed54510?}, {0x3105cdcbed80, 0x403}, {0x30?, 0x9e?, 0x11?})
github.com/xtls/xray-core/app/dns/nameserver_doh.go:238 +0x45
github.com/xtls/xray-core/app/dns.(*DoHNameServer).QueryIP(0x188b050?, {0x188b050?, 0x3105d8c39770?}, {0x3105cdcbed80?, 0x3105c9178768?}, {0xf4?, 0x95?, 0x42?})
github.com/xtls/xray-core/app/dns/nameserver_cached.go:47 +0x6d1
github.com/xtls/xray-core/app/dns.queryIP({0x188b050, 0x3105d8c39770}, {0x187eee8, 0x3105ae8bc540}, {0x3105cdcbed80?, 0x17050a0?}, {0x1?, 0x0?, 0x0?})
github.com/xtls/xray-core/app/dns/nameserver_cached.go:68
github.com/xtls/xray-core/app/dns.fetch(...)
golang.org/x/sync@v0.20.0/singleflight/singleflight.go:113 +0x145
golang.org/x/sync/singleflight.(*Group).Do(0x3105aea812b8, {0x3105cdcbf680, 0x405}, 0x3105cf19a640)
2026/05/27 20:50:25 DEBUG - X-UI: Core crash detected: panic: creating name: insufficient data for calculated length type runtime/debug.Stack(...) runtime/debug/stack.go:26 golang.org/x/sync/singleflight.newPanicError(...) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:44 golang.org/x/sync/singleflight.(*Group).doCall.func2.1() golang.org/x/sync@v0.20.0/singleflight/singleflight.go:193 +0x90 panic({0x150e3e0?, 0x3105d233e430?}) runtime/panic.go:860 +0x46a golang.org/x/net/dns/dnsmessage.MustNewName(...) golang.org/x/net@v0.53.0/dns/dnsmessage/message.go:1952 github.com/xtls/xray-core/app/dns.buildReqMsgs({0x3105cdcbf200, 0x404}, {0x0?, 0x0?, 0x0?}, 0x3105cf19a150, 0x3105c82bcea0) github.com/xtls/xray-core/app/dns/dnscommon.go:132 +0xc0a github.com/xtls/xray-core/app/dns.(*DoHNameServer).sendQuery(0x3105ae8bc540, {0x188b050, 0x3105d8c39770}, 0x3105cd64ebd0, {0x3105cdcbf200, 0x404}, {0xcd?, 0x9e?, 0x6e?}) github.com/xtls/xray-core/app/dns/nameserver_doh.go:147 +0x265 github.com/xtls/xray-core/app/dns.doFetch({0x188b050, 0x3105d8c39770}, {0x187eee8, 0x3105ae8bc540}, {0x3105cdcbf200, 0x404}, {0x28?, 0xa7?, 0x51?}) github.com/xtls/xray-core/app/dns/nameserver_cached.go:103 +0x284 github.com/xtls/xray-core/app/dns.queryIP.fetch.func1() github.com/xtls/xray-core/app/dns/nameserver_cached.go:69 +0x46 golang.org/x/sync/singleflight.(*Group).doCall.func2(0x3105cf19a4ae, 0x3105b6b2fea0, 0x1?) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:198 +0x55 golang.org/x/sync/singleflight.(*Group).doCall(0x15e3f60?, 0x3105b0203740?, {0x3105cdcbf680?, 0x405?}, 0x404?) golang.org/x/sync@v0.20.0/singleflight/singleflight.go:200 +0x7e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions