-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Please make sure of the following things
-
I have read the documentation.
我已经阅读了文档。 -
I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。 -
I'm sure it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
).
我确定是AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。 -
I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
3.45.1
Driver used / 使用的存储驱动
Quark
Describe the bug / 问题描述
Alist将Quark映射到WebDav,再用rclone mount到本地。在使用Jellyfin时,Alist经常退出。查看日志发现有signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4f799c.
$ journalctl -u alist
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] reading config file: data/config.json
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] load config from env with prefix: ALIST_
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] init logrus...
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] init tool SimpleHttp success: ok
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] init tool PikPak success: ok
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: WARN[2025-07-01 06:23:50] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp 127.0.0.1:8080: connect: connection refused
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] init tool Thunder success: ok
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: WARN[2025-07-01 06:23:50] init tool Transmission failed: failed get transmission version: can't get session values: 'session-get' rpc method failed: failed to execute HTTP request: Post "http:>
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] init tool 115 Cloud success: ok
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: WARN[2025-07-01 06:23:50] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connect: connection refused
Jul 01 06:23:50 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:50] start HTTP server @ 0.0.0.0:5244
Jul 01 06:23:51 instance-20241115-1921 alist[2993]: INFO[2025-07-01 06:23:51] success load storage: [/mnt/quark], driver: [Quark], order: [0]
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: panic: runtime error: invalid memory address or nil pointer dereference
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4f799c]
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: goroutine 3429 [running]:
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: bytes.(*Buffer).Write(0x4000818688?, {0x4000dfa000?, 0x4000370480?, 0x4000dfa000?})
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/go/pkg/mod/golang.org/[email protected]/src/bytes/buffer.go:176 +0x1c
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: github.com/alist-org/alist/v3/internal/net.(*Buf).Write(0x4000818660, {0x4000dfa000, 0x1000, 0x10000})
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/internal/net/request.go:675 +0xec
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: io.copyBuffer({0x3ec3aa0, 0x4000818660}, {0xffff6f212f70, 0x4000ce8c40}, {0x4000dfa000, 0x10000, 0x10000})
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/go/pkg/mod/golang.org/[email protected]/src/io/io.go:431 +0x1cc
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: io.CopyBuffer({0x3ec3aa0?, 0x4000818660?}, {0xffff6f212f70?, 0x4000ce8c40?}, {0x4000dfa000?, 0x4000c04e40?, 0x0?})
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/go/pkg/mod/golang.org/[email protected]/src/io/io.go:402 +0x38
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: github.com/alist-org/alist/v3/pkg/utils.CopyWithBuffer({0x3ec3aa0, 0x4000818660}, {0xffff6f212f70, 0x4000ce8c40})
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/pkg/utils/io.go:218 +0xdc
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: github.com/alist-org/alist/v3/internal/net.(*downloader).tryDownloadChunk(0x4000187b00, 0x40008a46c0?, 0x40008a46c0)
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/internal/net/request.go:436 +0x5b4
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: github.com/alist-org/alist/v3/internal/net.(*downloader).downloadChunk(0x4000187b00, 0x40008a46c0)
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/internal/net/request.go:338 +0xe4
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: github.com/alist-org/alist/v3/internal/net.(*downloader).downloadPart(0x4000187b00)
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/internal/net/request.go:312 +0xc8
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: created by github.com/alist-org/alist/v3/internal/net.(*downloader).sendChunkTask in goroutine 3391
Jul 01 06:26:06 instance-20241115-1921 alist[2993]: /home/runner/work/alist/alist/internal/net/request.go:213 +0x18c
Jul 01 06:26:06 instance-20241115-1921 systemd[1]: alist.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Reproduction / 复现链接
N/A
Config / 配置
{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "QP3rdQIGNvWBLtDa",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": false
},
"temp_dir": "data/temp",
"bleve_dir": "data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
""
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 30,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": true,
"enable_pasv_conn_ip_check": true
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v3.45.1"
}
Logs / 日志
No response