Skip to content

更新用户 panic #972

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

Open
erdong01 opened this issue Apr 16, 2025 · 0 comments
Open

更新用户 panic #972

erdong01 opened this issue Apr 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@erdong01
Copy link

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
更新用户信息

@erdong01 erdong01 added the bug Something isn't working label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant