Skip to content
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

alist 通过Aria2进行上传到onedrive报错 #4110

Closed
4 tasks done
Sayyiku opened this issue Apr 11, 2023 · 18 comments
Closed
4 tasks done

alist 通过Aria2进行上传到onedrive报错 #4110

Sayyiku opened this issue Apr 11, 2023 · 18 comments
Labels
bug Something isn't working stale No activity for more than 30 days

Comments

@Sayyiku
Copy link

Sayyiku commented Apr 11, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

3.15.0

Driver used / 使用的存储驱动

Onedrive

Describe the bug / 问题描述

错误提示:panic: runtime error: invalid memory address or nil pointer dereference
image

image

Reproduction / 复现链接

https://alist.catcat.blog/pan/%E7%95%AA%E5%89%A7

Logs / 日志

image

image

@Sayyiku Sayyiku added the bug Something isn't working label Apr 11, 2023
@welcome
Copy link

welcome bot commented Apr 11, 2023

Thanks for opening your first issue here! Be sure to follow the issue template!

@xhofe
Copy link
Member

xhofe commented Apr 11, 2023

请发全部的日志 不要截图

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

�[31mERRO�[0m[2023-04-10 16:05:55] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 8 - Higurashi no Naku Koro ni Sotsu [Ma10p_1080p]/[VCB-Studio] Higurashi no Naku Koro ni Sotsu [03][Ma10p_1080p][x265_flac_aac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:05:55] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [01][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:05:55] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 8 - Higurashi no Naku Koro ni Sotsu [Ma10p_1080p]/[VCB-Studio] Higurashi no Naku Koro ni Sotsu [02][Ma10p_1080p][x265_flac_aac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:36:51] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [09][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:36:51] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [10][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:36:51] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [11][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:16] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [14][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:16] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [13][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:16] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [12][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:34] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [15][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:34] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [17][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:34] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [16][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:47] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [18][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:47] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [19][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:37:47] error [runtime error: invalid memory address or nil pointer dereference] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/[VCB-Studio] Higurashi no Naku Koro ni [20][Ma10p_720p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 16:45:08] error [
github.com/alist-org/alist/v3/internal/op.MakeDir.func1
/home/runner/work/alist/alist/internal/op/fs.go:324
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
/home/runner/work/alist/alist/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.MakeDir
/home/runner/work/alist/alist/internal/op/fs.go:289
github.com/alist-org/alist/v3/internal/op.Put
/home/runner/work/alist/alist/internal/op/fs.go:520
github.com/alist-org/alist/v3/internal/aria2.(*Monitor).Complete.func2
/home/runner/work/alist/alist/internal/aria2/monitor.go:180
github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run
/home/runner/work/alist/alist/pkg/task/task.go:75
github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1
/home/runner/work/alist/alist/pkg/task/manager.go:33
runtime.goexit
/opt/hostedtoolcache/go/1.19.7/x64/src/runtime/asm_amd64.s:1594
failed to make dir [/番剧/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/SPs]] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 1 - Higurashi no Naku Koro ni [Ma10p_720p]/SPs/[VCB-Studio] Higurashi no Naku Koro ni [Menu][Ma10p_1080p][x265_flac].mkv to /pan]
�[31mERRO�[0m[2023-04-10 17:42:09] error [<title>Sharepoint Online</title><style>
body,html {
font: 18px/normal "Segoe UI",Arial,Helvetica,Sans-Serif;
line-height: 23px;
color: #333333;
background: #F3F3F3 !important;
}
a {
color: #3366BB;
text-decoration: none;
white-space: nowrap;
}
#sw_content {
width: 760px;
height: auto;
margin: 0 auto;
padding: 0;
margin-bottom: 150px;
background: #F3F3F3;
}
.panda { margin-top: 60px;}
.panda img {
width: 350px;
height: 223px;
}

.title {
font-size: 38px;
line-height: 48px;
color: #777777;
text-align: center;
margin-top: 30px;
font-family: "Segoe UI",Arial,Helvetica,Sans-Serif;
}
.sc_errD {
font-size: 13px;
line-height: 16px;
color: #777777;
text-align: left;
margin-top: 20px;
white-space: nowrap
}
.sc_error {
margin-top: 10px;
padding: 0 20px;
}
.sc_error p{ margin: 18px 0px; }
.bing_logo { margin-top: 25px; }
.panda, .bing_logo, .sc_error{ text-align: center;}
#b_header { display: none; }
a:hover{text-decoration: underline;}

@media(max-width: 736px){
body{font-family: HelveticaNeue, Roboto, Arial, sans-serif;}
.panda { margin-top: 60px;}
.panda img {
width: 225px;
height: 143px;
}
.title {
margin-top: 20px;
font-family: HelveticaNeue, Roboto, Arial, sans-serif;;
font-size: 23px;
line-height: 28px;
color: #333333;
}
.sc_errD, .sc_error p {
font-size: 13px;
line-height: 16px;
}
.sc_error { margin-top: 5px; }
.sc_error p{ margin: 0px;}
.bing_logo { margin-top: 20px; }
#sw_content{ width: auto;}
}
</style>

Something went wrong

This is a temporary issue, so try again in a few minutes.

Technical details:

Ref A: 38EC4ABE9C8A46EDA605F8230C487014 Ref B: CO1EDGE2314 Ref C: 2023-04-10T16:42:06Z

github.com/alist-org/alist/v3/internal/op.Put /home/runner/work/alist/alist/internal/op/fs.go:569 github.com/alist-org/alist/v3/internal/aria2.(*Monitor).Complete.func2 /home/runner/work/alist/alist/internal/aria2/monitor.go:180 github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run /home/runner/work/alist/alist/pkg/task/task.go:75 github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1 /home/runner/work/alist/alist/pkg/task/manager.go:33 runtime.goexit /opt/hostedtoolcache/go/1.19.7/x64/src/runtime/asm_amd64.s:1594] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 7 - Higurashi no Naku Koro ni Gou [Ma10p_1080p]/[VCB-Studio] Higurashi no Naku Koro ni Gou [23][Ma10p_1080p][x265_flac].mkv to [/pan](/番剧)] �[31mERRO�[0m[2023-04-10 17:42:10] error [<title>Sharepoint Online</title><style> body,html { font: 18px/normal "Segoe UI",Arial,Helvetica,Sans-Serif; line-height: 23px; color: #333333; background: #F3F3F3 !important; } a { color: #3366BB; text-decoration: none; white-space: nowrap; } #sw_content { width: 760px; height: auto; margin: 0 auto; padding: 0; margin-bottom: 150px; background: #F3F3F3; } .panda { margin-top: 60px;} .panda img { width: 350px; height: 223px; }

.title {
font-size: 38px;
line-height: 48px;
color: #777777;
text-align: center;
margin-top: 30px;
font-family: "Segoe UI",Arial,Helvetica,Sans-Serif;
}
.sc_errD {
font-size: 13px;
line-height: 16px;
color: #777777;
text-align: left;
margin-top: 20px;
white-space: nowrap
}
.sc_error {
margin-top: 10px;
padding: 0 20px;
}
.sc_error p{ margin: 18px 0px; }
.bing_logo { margin-top: 25px; }
.panda, .bing_logo, .sc_error{ text-align: center;}
#b_header { display: none; }
a:hover{text-decoration: underline;}

@media(max-width: 736px){
body{font-family: HelveticaNeue, Roboto, Arial, sans-serif;}
.panda { margin-top: 60px;}
.panda img {
width: 225px;
height: 143px;
}
.title {
margin-top: 20px;
font-family: HelveticaNeue, Roboto, Arial, sans-serif;;
font-size: 23px;
line-height: 28px;
color: #333333;
}
.sc_errD, .sc_error p {
font-size: 13px;
line-height: 16px;
}
.sc_error { margin-top: 5px; }
.sc_error p{ margin: 0px;}
.bing_logo { margin-top: 20px; }
#sw_content{ width: auto;}
}
</style>

Something went wrong

This is a temporary issue, so try again in a few minutes.

Technical details:

Ref A: D7E34D33E0A448B587A06E1C4A71592A Ref B: CO1EDGE2314 Ref C: 2023-04-10T16:42:07Z

github.com/alist-org/alist/v3/internal/op.Put /home/runner/work/alist/alist/internal/op/fs.go:569 github.com/alist-org/alist/v3/internal/aria2.(*Monitor).Complete.func2 /home/runner/work/alist/alist/internal/aria2/monitor.go:180 github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run /home/runner/work/alist/alist/pkg/task/task.go:75 github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1 /home/runner/work/alist/alist/pkg/task/manager.go:33 runtime.goexit /opt/hostedtoolcache/go/1.19.7/x64/src/runtime/asm_amd64.s:1594] while run task [transfer /hdd/alist/data/temp/aria2/ccfe5ce8-9853-4859-b2a6-1c0ec2a45837/[VCB-Studio] Higurashi no Naku Koro ni/[VCB-Studio] 7 - Higurashi no Naku Koro ni Gou [Ma10p_1080p]/[VCB-Studio] Higurashi no Naku Koro ni Gou [24][Ma10p_1080p][x265_flac].mkv to [/pan](/番剧)]

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

全部log文件

@xhofe
Copy link
Member

xhofe commented Apr 11, 2023

麻烦使用 https://github.com/alist-org/alist/actions/runs/4664909462 再发下日志,需要看一下堆栈信息。

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

通过aria2 进行离线下载番剧之后上传到OneDrive再度出现相同问题
新log

image

image

image

@xhofe
Copy link
Member

xhofe commented Apr 11, 2023

这似乎是由于网络波动引起的错误。

This is a temporary issue, so try again in a few minutes.

另,panic日志似乎还是旧的?没有打印出堆栈信息。

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

新的,已经替换过alist的版本启动的

@xhofe
Copy link
Member

xhofe commented Apr 11, 2023

新的,已经替换过alist的版本启动的

新的我这里已经改成了
image
即使没有堆栈信息,后面也应该会有,stack trace:才对。

但是日志中还是和之前一样。

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

是用./alist-linux-amd64 start 替换原来的启动吗,还需要额外的参数吗

@xhofe
Copy link
Member

xhofe commented Apr 11, 2023

是的server或者start,不需要额外参数,或者你试一下这个版本https://github.com/alist-org/alist/actions/runs/4668921523

@Sayyiku
Copy link
Author

Sayyiku commented Apr 11, 2023

HV%S)O6 H5Y%@ QG5W`UWMK
替换了,我再跑点东西下载一下

@Sayyiku
Copy link
Author

Sayyiku commented Apr 12, 2023

new

@xhofe
Copy link
Member

xhofe commented Apr 12, 2023

new

...你这个还是旧的啊 代码位置都还是之前的

@anwen-anyi
Copy link
Member

建议把 之前的 /log.log 文件删除
然后运行一下 ./alist version 看一下软件信息(你的AList名字叫啥我不知道)

Built At: 2023-04-11 14:54:33 +0000
Go Version: go1.19.7 linux/amd64
Author: Xhofe <i@nn.ci>
Commit ID: 570b8be
Version: dev
WebVersion: dev

看build时间和Commit ID和我这个一样吗,因为我是从开发者提供的里面哪个获取的 如果你替换的是对的那软件信息也是一样的应该和我,如果不是一样的那就是你没替换成功

删除日志信息后和查看软件信息是正确后 在 输入命令启动 这样肯定是没问题的

@stale
Copy link

stale bot commented May 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label May 26, 2023
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for more than 30 days
Projects
None yet
Development

No branches or pull requests

3 participants