aliyunpan icon indicating copy to clipboard operation
aliyunpan copied to clipboard

同步时报错 panic: runtime error: invalid memory address or nil pointer dereference

Open 123485k opened this issue 1 year ago • 2 comments

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0xaf3a7a]
                                              
goroutine 522 [running]:                                                                                                                                                                 
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).DoAction(0xc0004d4460, 0xf1c9d8, 0xc000096f80, 0x0, 0xc0001d1ce0)
        /Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:101 +0x1dfa                                                                     
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor.func1(0xc0004d4460, 0xf1c9d8, 0xc000096f80, 0xc00037a0e0, 0xc0003c37d0)                 
        /Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:819 +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:818 +0x30d

123485k avatar Mar 05 '23 08:03 123485k

可以参考 issues #76

huangjianye avatar Mar 06 '23 01:03 huangjianye

我实在tmux里面执行的,在zsh里面,应该有source /etc/profile这一步的

123485k avatar Mar 06 '23 02:03 123485k