上传文件到天翼云时,Alist服务经常退出
- Langage dominant
- Go
- Étoiles
- 50.2k
- Forks
- 7.9k
- Merge moyen
- 7 j 21 h
- PR mergées (30 j)
- 6
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.