qrsboxcli 无法上传文件

./qrsboxcli-darwin_adm64-v3.1.20160523 sync
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 13 [running]:
panic(0x4484080, 0xc820114040)
    /Users/wf/go/src/runtime/panic.go:481 +0x3e6
github.com/qiniu/fsw._cgoCheckPointer0(0x43bb7e0, 0xc82011a0c0, 0x0, 0x0, 0x0, 0x4397f00)
    ??:0 +0x4d
github.com/qiniu/fsw.(*Watcher).Start(0xc82011a0c0, 0x0, 0xc820102840, 0x0, 0x0)
    /Users/wf/works/qbox/base/cgo/src/github.com/qiniu/fsw/fsw_darwin.go:148 +0x23a
qbox.us/qrsync/v3/stg/local.Watch(0xc8201452e0, 0x1d, 0x0, 0x4016500, 0xc820114000, 0x0, 0x0, 0x0, 0x0)
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/stg/local/fsw_darwin.go:40 +0x168
qbox.us/qrsync/v3/stg/local.(*Storage).Watch(0xc820102b40, 0xc820114000, 0xc820114000, 0x0, 0x0, 0x0, 0x0)
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/stg/local/local_fs.go:119 +0x88
qbox.us/qrsync/v3/sync.(*Syncer).Watch(0xc820600050, 0x0, 0x0, 0x0, 0x0)
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/sync/startup.go:18 +0xb4
qbox.us/qrsync/v3/qrsync.Syncer.WatchAndSync(0xc820600050, 0x6361800, 0xc820014fd8, 0xc82005e4d0, 0x0, 0x0)
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/qrsync/qrsync.go:93 +0x93
qbox.us/qrsync/v3/qrsboxd.Open.func1(0xc820600050, 0xc820014fc0, 0xc82005e4d0)
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/qrsboxd/qrsbox_svr.go:67 +0x7e
created by qbox.us/qrsync/v3/qrsboxd.Open
    /Users/wf/works/qbox/devtools/src/qbox.us/qrsync/v3/qrsboxd/qrsbox_svr.go:72 +0x324

关键日志如上所示

阅读 2.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
logo
七牛云问答
子站问答
访问
宣传栏