Skip to content
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

Fresh synced node panics when HotFeed routine starts #371

Open
kanshi opened this issue Jun 7, 2022 · 0 comments
Open

Fresh synced node panics when HotFeed routine starts #371

kanshi opened this issue Jun 7, 2022 · 0 comments

Comments

@kanshi
Copy link
Contributor

kanshi commented Jun 7, 2022

RUN_HOT_FEED_ROUTINE=true
TXINDEX=true
ARCHIVAL_MODE=false

I0607 17:10:48.403583       1 hot_feed.go:102] Refreshing hot feed...
I0607 17:10:48.404506       1 hot_feed.go:405] UpdateHotFeedOrderedList: Starting new update cycle.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xf2ce83]

goroutine 152235 [running]:
github.com/deso-protocol/backend/routes.(*APIServer).PopulateHotnessInfoMap(0xc009f86000, 0xc0cc537200?, 0xc000190fd0?, 0xc0be009c58?, 0x1?, {0xc0c1d80000, 0x4381, 0xc0be009ad0?})
	/deso/src/backend/routes/hot_feed.go:538 +0x103
github.com/deso-protocol/backend/routes.(*APIServer).UpdateHotFeedOrderedList(0xc009f86000, 0x2?, 0xc00076c000?)
	/deso/src/backend/routes/hot_feed.go:468 +0xdef
github.com/deso-protocol/backend/routes.(*APIServer).UpdateHotFeed(0xc009f86000, 0x0)
	/deso/src/backend/routes/hot_feed.go:120 +0x431
github.com/deso-protocol/backend/routes.(*APIServer).StartHotFeedRoutine.func1()
	/deso/src/backend/routes/hot_feed.go:91 +0x39
created by github.com/deso-protocol/backend/routes.(*APIServer).StartHotFeedRoutine
	/deso/src/backend/routes/hot_feed.go:81 +0x1ad```
@kanshi kanshi changed the title Fresh synced node panics on HotFeed when no config present (missing defaults?) Fresh synced node panics on HotFeed Jun 7, 2022
@kanshi kanshi changed the title Fresh synced node panics on HotFeed Fresh synced node panics when HotFeed routine starts Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant