这是indexloc提供的服务,不要输入任何密码
Skip to content

更新用户 panic #972

@erdong01

Description

@erdong01

Gorse version
0.4.16

Describe the bug
{"level":"info","ts":1744420962.448361,"msg":"ranking recommendation","n_complete_users":8,"n_working_users":3096,"throughput":8}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0xc34201]

goroutine 74 [running]:
github.com/zhenghaoz/gorse/model/click.(*FM).Predict(0xc00073e360, {0xc001efe658?, 0xc0000a7200?}, {0xc004d67348, 0x3}, {0xc00073f680, 0x9, 0x0?}, {0xc002761860, 0xc, ...})
/go/gorse/model/click/model.go:204 +0x61
github.com/zhenghaoz/gorse/worker.(*Worker).replacement(0xc00074c580, 0xc00495fde8?, 0xc004960958, {0xc004d742c0, 0x8, 0x142?}, 0xc0015c06f0)
/go/gorse/worker/worker.go:1236 +0x8fc
github.com/zhenghaoz/gorse/worker.(*Worker).Recommend.func2(0xa0?, 0xd)
/go/gorse/worker/worker.go:778 +0x352f
github.com/zhenghaoz/gorse/base/parallel.Parallel(0xc18, 0xc0059c4740?, 0xc0001e79a0)
/go/gorse/base/parallel/parallel.go:39 +0xf7
github.com/zhenghaoz/gorse/worker.(*Worker).Recommend(0xc00074c580, {0xc00208e000, 0xc18, 0xf99})
/go/gorse/worker/worker.go:546 +0x1074
github.com/zhenghaoz/gorse/worker.(*Worker).Serve.func1()
/go/gorse/worker/worker.go:405 +0x425
github.com/zhenghaoz/gorse/worker.(*Worker).Serve(0xc00074c580)
/go/gorse/worker/worker.go:417 +0xdbf
main.glob..func1.1()
/go/gorse/cmd/gorse-in-one/main.go:109 +0x3f
created by main.glob..func1
/go/gorse/cmd/gorse-in-one/main.go:107 +0x9f1

To Reproduce
更新用户信息

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions