AlistGo / AlistGo/alist

上传文件到天翼云时,Alist服务经常退出

Đang mở
#8,554 10 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Go
Star
50.2k
Fork
7.9k
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
6

Mô tả

### Please make sure of the following things

- [x] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

- [x] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。

- [x] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [x] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。

### AList Version / AList 版本

v3.44.0

### Driver used / 使用的存储驱动

天翼云盘

### Describe the bug / 问题描述

当上传文件到天翼云盘时,Alist经常退出:

5月 22 12:33:39 schx1 alist[3616048]: panic: semaphore: released more than held
5月 22 12:33:39 schx1 alist[3616048]: goroutine 33100 [running]:
5月 22 12:33:39 schx1 alist[3616048]: golang.org/x/sync/semaphore.(*Weighted).Release(0xc000bbb540, 0xc001964078?)
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/go/pkg/mod/golang.org/x/sync@v0.12.0/semaphore/semaphore.go:127 +0xb8
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/drivers/189pc.(*Cloud189PC).StreamUpload.func2({0x40e69e8, 0xc000bbb4a0})
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/drivers/189pc/utils.go:550 +0x40e
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go.func1.1()
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:50 +0x23
5月 22 12:33:39 schx1 alist[3616048]: github.com/avast/retry-go.Do(0xc000ff1fb0, {0xc0009957d0, 0x4, 0x772366?})
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/go/pkg/mod/github.com/avast/retry-go@v3.0.0+incompatible/retry.go:127 +0x1c3
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go.func1()
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:50 +0x77
5月 22 12:33:39 schx1 alist[3616048]: created by github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go in goroutine 29184
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:48 +0x96
5月 22 12:33:39 schx1 systemd[1]: alist.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
5月 22 12:33:39 schx1 systemd[1]: alist.service: Failed with result 'exit-code'.

v3.44.0和beta版本都有问题。和Alist v3.43.0 , 百度网盘上传程序闪退,回滚到 v3.42.0 后正常 #8180 一样的问题,感觉这个问题还是没修好。

### Reproduction / 复现链接

n/a

### Config / 配置

n/a

### Logs / 日志

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.