8000 xray core stoped randomly when sniffing is enabled · Issue #3914 · XTLS/Xray-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xray core stoped randomly when sniffing is enabled #3914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
ssmetall opened this issue Oct 15, 2024 · 50 comments
Open
4 tasks done

xray core stoped randomly when sniffing is enabled #3914

ssmetall opened this issue Oct 15, 2024 · 50 comments

Comments

@ssmetall
Copy link
ssmetall commented Oct 15, 2024

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 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

There is a big problem in versions 24.9.30, 24.9.19, 24, 9.16 (version 1.8.24 and
24.9.7 are not a problem), when the tls sniffing feature is active on a high-traffic server with about 100 online users with 5000 open connections, the xray core crashes randomly for 5 to 10 minutes and the xray must be run again (my server resources It is good and there is no shortage (8 cores with 16 gigs of RAM), I checked this problem on a low traffic server and it takes hours for the core to stop working. Also, all my users use mux The problem does not occur when Sniff is turned off and the core is active for days.

Client config


{
  "log": {
    "access": "",
    "error": "",
    "loglevel": "warning"
  },
  "dns": {
    "servers": [
      "1.1.1.1",
      "8.8.8.8"
    ],
    "queryStrategy": "UseIPv4"
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ],
        "routeOnly": false
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    },
    {
      "tag": "http",
      "port": 10809,
      "listen": "127.0.0.1",
      "protocol": "http",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ],
        "routeOnly": false
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "",
            "port": 443,
            "users": [
              {
                "id": "",
                "alterId": 0,
                "email": "t@t.tt",
                "security": "auto",
                "encryption": "none"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "allowInsecure": true,
          "fingerprint": "chrome",
          "serverName": ""
        },
        "wsSettings": {
          "headers": {
            "Host": ""          },
          "path": "/?ed=2560"
        },
        "sockopt": {
          "dialerProxy": "fragment0",
          "tcpKeepAliveIdle": 100,
          "mark": 255,
          "tcpNoDelay": true
        }
      },
      "mux": {
        "concurrency": 8,
        "enabled": true,
        "xudpConcurrency": 8,
        "xudpProxyUDP443": "reject"
      }
    },
    {
      "tag": "fragment0",
      "protocol": "freedom",
      "settings": {
        "domainStrategy": "AsIs",
        "fragment": {
          "packets": "1-1",
          "length": "1-10",
          "interval": "1-10"
        }
      },
      "streamSettings": {
        "sockopt": {
          "tcpNoDelay": true,
          "tcpKeepAliveIdle": 100
        }
      }
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch"
  },
  "remarks": ""
}

Server config


{
  "inbounds": [
    {
      "listen": null,
      "port": 8080,
      "protocol": "vless",
      "settings": {
        "clients": [
        ],
        "decryption": "none",
        "fallbacks": []
      },
      "sniffing": {
        "destOverride": [
          "tls"
        ],
        "enabled": true,
        "metadataOnly": false,
        "routeOnly": false
      },
      "streamSettings": {
        "network": "ws",
        "security": "none",
        "wsSettings": {
          "acceptProxyProtocol": false,
          "headers": {},
          "host": "",
          "path": "/"
        }
      },
      "tag": "inbound-8080"
    }
  ],
  "log": {
    "access": "none",
    "error": "/root/error.log",
    "loglevel": "debug"
  },
  "observatory": null,
  "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": "IPIfNonMatch",
    "rules": [
      {
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "type": "field"
      },
      {
        "outboundTag": "blocked",
        "protocol": [
          "bittorrent"
        ],
        "type": "field"
      }
    ]
  },
  "stats": {},
  "transport": null
}

Server log

serverroot.txt
xray-debug2.log

@ssmetall
Copy link
Author

please check this problem
@mmmray @yuhan6665 @RPRX

@Fangliding
Copy link
Member

dup #3904

@Fangliding Fangliding closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
@ssmetall
Copy link
Author

dup #3904

What exactly is the connection between #3904 and my problem?

@Fangliding
Copy link
Member

dup #3904

What exactly is the connection between #3904 and my problem?

See the pull request comment(if you understand)

@MHSanaei
Copy link
Contributor

@sssagsag Bro, just download that PR build and test it.
https://github.com/XTLS/Xray-core/actions/runs/11339237462

@ssmetall
Copy link
Author

@sssagsag Bro, just download that PR build and test it. https://github.com/XTLS/Xray-core/actions/runs/11339237462

Yes, I will definitely test it now

@ssmetall
Copy link
Author

@sssagsag Bro, just download that PR build and test it. https://github.com/XTLS/Xray-core/actions/runs/11339237462

The problem is not solved, the core is stopped one after another

@ssmetall
Copy link
Author

dup #3904

What exactly is the connection between #3904 and my problem?

See the pull request comment(if you understand)

The problem is not solved, the core is stopped one after another

@Fangliding
Copy link
Member

I need to see new log file

@ssmetall
Copy link
Author

I need to see new log file

OK, I will capture it and send it to you

@ssmetall
Copy link
Author

I need to see new log file

newxray.txt
xray-debugnew.log

@Fangliding
Copy link
Member

I understand, I'll handle it tomorrow

@Fangliding Fangliding reopened this Oct 15, 2024
@ssmetall
Copy link
Author

I understand, I'll handle it tomorrow

thank you sir

@Fangliding
Copy link
Member

Try this version https://github.com/XTLS/Xray-core/actions/runs/11358760914

@ssmetall
Copy link
Author

Try this version https://github.com/XTLS/Xray-core/actions/runs/11358760914
Is this version that you builded different from the new 24.10.16?

@Fangliding
Copy link
Member

Try this version https://github.com/XTLS/Xray-core/actions/runs/11358760914
Is this version that you builded different from the new 24.10.16?

It's a test version, not on the main branch, not included in 24.10.16

@Fangliding
Copy link
Member

log

@ssmetall
Copy link
Author
ssmetall commented Oct 16, 2024

log

I put your modified your xray core on one super high-traffic server and it has been online for about 5 hour now, and apparently the problem has been completely solved.

@ssmetall
Copy link
Author
ssmetall commented Oct 16, 2024

Try this version https://github.com/XTLS/Xray-core/actions/runs/11358760914

10 hours online without any problem with the worst route and the worst possible settings and the large number of online users, the problem is completely solved, thank you for your attention , please add to main branch

@RPRX
Copy link
Member
RPRX commented Oct 17, 2024

@Fangliding 开个 pr

@w0l4i
Copy link
w0l4i commented Oct 18, 2024

i guess i have a similar issue :

xray core v24.9.30

github.com/xtls/xray-core/common/task/task.go:12 +0x22 github.com/xtls/xray-core/common/task.Run.func1(0xc0066067e0?) github.com/xtls/xray-core/common/task/task.go:28 +0x28 created by github.com/xtls/xray-core/common/task.Run in goroutine 23562 github.com/xtls/xray-core/common/task/task.go:27 +0xdb goroutine 24996 [select]: github.com/xtls/xray-core/transport/internet/splithttp.(*requestHandler).ServeHTTP(0xc00118eb40, {0x153af30, 0xc005fa3d88}, 0xc005736140) github.com/xtls/xray-core/transport/internet/splithttp/hub.go:217 +0xdea golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP({{0x152d320?, 0xc00118eb40?}, 0xc001caf140?}, {0x153af30, 0xc005fa3d88}, 0xc005736140) golang.org/x/net@v0.29.0/http2/h2c/h2c.go:125 +0x673 net/http.serverHandler.ServeHTTP({0x1ff?}, {0x153af30?, 0xc005fa3d88?}, 0xc000492000?) net/http/server.go:3210 +0x8e net/http.initALPNRequest.ServeHTTP({{0x153d300?, 0xc0032aeb40?}, 0xc000122e08?, {0xc000134288?}}, {0x153af30, 0xc005fa3d88}, 0xc005736140) net/http/server.go:3819 +0x231 net/http.(*http2serverConn).runHandler(0x445edb?, 0x0?, 0x0?, 0x0?) net/http/h2_bundle.go:6249 +0xf5 created by net/http.(*http2serverConn).scheduleHandler in goroutine 23156 net/http/h2_bundle.go:6183 +0x21d goroutine 21880 [select, 2 minutes]: github.com/xtls/xray-core/common/task.Run({0x153d300, 0xc006155d70}, {0xc005a9bec8, 0x2, 0xc006e79bb0?}) github.com/xtls/xray-core/common/task/task.go:48 +0x265 github.com/xtls/xray-core/proxy/vmess/inbound.(*Handler).Process(0xc00032fa40, {0x153d300, 0xc0062bd3b0}, 0x151dbd0?, {0x1544698, 0xc00015d8a0}, {0x153f720, 0xc000045490}) github.com/xtls/xray-core/proxy/vmess/inbound/inbound.go:298 +0xdef github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0xc000e8b540, {0x1544698, 0xc00015d8a0}) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:109 +0x5e7 created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 11 github.com/xtls/xray-core/app/proxyman/inbound/worker.go:123 +0x7a goroutine 25381 [select]: github.com/xtls/xray-core/transport/pipe.(*pipe).ReadMultiBuffer(0xc004b71b30) github.com/xtls/xray-core/transport/pipe/impl.go:100 +0xeb github.com/xtls/xray-core/transport/pipe.(*Reader).ReadMultiBuffer(0xc004b2a540?) github.com/xtls/xray-core/transport/pipe/reader.go:16 +0x16 github.com/xtls/xray-core/common/buf.copyInternal({0x152b600, 0xc0071af2d8}, {0x152d9c0, 0xc004b2a540}, 0xc00711d848) github.com/xtls/xray-core/common/buf/copy.go:93 +0x5b github.com/xtls/xray-core/common/buf.Copy({0x152b600, 0xc0071af2d8}, {0x152d9c0, 0xc004b2a540}, {0xc00423df58, 0x1, 0xc004b2a4e0?}) github.com/xtls/xray-core/common/buf/copy.go:116 +0x98 github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process.func5() github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:567 +0x3ff github.com/xtls/xray-core/common/task.Run.func1(0xc006553f50?) github.com/xtls/xray-core/common/task/task.go:28 +0x28 created by github.com/xtls/xray-core/common/task.Run in goroutine 25332 github.com/xtls/xray-core/common/task/task.go:27 +0xdb goroutine 17308 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7c72e93d27d8, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc004d1a900?, 0xc001efe000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc004d1a900, {0xc001efe000, 0x2000, 0x2000}) internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc004d1a900, {0xc001efe000?, 0x410845?, 0x30?}) net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc002625928, {0xc001efe000?, 0x2000?, 0xc001efe000?}) net/net.go:189 +0x45 github.com/xtls/xray-core/common/buf.(*Buffer).ReadFrom(...) github.com/xtls/xray-core/common/buf/buffer.go:295 github.com/xtls/xray-core/common/buf.ReadBuffer({0x152d820, 0xc002625928}) github.com/xtls/xray-core/common/buf/reader.go:30 +0x66 github.com/xtls/xray-core/common/buf.(*ReadVReader).ReadMultiBuffer(0xc0066b3bd0) github.com/xtls/xray-core/common/buf/readv_reader.go:125 +0x65 github.com/xtls/xray-core/common/buf.copyInternal({0x152da40, 0xc0066b3bd0}, {0x152b660, 0xc001473dc0}, 0xc006d61f20) github.com/xtls/xray-core/common/buf/copy.go:93 +0x5b github.com/xtls/xray-core/common/buf.Copy({0x152da40, 0xc0066b3bd0}, {0x152b660, 0xc001473dc0}, {0xc004cb2f30, 0x1, 0x10c3d80?}) github.com/xtls/xray-core/common/buf/copy.go:116 +0x98 github.com/xtls/xray-core/proxy/wireguard.(*Handler).Process.func3() github.com/xtls/xray-core/proxy/wireguard/client.go:206 +0xf9 github.com/xtls/xray-core/proxy/wireguard.(*Handler).Process.OnSuccess.func7() github.com/xtls/xray-core/common/task/task.go:12 +0x22 github.com/xtls/xray-core/common/task.Run.func1(0x24?) github.com/xtls/xray-core/common/task/task.go:28 +0x28 created by github.com/xtls/xray-core/common/task.Run in goroutine 17301 github.com/xtls/xray-core/common/task/task.go:27 +0xdb goroutine 17295 [select, 4 minutes]: github.com/xtls/xray-core/transport/internet/splithttp.(*requestHandler).ServeHTTP(0xc00118eb40, {0x153af30, 0xc0026257c8}, 0xc0065b9900) github.com/xtls/xray-core/transport/internet/splithttp/hub.go:217 +0xdea golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP({{0x152d320?, 0xc00118eb40?}, 0xc001caf140?}, {0x153af30, 0xc0026257c8}, 0xc0065b9900) golang.org/x/net@v0.29.0/http2/h2c/h2c.go:125 +0x673 net/http.serverHandler.ServeHTTP({0x0?}, {0x153af30?, 0xc0026257c8?}, 0xc0011fa300?) net/http/server.go:3210 +0x8e net/http.initALPNRequest.ServeHTTP({{0x153d300?, 0xc004ce9380?}, 0xc000004708?, {0xc000134288?}}, {0x153af30, 0xc0026257c8}, 0xc0065b9900) net/http/server.go:3819 +0x231 net/http.(*http2serverConn).runHandler(0xaad7e8?, 0xc000e8b540?, 0x1544698?, 0xc000284b00?) net/http/h2_bundle.go:6249 +0xf5 created by net/http.(*http2serverConn).scheduleHandler in goroutine 12548 net/http/h2_bundle.go:6183 +0x21d goroutine 19879 [select, 2 minutes]: github.com/xtls/xray-core/common/task.Run({0x153d338, 0xc006655900}, {0xc003e87cd0, 0x2, 0xc000199480?}) github.com/xtls/xray-core/common/task/task.go:48 +0x265 github.com/xtls/xray-core/proxy/wireguard.(*Handler).Process(0xc0001dcee0, {0x153d300, 0xc003fe48a0}, 0xc00695edc0, {0x153a640, 0xc000199480}) github.com/xtls/xray-core/proxy/wireguard/client.go:230 +0xc85 github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0xc000199480, {0x153d300, 0xc003fe48a0}, 0xc00695edc0) github.com/xtls/xray-core/app/proxyman/outbound/handler.go:211 +0x388 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0xc0010e6c00, {0x153d300, 0xc003fe48a0}, 0xc00695edc0, {{0x153d450, 0xc00321458c}, 0x35, 0x3})

@ssmetall
Copy link
Author
ssmetall commented Oct 23, 2024

Try this version https://github.com/XTLS/Xray-core/actions/runs/11358760914

Since I put your modified core on the server a few days ago, the kernel has stopped 3 times. Please see the log file.
output.txt

@Fangliding
Copy link
Member

This log is incomplete and lacks the key information

@ssmetall
Copy link
Author

This log is incomplete and lacks the key information

The log is 25 GB in size and I am unable to extract it.

@Fangliding
Copy link
Member

Logs can be truncated, but they should be truncated at the end rather than the beginning

@ssmetall
Copy link
Author

Logs can be truncated, but they should be truncated at the end rather than the beginning

I put the error data at times, but some of them have disappeared, what mode do you suggest to diagnose the problem and make the log smaller? no i use debug mode

@w0l4i
Copy link
w0l4i commented Oct 31, 2024

Does this fixed on latest release ?

@ssmetall
Copy link
Author

Does this fixed on latest release ?

I put the new version on high traffic servers to see if it is fixed or not

@RPRX
Copy link
Member
RPRX commented Oct 31, 2024

Does this fixed on latest release ?

解决了,但还没根治,这个 issue 需要继续保持 open

@w0l4i
Copy link
w0l4i commented Oct 31, 2024

Does this fixed on latest release ?

解决了,但还没根治,这个 issue 需要继续保持 open

Can we use mux and snifing on or mux is still unstable the core ?

Tnx for your help

@ssmetall
Copy link
Author

Does this fixed on latest release ?

I put the new version on high traffic servers to see if it is fixed or not

version v24.10.31 stopped after 5 hours with 5 high load server

@ssmetall
Copy link
Author
ssmetall commented Nov 1, 2024

after 24 hours xray running core is stoped
2024/11/01 15:45:38 DEBUG - XRAY: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0xc001d96000, 0x4b0, 0x2000})
2024/11/01 15:45:38 DEBUG - XRAY: panic: runtime error: slice bounds out of range [18:17]

@ImMohammad20000
Copy link
ImMohammad20000 commented Nov 1, 2024

after 24 hours xray running core is stoped
2024/11/01 15:45:38 DEBUG - XRAY: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0xc001d96000, 0x4b0, 0x2000})
2024/11/01 15:45:38 DEBUG - XRAY: panic: runtime error: slice bounds out of range [18:17]

Do you use quic sniffer?
if the answer is yes disable quick sniffer and test again

@Fangliding
Copy link
Member

Try this version https://github.com/XTLS/Xray-core/actions/runs/11645174316

@ssmetall
Copy link
Author
ssmetall commented Nov 6, 2024

Try this version https://github.com/XTLS/Xray-core/actions/runs/11645174316

I didn't test your version, I tested the new version 24.11.5 directly.

nohup: ignoring input
Xray 24.11.5 (Xray, Penetrates Everything.) afc7ec5 (go1.23.2 linux/amd64)
A unified platform for anti-censorship.
2024/11/06 08:03:07 [Info] infra/conf/serial: Reading config: &{Name:/root/config.json Format:json}
panic: runtime error: slice bounds out of range [90:89]

goroutine 44557 [running]:
github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0xc001a72000, 0x4e2, 0x2000})
github.com/xtls/xray-core/common/protocol/quic/sniff.go:162 +0x1ed0
github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0x80?, 0x13278a0?}, {0xc001a72000?, 0x1?, 0x4e2?})
github.com/xtls/xray-core/app/dispatcher/sniffer.go:41 +0x25
github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0xc003a2fe78, {0x1549c28, 0xc003befad0}, {0xc001a72000, 0x4e2, 0x2000}, 0x3)
github.com/xtls/xray-core/app/dispatcher/sniffer.go:65 +0xcc
github.com/xtls/xray-core/app/dispatcher.sniffer.func1({0x1549c28, 0xc003befad0}, 0xc003befb60, 0xc003befb90, 0xc003a2fe78, 0x3)
github.com/xtls/xray-core/app/dispatcher/default.go:383 +0x125
github.com/xtls/xray-core/app/dispatcher.sniffer({0x1549c28, 0xc003befad0}, 0xc003befb60, 0x0, 0x3)
github.com/xtls/xray-core/app/dispatcher/default.go:393 +0x116
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
github.com/xtls/xray-core/app/dispatcher/default.go:275 +0x10f
created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 44556
github.com/xtls/xray-core/app/dispatcher/default.go:270 +0x47f

@ssmetall
Copy link
Author
ssmetall commented Nov 6, 2024

Try this version https://github.com/XTLS/Xray-core/actions/runs/11645174316

I put this version and will keep you updated on the status.

@ssmetall
Copy link
Author
ssmetall commented Nov 6, 2024

Try this version https://github.com/XTLS/Xray-core/actions/runs/11645174316

after 4 hour online your version crash xray core seem sloved will keep you updated on the status.

@ssmetall
Copy link
Author
ssmetall commented Nov 6, 2024

update after 10 hours online without crash
{B90740C6-5DEE-4985-AA13-AF1126F7668F}

@ssmetall
Copy link
Author
ssmetall commented Nov 11, 2024

problem sloved , thanks to @Fangliding and @RPRX , now update 24.11.11 work perfectly

@RPRX
Copy link
Member
RPRX commented Nov 14, 2024

这个 issue 需要保持开启,#3908 #3921 #3978 这三个都只是治标,还没有治本。话说 @Fangliding 写一下 #3867 (comment)

@megasoheilsh
Copy link

这个 issue 需要保持开启,#3908 #3921 #3978 这三个都只是治标,还没有治本。话说 @Fangliding 写一下 #3867 (comment)

The sniffer problem has returned in version 24.4.30.
core stoped every 24 hours

slice bounds out of range [19:17] goroutine 16949393 [running]: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0x400465a000, 0x4e4, 0x8000}) github.com/xtls/xray-core/common/protocol/quic/sniff.go:163 +0x18ac github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0x0?, 0x0?}, {0x400465a000?, 0x401b82eb70?, 0x4020822d28?}) github.com/xtls/xray-core/app/dispatcher/sniffer.go:42 +0x2c github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0x4021ce80f0, {0x11158b8, 0x4023c954d0}, {0x400465a000, 0x4e4, 0x8000}, 0x3) github.com/xtls/xray-core/app/dispatcher/sniffer.go:66 +0xb0
github.com/xtls/xray-core/app/dispatcher.sniffer.func1(...)
github.com/xtls/xray-core/app/dispatcher/default.go:381
github.com/xtls/xray-core/app/dispatcher.sniffer({0x11158b8, 0x4023c954d0}, 0x4023c95560, 0x0, 0x3)
github.com/xtls/xray-core/app/dispatcher/default.go:398 +0x1dc
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
github.com/xtls/xray-core/app/dispatcher/default.go:273 +0xd8
created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 16949344
github.com/xtls/xray-core/app/dispatcher/default.go:268 +0x3d8

@Fangliding
Copy link
Member

将运行的核心更改为这个,发回新的错误报告
https://github.com/XTLS/Xray-core/actions/runs/14853156751/job/41700449290

@megasoheilsh
Copy link
megasoheilsh commented May 6, 2025

Change the running core to this one, post a new bug report https://github.com/XTLS/Xray-core/actions/runs/14853156751/job/41700449290

Thank you. I will try and announce the result.

@Fangliding
Copy link
Member

Image

@megasoheilsh
Copy link

Image

i see thanks

@megasoheilsh
Copy link
megasoheilsh commented May 6, 2025

将运行的核心更改为这个,发回新的错误报告 https://github.com/XTLS/Xray-core/actions/runs/14853156751/job/41700449290

not fixing

57 +0x144 panic({0xe62180?, 0x400f042e58?}) runtime/panic.go:792 +0x124 github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0x4009708000, 0x4e2, 0x8000}) github.com/xtls/xray-core/common/protocol/quic/sniff.go:173 +0x1938 github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0x0?, 0x0?}, {0x4009708000?, 0x400bd5f6e0?, 0x4007a2dd28?}) github.com/xtls/xray-core/app/dispatcher/sniffer.go:42 +0x2c github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0x401209b4e8, {0x1115a18, 0x4016868d20}, {0x4009708000, 0x4e2, 0x8000}, 0x3) github.com/xtls/xray-core/app/dispatcher/sniffer.go:66 +0xb0 github.com/xtls/xray-core/app/dispatcher.sniffer.func1(...) github.com/xtls/xray-core/app/dispatcher/default.go:381 github.com/xtls/xray-core/app/dispatcher.sniffer({0x1115a18, 0x4016868d20}, 0x4016868db0, 0x0, 0x3) github.com/xtls/xray-core/app/dispatcher/default.go:398 +0x1dc github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1() github.com/xtls/xray-core/app/dispatcher/default.go:273 +0xd8 created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 586769 github.com/xtls/xray-core/app/dispatcher/default.go:268 +0x3d8
runtime error: slice bounds out of range [92:89] [recovered] panic: runtime error: slice bounds out of range [92:89] goroutine 586770 [running]: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC.func1() github.com/xtls/xray-core/common/protocol/quic/sniff.go:
<--------------------- END QUIC BYTE -------------------->
[199 0 0 0 1 8 5 1 2 117 152 117 202 165 0 64 70 0 56 125 165 128 28 137 205 74 68 200 0 152 146 62 178 209 232 63 100 21 1 60 132 82 87 69 13 109 101 14 99 108 111 117 100 102 108 97 114 101 45 100 110 115 3 99 111 109 0 0 65 0 1 192 12 0 65 0 1 0 0 0 217 0 61 0 1 0 0 1 73 66 81 105 51 2 104 50 0 4 0 8 162 159 61 3 172 64 41 3 0 6 0 32 40 3 248 0 0 83 0 0 0 0 0 0 0 0 0 3 42 6 152 193 0 82 0 0 0 0 0 0 0 0 0 3 70 129 80 91 162 252 211 237 8 21 96 163 162 241 122 114 182 33 110 207 14 205 221 16 252 41 128 159 159 134 236 164 84 221 32 75 186 181 61 29 124 13 90 119 77 204 23 101 197 22 83 168 69 23 228 45 17 24 227 232 63 223 146 78 39 16 31 121 3 78 90 99 11 10 58 146 184 221 24 126 227 49 159 44 28 153 212 146 149 224 222 157 236 74 109 102 105 238 54 79 86 105 91 217 157 72 95 143 87 128 152 196 29 167 56 129 53 222 180 145 17 68 204 158 209 215 71 233 170 147 158 161 95 118 15 171 72 247 52 139 111 181 156 73 188 244 175 165 159 255 249 163 32 6 159 239 107 175 134 167 180 241 68 141 70 133 86 205 141 156 85 201 216 254 3 28 182 242 31 129 125 44 235 164 223 64 18 18 177 197 198 92 65 148 57 107 144 72 40 241 69 241 201 154 161 138 64 163 169 86 241 162 227 60 15 177 94 128 45 18 11 43 207 246 35 243 82 93 177 87 82 135 78 44 49 177 115 62 86 152 83 242 124 143 205 168 206 17 211 212 51 197 241 123 147 221 149 19 27 9 175 89 8 109 88 108 84 60 156 216 21 92 73 146 216 142 99 38 227 178 226 39 146 72 146 93 200 228 66 55 10 246 106 198 177 9 241 23 231 169 152 16 142 91 75 49 117 40 46 9 85 172 10 173 193 74 2 44 39 249 213 99 66 32 209 91 212 195 39 216 33 155 54 113 183 210 15 97 223 160 167 101 156 240 219 31 201 67 169 57 234 77 252 66 121 233 0 157 214 96 79 28 11 203 37 144 84 80 189 195 174 221 222 218 58 175 195 197 10 200 95 242 37 185 242 58 210 4 145 200 191 14 60 187 19 31 3 60 247 6 167 64 179 86 149 98 0 101 153 104 222 198 36 181 149 240 169 110 201 241 76 218 174 179 246 181 38 128 42 68 171 105 86 58 229 55 193 188 110 168 234 96 54 196 55 151 209 204 44 85 38 187 22 72 230 124 57 166 35 154 112 228 32 54 54 175 170 151 49 246 56 23 43 168 75 238 236 68 56 35 208 144 149 125 253 231 94 118 237 152 126 66 220 107 210 82 61 39 237 140 242 19 150 55 195 175 94 191 229 151 232 17 14 189 93 16 64 135 219 145 2 220 190 160 44 178 78 112 82 94 242 92 18 33 102 87 57 83 70 112 35 119 35 87 234 40 125 96 38 18 247 91 24 232 14 187 202 247 125 174 110 86 201 122 95 248 19 23 205 84 104 120 15 88 105 218 54 129 208 100 27 42 223 31 92 204 113 198 119 244 204 104 13 194 52 224 106 24 185 83 134 250 161 174 234 112 31 95 170 37 65 220 33 104 255 234 41 89 135 41 73 107 246 253 111 229 27 99 61 201 13 235 69 218 197 69 216 54 17 137 9 252 247 45 114 102 106 189 39 33 7 27 10 175 177 171 149 2 12 137 153 133 142 79 151 158 157 183 21 125 69 77 251 33 25 135 23 112 221 133 13 56 169 165 186 94 215 238 96 178 88 53 72 230 130 14 79 3 65 74 18 248 136 207 97 129 68 110 55 119 242 242 207 104 185 175 19 3 237 119 247 49 12 237 203 17 134 215 140 242 133 92 106 88 132 238 54 201 135 7 48 20 11 83 36 212 36 9 100 82 112 205 114 64 226 52 29 199 14 27 0 10 6 225 127 39 147 13 121 4 172 134 201 6 55 84 0 126 115 159 253 197 190 138 160 141 234 201 238 76 150 216 128 41 175 134 9 51 91 157 6 140 226 99 247 119 184 191 121 165 10 101 158 170 224 149 191 134 81 248 41 158 8 73 211 129 60 205 7 38 195 62 2 241 85 5 138 71 198 106 247 23 18 201 175 76 57 133 25 15 47 65 89 153 208 94 196 166 120 156 235 23 110 24 46 100 204 42 173 91 78 32 136 199 113 199 17 92 131 158 76 157 167 114 239 232 217 29 197 227 200 126 140 82 123 63 177 246 0 131 128 15 56 220 108 20 31 223 104 111 84 104 228 91 28 87 145 89 11 97 69 136 201 186 112 19 82 80 164 80 86 161 115 113 99 234 172 97 196 62 49 205 100 242 91 217 107 247 33 71 215 35 238 245 249 148 83 75 229 252 84 110 174 224 188 163 110 70 172 162 202 208 205 18 195 167 194 53 67 26 52 78 132 128 148 183 76 201 191 111 152 117 204 59 47 65 118 99 155 78 57 56 89 29 85 185 133 82 247 236 144 80 174 66 72 173 70 212 162 92 51 221 108 200 24 62 168 239 243 251 91 88 48 209 102 88 214 58 119 0 99 89 211 210 129 173 109 96 84 27 205 94 66 208 243 36 150 146 239 60 18 132 32 42 153 167 182 39 236 117 54 12 157 9 216 222 28 133 64 65 226 153 4 34 51 85 199 126 122 224 175 229 171 240 237 106 115 198 154 77 170 233 54 71 217 19]
<-------------------- BEGIN QUIC BYTE -------------------->

@megasoheilsh
Copy link

github.com/xtls/xray-core/app/dispatcher/default.go:268 +0x3d8
created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 4840026
github.com/xtls/xray-core/app/dispatcher/default.go:273 +0xd8
github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
github.com/xtls/xray-core/app/dispatcher/default.go:398 +0x1dc
github.com/xtls/xray-core/app/dispatcher.sniffer({0x1115a18, 0x4014a2f6b0}, 0x4014a2f6e0, 0x0, 0x3)
github.com/xtls/xray-core/app/dispatcher/default.go:381
github.com/xtls/xray-core/app/dispatcher.sniffer.func1(...)
github.com/xtls/xray-core/app/dispatcher/sniffer.go:66 +0xb0
github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0x400dc2cab0, {0x1115a18, 0x4014a2f6b0}, {0x4005c80000, 0x4e4, 0x8000}, 0x3)
github.com/xtls/xray-core/app/dispatcher/sniffer.go:42 +0x2c
github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0x0?, 0x0?}, {0x4005c80000?, 0x401caec8d0?, 0x400d6e8d28?})
github.com/xtls/xray-core/common/protocol/quic/sniff.go:173 +0x1938
github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0x4005c80000, 0x4e4, 0x8000})
runtime error: slice bounds out of range [21:17] [recovered] panic: runtime error: slice bounds out of range [21:17] goroutine 4840027 [running]: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC.func1() github.com/xtls/xray-core/common/protocol/quic/sniff.go:57 +0x144 panic({0xe62180?, 0x400ad89ef0?}) runtime/panic.go:792 +0x124
QUIC sniffer panic, please send the information below to the developer. <-------------------- BEGIN QUIC BYTE --------------------> [203 0 0 0 1 8 28 140 109 90 235 83 213 68 0 0 0 144 112 155 134 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] <--------------------- END QUIC BYTE -------------------->

@Fangliding
Copy link
Member

this should fix the problem
https://github.com/XTLS/Xray-core/actions/runs/14885634238/job/41804352011

@megasoheilsh
Copy link

this should fix the problem https://github.com/XTLS/Xray-core/actions/runs/14885634238/job/41804352011

Thank you. I will try and announce the result.

@megasoheilsh
Copy link

this should fix the problem https://github.com/XTLS/Xray-core/actions/runs/14885634238/job/41804352011

Problem solved, thank you. Please add the changes to the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
0