初始化错误
Bug反馈 · yayashanzei · 72天前 · 127次点击 · 0人收藏 收藏 感谢
yayashanzei

初始化时提示机器码获取失败怎么处理啊

6条回复 71天前
  • admin
    admin 71天前
    服务器是哪个平台的?
  • yayashanzei
    @admin centos6.5
  • yayashanzei
    2.0.3和2.0.4都试了下,都是提示机器码错误
  • yayashanzei
    运行一会儿会报错
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d2c0a]

    goroutine 43 [running]:
    github.com/jmoiron/sqlx.(*DB).Queryx(0x0, {0xfead7f, 0x10}, {0xc0003fa000, 0xc0003fa000, 0x0})
    /Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:349 +0x2a
    github.com/jmoiron/sqlx.Select({0x18eff78, 0x0}, {0xe831c0, 0xc0000b82e8}, {0xfead7f, 0xc000164200}, {0xc0003fa000, 0x4cc3de, 0xc000164200})
    /Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:674 +0x71
    github.com/jmoiron/sqlx.(*DB).Select(...)
    /Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:317
    ifile/ifile-go-pro/controller/apis.LocalSaomiao()
    /Volumes/code/GoPath/src/ifile/ifile-go-pro/controller/apis/index.go:1551 +0xda
    github.com/robfig/cron/v3.FuncJob.Run(0xc0003c82d0)
    /Volumes/code/GoPath/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136 +0x1a
    github.com/robf
  • admin
    admin 71天前
    好的,感谢反馈,我检查下
  • admin
    admin 71天前
    已经修复,老哥可以考虑更新centos版本了,毕竟centos8生命周期都结束了。
添加新回复
回到顶部
登录 后回复