Skip to content

无法切换xray版本 #301

@ZhangSir9901

Description

@ZhangSir9901

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

Debian 12
Xray-ui: v25.07.25 Xray: v25.6.8

全新安装,无法切换xray版本,也无法手动选择更新geoip。

在ssh模式下手动更新geoip,如下提示。

请输入选择 [0-23]: 17
/usr/local/xray-ui ~
SIGFPE: floating-point exception
PC=0x7f95955a6e8b m=0 sigcode=1
signal arrived during cgo execution
instruction bytes: 0x49 0xf7 0xf0 0x48 0x29 0xd1 0x48 0x89 0xf2 0x48 0x8d 0x84 0xe 0x0 0x8 0x0

goroutine 23 gp=0xc000107340 m=0 mp=0x1e22160 [syscall]:
runtime.cgocall(0xcbbe60, 0xc00005d600)
runtime/cgocall.go:167 +0x4b fp=0xc00005d5d8 sp=0xc00005d5a0 pc=0x473bcb
net._C2func_getaddrinfo(0xc0003598b0, 0x0, 0xc0003712f0, 0xc000117210)
_cgo_gotypes.go:109 +0x50 fp=0xc00005d600 sp=0xc00005d5d8 pc=0x6f5330
net._C_getaddrinfo.func1(...)
net/cgo_unix_cgo.go:84
net._C_getaddrinfo(0xc0003598b0, 0x0, 0xc0003712f0, 0xc000117210)
net/cgo_unix_cgo.go:84 +0x7b fp=0xc00005d648 sp=0xc00005d600 pc=0x6f5b7b
net.cgoLookupHostIP({0x1066a71, 0x3}, {0xc0001577b8, 0xe})
net/cgo_unix.go:182 +0x1fd fp=0xc00005d750 sp=0xc00005d648 pc=0x6c473d
net.cgoLookupIP.func1()
net/cgo_unix.go:237 +0x25 fp=0xc00005d780 sp=0xc00005d750 pc=0x6c4de5
net.doBlockingWithCtx[...].func1()
net/cgo_unix.go:71 +0x56 fp=0xc00005d7e0 sp=0xc00005d780 pc=0x6f81b6
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x47edc1
created by net.doBlockingWithCtx[...] in goroutine 22
net/cgo_unix.go:68 +0x2bb

goroutine 1 gp=0xc000002380 m=nil [select]:
runtime.gopark(0xc000287478?, 0x2?, 0x12?, 0x43?, 0xc0002873ac?)
runtime/proc.go:435 +0xce fp=0xc000287238 sp=0xc000287218 pc=0x476e8e
runtime.selectgo(0xc000287478, 0xc0002873a8, 0x0?, 0x0, 0x200000000000000?, 0x1)
runtime/select.go:351 +0x837 fp=0xc000287370 sp=0xc000287238 pc=0x456177
net/http.(*Transport).getConn(0x1d9f300, 0xc000335b30, {{}, 0x0, {0x10a87a6, 0x5}, {0xc0001577b8, 0x12}, 0x0})
net/http/transport.go:1520 +0x4ae fp=0xc000287548 sp=0xc000287370 pc=0x863a0e
net/http.(*Transport).roundTrip(0x1d9f300, 0xc000330780)
net/http/transport.go:685 +0xb57 fp=0xc000287740 sp=0xc000287548 pc=0x85f737
net/http.(*Transport).RoundTrip(0x1e22160?, 0x173b920?)
net/http/roundtrip.go:30 +0x13 fp=0xc000287760 sp=0xc000287740 pc=0x86ea73
net/http.send(0xc000330780, {0x173b920, 0x1d9f300}, {0x670d01?, 0x10a87ae?, 0x0?})
net/http/client.go:259 +0x5e2 fp=0xc000287950 sp=0xc000287760 pc=0x7faba2
net/http.(*Client).send(0x1e1ecc0, 0xc000330780, {0x33?, 0x1?, 0x0?})
net/http/client.go:180 +0x91 fp=0xc0002879c8 sp=0xc000287950 pc=0x7fa451
net/http.(*Client).do(0x1e1ecc0, 0xc000330780)
net/http/client.go:728 +0x989 fp=0xc000287bb8 sp=0xc0002879c8 pc=0x7fca69
net/http.(*Client).Do(...)
net/http/client.go:587
net/http.(*Client).Get(0x1e1ecc0, {0x10a87a6?, 0x0?})
net/http/client.go:484 +0x5f fp=0xc000287c08 sp=0xc000287bb8 pc=0x7fbf7f
net/http.Get(...)
net/http/client.go:453
xray-ui/web/service.(*ServerService).GetLatestVersion(0xc000156fd8?)
xray-ui/web/service/server.go:335 +0x4e fp=0xc000287cc8 sp=0xc000287c08 pc=0xa910ae
main.UpdateAllip()
./main.go:270 +0x7f fp=0xc000287dc0 sp=0xc000287cc8 pc=0xc4f65f
main.main()
./main.go:441 +0xae9 fp=0xc000287f50 sp=0xc000287dc0 pc=0xc50809
runtime.main()
runtime/proc.go:283 +0x28b fp=0xc000287fe0 sp=0xc000287f50 pc=0x443d6b
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000287fe8 sp=0xc000287fe0 pc=0x47edc1

goroutine 2 gp=0xc000002e00 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:435 +0xce fp=0xc000060fa8 sp=0xc000060f88 pc=0x476e8e
runtime.goparkunlock(...)
runtime/proc.go:441
runtime.forcegchelper()
runtime/proc.go:348 +0xb3 fp=0xc000060fe0 sp=0xc000060fa8 pc=0x4440b3
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000060fe8 sp=0xc000060fe0 pc=0x47edc1
created by runtime.init.7 in goroutine 1
runtime/proc.go:336 +0x1a

goroutine 3 gp=0xc000003340 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:435 +0xce fp=0xc000061780 sp=0xc000061760 pc=0x476e8e
runtime.goparkunlock(...)
runtime/proc.go:441
runtime.bgsweep(0xc00008a000)
runtime/mgcsweep.go:276 +0x94 fp=0xc0000617c8 sp=0xc000061780 pc=0x42dd94
runtime.gcenable.gowrap1()
runtime/mgc.go:204 +0x25 fp=0xc0000617e0 sp=0xc0000617c8 pc=0x422245
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc0000617e8 sp=0xc0000617e0 pc=0x47edc1
created by runtime.gcenable in goroutine 1
runtime/mgc.go:204 +0x66

goroutine 4 gp=0xc000003500 m=nil [GC scavenge wait]:
runtime.gopark(0xc00008a000?, 0x1733138?, 0x1?, 0x0?, 0xc000003500?)
runtime/proc.go:435 +0xce fp=0xc000061f78 sp=0xc000061f58 pc=0x476e8e
runtime.goparkunlock(...)
runtime/proc.go:441
runtime.(*scavengerState).park(0x1e1fd80)
runtime/mgcscavenge.go:425 +0x49 fp=0xc000061fa8 sp=0xc000061f78 pc=0x42b829
runtime.bgscavenge(0xc00008a000)
runtime/mgcscavenge.go:653 +0x3c fp=0xc000061fc8 sp=0xc000061fa8 pc=0x42bd9c
runtime.gcenable.gowrap2()
runtime/mgc.go:205 +0x25 fp=0xc000061fe0 sp=0xc000061fc8 pc=0x4221e5
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x47edc1
created by runtime.gcenable in goroutine 1
runtime/mgc.go:205 +0xa5

goroutine 18 gp=0xc000106380 m=nil [finalizer wait]:
runtime.gopark(0x1b8?, 0x4462de?, 0x1?, 0x23?, 0xc000060688?)
runtime/proc.go:435 +0xce fp=0xc000060630 sp=0xc000060610 pc=0x476e8e
runtime.runfinq()
runtime/mfinal.go:196 +0x107 fp=0xc0000607e0 sp=0xc000060630 pc=0x421207
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc0000607e8 sp=0xc0000607e0 pc=0x47edc1
created by runtime.createfing in goroutine 1
runtime/mfinal.go:166 +0x3d

goroutine 19 gp=0xc0001068c0 m=nil [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:435 +0xce fp=0xc00005c718 sp=0xc00005c6f8 pc=0x476e8e
runtime.chanrecv(0xc000102460, 0x0, 0x1)
runtime/chan.go:664 +0x445 fp=0xc00005c790 sp=0xc00005c718 pc=0x413965
runtime.chanrecv1(0x0?, 0x0?)
runtime/chan.go:506 +0x12 fp=0xc00005c7b8 sp=0xc00005c790 pc=0x4134f2
runtime.unique_runtime_registerUniqueMapCleanup.func2(...)
runtime/mgc.go:1797
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
runtime/mgc.go:1800 +0x2f fp=0xc00005c7e0 sp=0xc00005c7b8 pc=0x42538f
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x47edc1
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
runtime/mgc.go:1795 +0x79

goroutine 20 gp=0xc000106e00 m=nil [select]:
runtime.gopark(0xc00005cf88?, 0x2?, 0x0?, 0x0?, 0xc00005cf84?)
runtime/proc.go:435 +0xce fp=0xc00005ce18 sp=0xc00005cdf8 pc=0x476e8e
runtime.selectgo(0xc00005cf88, 0xc00005cf80, 0x0?, 0x0, 0x0?, 0x1)
runtime/select.go:351 +0x837 fp=0xc00005cf50 sp=0xc00005ce18 pc=0x456177
database/sql.(*DB).connectionOpener(0xc00032aea0, {0x17436a8, 0xc000267180})
database/sql/sql.go:1261 +0x87 fp=0xc00005cfb8 sp=0xc00005cf50 pc=0x5425c7
database/sql.OpenDB.gowrap1()
database/sql/sql.go:841 +0x28 fp=0xc00005cfe0 sp=0xc00005cfb8 pc=0x540948
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x47edc1
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130

goroutine 21 gp=0xc000106fc0 m=nil [select]:
runtime.gopark(0xc0001335b8?, 0x2?, 0x14?, 0xad?, 0xc000133470?)
runtime/proc.go:435 +0xce fp=0xc0001332f8 sp=0xc0001332d8 pc=0x476e8e
runtime.selectgo(0xc0001335b8, 0xc00013346c, 0x12?, 0x0, 0x0?, 0x1)
runtime/select.go:351 +0x837 fp=0xc000133430 sp=0xc0001332f8 pc=0x456177
net.(*Resolver).lookupIPAddr(0x1e1e760, {0x1743718, 0xc0002bf570}, {0x1066a71, 0x3}, {0xc0001577b8, 0xe})
net/lookup.go:342 +0x3d9 fp=0xc000133610 sp=0xc000133430 pc=0x6e0a39
net.(*Resolver).internetAddrList(0x1e1e760?, {0x1743718?, 0xc0002bf570?}, {0x1066a71, 0x3}, {0xc0001577b8?, 0x41b7a5?})
net/ipsock.go:289 +0x4c5 fp=0xc000133708 sp=0xc000133610 pc=0x6de645
net.(*Resolver).resolveAddrList(0x1e1e760, {0x1743718, 0xc0002bf570}, {0x106784b, 0x4}, {0x1066a71?, 0x0?}, {0xc0001577b8, 0x12}, {0x0, ...})
net/dial.go:353 +0x3e5 fp=0xc000133808 sp=0xc000133708 pc=0x6c84a5
net.(*Dialer).DialContext(0xc000174990, {0x17436a8, 0xc000335b80}, {0x1066a71, 0x3}, {0xc0001577b8, 0x12})
net/dial.go:560 +0x408 fp=0xc000133978 sp=0xc000133808 pc=0x6c9248
net.(*Dialer).DialContext-fm({0x17436a8?, 0xc000335b80?}, {0x1066a71?, 0x1e48300?}, {0xc0001577b8?, 0xc000070a18?})
:1 +0x49 fp=0xc0001339c0 sp=0xc000133978 pc=0x87cec9
net/http.(*Transport).dial(0x4749d2?, {0x17436a8?, 0xc000335b80?}, {0x1066a71?, 0x1028d00?}, {0xc0001577b8?, 0x45e93e?})
net/http/transport.go:1278 +0xd2 fp=0xc000133a28 sp=0xc0001339c0 pc=0x862a52
net/http.(*Transport).dialConn(0x1d9f300, {0x17436a8, 0xc000335b80}, {{}, 0x0, {0x10a87a6, 0x5}, {0xc0001577b8, 0x12}, 0x0})
net/http/transport.go:1780 +0x7e5 fp=0xc000133ee0 sp=0xc000133a28 pc=0x865a25
net/http.(*Transport).dialConnFor(0x1d9f300, 0xc000367600)
net/http/transport.go:1615 +0xb8 fp=0xc000133f90 sp=0xc000133ee0 pc=0x864538
net/http.(*Transport).startDialConnForLocked.func1()
net/http/transport.go:1597 +0x35 fp=0xc000133fe0 sp=0xc000133f90 pc=0x864375
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000133fe8 sp=0xc000133fe0 pc=0x47edc1
created by net/http.(*Transport).startDialConnForLocked in goroutine 1
net/http/transport.go:1596 +0x112

goroutine 22 gp=0xc000107180 m=nil [select]:
runtime.gopark(0xc000135b60?, 0x2?, 0x0?, 0x0?, 0xc000135abc?)
runtime/proc.go:435 +0xce fp=0xc000135948 sp=0xc000135928 pc=0x476e8e
runtime.selectgo(0xc000135b60, 0xc000135ab8, 0x3?, 0x0, 0x0?, 0x1)
runtime/select.go:351 +0x837 fp=0xc000135a80 sp=0xc000135948 pc=0x456177
net.doBlockingWithCtx[...]({0x17436a8, 0xc000335bd0}, {0xc0001577b8, 0xe}, 0xc000371290)
net/cgo_unix.go:75 +0x347 fp=0xc000135bc0 sp=0xc000135a80 pc=0x6f7e27
net.cgoLookupIP({0x17436a8, 0xc000335bd0}, {0x1066a71, 0x3}, {0xc0001577b8, 0xe})
net/cgo_unix.go:236 +0xa5 fp=0xc000135c00 sp=0xc000135bc0 pc=0x6c4d65
net.(*Resolver).lookupIP(0x1e1e760, {0x17436a8, 0xc000335bd0}, {0x1066a71, 0x3}, {0xc0001577b8, 0xe})
net/lookup_unix.go:66 +0xe5 fp=0xc000135e58 sp=0xc000135c00 pc=0x6e4305
net.(*Resolver).lookupIP-fm({0x17436a8?, 0xc000335bd0?}, {0x1066a71?, 0xc000367678?}, {0xc0001577b8?, 0xc00005d6b0?})
:1 +0x49 fp=0xc000135ea0 sp=0xc000135e58 pc=0x6fdb29
net.init.func1({0x17436a8?, 0xc000335bd0?}, 0xc000335b80?, {0x1066a71?, 0x10a87a6?}, {0xc0001577b8?, 0xc0001577b8?})
net/hook.go:21 +0x37 fp=0xc000135ee0 sp=0xc000135ea0 pc=0x6c24f7
net.(*Resolver).lookupIPAddr.func1()
net/lookup.go:334 +0x37 fp=0xc000135f38 sp=0xc000135ee0 pc=0x6e12f7
internal/singleflight.(*Group).doCall(0x1e1e770, 0xc000335c20, {0xc0001577d0, 0x12}, 0x0?)
internal/singleflight/singleflight.go:93 +0x34 fp=0xc000135fa8 sp=0xc000135f38 pc=0x6c1614
internal/singleflight.(*Group).DoChan.gowrap1()
internal/singleflight/singleflight.go:86 +0x30 fp=0xc000135fe0 sp=0xc000135fa8 pc=0x6c15b0
runtime.goexit({})
runtime/asm_amd64.s:1700 +0x1 fp=0xc000135fe8 sp=0xc000135fe0 pc=0x47edc1
created by internal/singleflight.(*Group).DoChan in goroutine 21
internal/singleflight/singleflight.go:86 +0x2d3

rax 0xffffffffffffffff
rbx 0x0
rcx 0xffffffffffffffff
rdx 0x0
rdi 0x800000
rsi 0x1000
rbp 0x7ffe8b37c920
rsp 0x7ffe8b37c880
r8 0x0
r9 0x7
r10 0x7ffe8b37c880
r11 0x246
r12 0x3
r13 0x18
r14 0x1
r15 0x251cc340
rip 0x7f95955a6e8b
rflags 0x10297
cs 0x33
fs 0x0
gs 0x0
重启重新加载更新文件

Version of xray-ui

Details
# Paste here

xray-ui log reports or xray log

Details
# paste log here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions