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

window 11 64 后台运行数组越界(最新版)希望可以有容错机制,可以跳过不退出 #441

Open
inwikipedia opened this issue Jul 18, 2024 · 1 comment

Comments

@inwikipedia
Copy link

panic: runtime error: index out of range [0] with length 0

goroutine 10107 [running]:
github.com/tickstep/aliyunpan/internal/functions/panupload.(*PanUpload).UploadFile(0xc001543be8, {0xc007706570?, 0x6?}, 0x0, 0xc0001c1480?, 0x0?, {0x18ccf890fb8, 0xc007706590}, 0xc0000b88c0)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/functions/panupload/upload.go:78 +0x74d
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).uploadFile(0xc0010d6000, {0xcb1f10, 0xc000218960})
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:627 +0x1ad2
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).DoAction(0xc0010d6000, {0xcb1f10, 0xc000218960})
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:66 +0x175
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor.func1()
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:557 +0x45
created by github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:556 +0x30f
image
image
image

image

@xiaoyaofenfen
Copy link
Collaborator

这看不出来问题,你可以先不要后台启动,先直接sync命令启动并打开debug日志,然后看看是哪里报错导致启动失败

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants