We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alist
Dependencies
Operational
v 3.8.0
Quark
Some files upload failed due to quark driver panic.
See log.
[Recovery] 2023/01/17 - 08:44:09 panic recovered: runtime error: integer divide by zero /usr/lib/go/src/runtime/panic.go:239 (0x43eac4) /app/drivers/quark/driver.go:206 (0x13070ee) /app/internal/op/fs.go:503 (0x87623a) /app/internal/fs/put.go:54 (0xb724c4) /app/internal/fs/fs.go:84 (0xb70444) /app/server/webdav/webdav.go:325 (0x1426d4f) /app/server/webdav/webdav.go:62 (0x142440f) /app/server/webdav.go:44 (0x1431384) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0x1431a78) /app/server/webdav.go:93 (0x1431973) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0x13b4f4c) /app/server/middlewares/check.go:14 (0x13b4cd7) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf70a61) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/recovery.go:101 (0xf70a4c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf6fb66) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/logger.go:240 (0xf6fb49) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf6ec30) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/gin.go:616 (0xf6e898) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/gin.go:572 (0xf6e3dc) /usr/lib/go/src/net/http/server.go:2947 (0x73a0cb) /usr/lib/go/src/net/http/server.go:1991 (0x7352e6) /usr/lib/go/src/runtime/asm_amd64.s:1594 (0x474ea0)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
fix(quark): Fix upload file integer divide by zero panic. (close Alis…
bf57401
…tGo#3076)
fix(quark): upload file integer divide by zero panic. (close #3076 pr #…
0a33775
…3077)
No branches or pull requests
Please make sure of the following things
alist
and not something else(such asDependencies
orOperational
).Alist Version / Alist 版本
v 3.8.0
Driver used / 使用的存储驱动
Quark
Describe the bug / 问题描述
Some files upload failed due to quark driver panic.
Reproduction / 复现链接
See log.
Logs / 日志
[Recovery] 2023/01/17 - 08:44:09 panic recovered:
runtime error: integer divide by zero
/usr/lib/go/src/runtime/panic.go:239 (0x43eac4)
/app/drivers/quark/driver.go:206 (0x13070ee)
/app/internal/op/fs.go:503 (0x87623a)
/app/internal/fs/put.go:54 (0xb724c4)
/app/internal/fs/fs.go:84 (0xb70444)
/app/server/webdav/webdav.go:325 (0x1426d4f)
/app/server/webdav/webdav.go:62 (0x142440f)
/app/server/webdav.go:44 (0x1431384)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0x1431a78)
/app/server/webdav.go:93 (0x1431973)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0x13b4f4c)
/app/server/middlewares/check.go:14 (0x13b4cd7)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf70a61)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/recovery.go:101 (0xf70a4c)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf6fb66)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/logger.go:240 (0xf6fb49)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/context.go:173 (0xf6ec30)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/gin.go:616 (0xf6e898)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.8.2/gin.go:572 (0xf6e3dc)
/usr/lib/go/src/net/http/server.go:2947 (0x73a0cb)
/usr/lib/go/src/net/http/server.go:1991 (0x7352e6)
/usr/lib/go/src/runtime/asm_amd64.s:1594 (0x474ea0)
The text was updated successfully, but these errors were encountered: