Skip to content

reader-node backup panics if no block ever seen on the node #90

@maoueh

Description

@maoueh
ine 1\n\t/go/pkg/mod/github.com/streamingfast/[email protected]/launcher/launcher.go:129 +0x6ac\n"}
[2025-03-01 17:18:30.901 EST] INFO (reader-node) chain operator terminated shutting down mindreader app
[2025-03-01 17:18:30.901 EST] INFO (fireeth) all apps terminated gracefully
Error: unable to launch: app "reader-node" panicked: runtime error: invalid memory address or nil pointer dereference
goroutine 89 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
github.com/streamingfast/firehose-core/launcher.(*Launcher).shutdownIfRecoveringFromPanic(0xc0009ce100, {0x2e99f6d, 0xb}, {0x29461c0, 0x4f90680})
	/go/pkg/mod/github.com/streamingfast/[email protected]/launcher/launcher.go:217 +0x251
github.com/streamingfast/firehose-core/launcher.(*Launcher).Launch.func3.1()
	/go/pkg/mod/github.com/streamingfast/[email protected]/launcher/launcher.go:135 +0x4d
panic({0x29461c0?, 0x4f90680?})
	/usr/local/go/src/runtime/panic.go:785 +0x132

------------ ^^^^^ Recovery on panic ^^^^^ ------------

github.com/streamingfast/firehose-core/node-manager/superviser.(*Superviser).LastSeenBlockNum(0xc000bc5a98?)
	/go/pkg/mod/github.com/streamingfast/[email protected]/node-manager/superviser/superviser.go:148 +0x5c
github.com/streamingfast/firehose-core/node-manager/operator.(*Operator).runCommand(0xc000033cb0, 0xc0008e86c0)
	/go/pkg/mod/github.com/streamingfast/[email protected]/node-manager/operator/operator.go:259 +0x584
github.com/streamingfast/firehose-core/node-manager/operator.(*Operator).Launch(0xc000033cb0, {0x7ffc0687f179, 0x5}, {0x0, 0x0, 0x0})
	/go/pkg/mod/github.com/streamingfast/[email protected]/node-manager/operator/operator.go:170 +0x40e
github.com/streamingfast/firehose-core/node-manager/app/node_manager.(*App).Run(0xc000886c80)
	/go/pkg/mod/github.com/streamingfast/[email protected]/node-manager/app/node_manager/app.go:103 +0x4c5
github.com/streamingfast/firehose-core/launcher.(*Launcher).Launch.func3({0x2e99f6d, 0xb}, {0x34efc00, 0xc000886c80})
	/go/pkg/mod/github.com/streamingfast/[email protected]/launcher/launcher.go:139 +0x164
created by github.com/streamingfast/firehose-core/launcher.(*Launcher).Launch in goroutine 1
	/go/pkg/mod/github.com/streamingfast/[email protected]/launcher/launcher.go:129 +0x6ac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions