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

segfault during recsplit lookup #12205

Closed
awskii opened this issue Oct 3, 2024 · 1 comment
Closed

segfault during recsplit lookup #12205

awskii opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels
imp1 High importance
Milestone

Comments

@awskii
Copy link
Member

awskii commented Oct 3, 2024

happens on 'memo2-unfold' after recent merge of main both on eth/bormainnet

4074afd829380662010ce389d91a11a39b41f82c

unexpected fault address 0x7f14c001cd57
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f14c001cd57 pc=0xb40aef]

goroutine 254 gp=0xc147300540 m=19 mp=0xc2bd432808 [running]:
runtime.throw({0x2a52a20?, 0x22f0fb0?})
        runtime/panic.go:1023 +0x5c fp=0xc003339818 sp=0xc0033397e8 pc=0x4617bc
runtime.sigpanic()
        runtime/signal_unix.go:895 +0x285 fp=0xc003339878 sp=0xc003339818 pc=0x47a5c5
github.com/erigontech/erigon-lib/recsplit.(*GolombRiceReader).ReadReset(...)
        github.com/erigontech/[email protected]/recsplit/golomb_rice.go:94
github.com/erigontech/erigon-lib/recsplit.(*Index).Lookup(0xc0c3735400, 0x4ba0fc28c108f62, 0x8795a4fb157728b1)
        github.com/erigontech/[email protected]/recsplit/index.go:304 +0x12f fp=0xc003339930 sp=0xc003339878 pc=0xb40aef
github.com/erigontech/erigon-lib/recsplit.(*IndexReader).Lookup(0xc003339a40, {0xc2349f62c0?, 0xc000060380?, 0xc2b9f85db0?})
        github.com/erigontech/[email protected]/recsplit/index_reader.go:51 +0x45 fp=0xc003339960 sp=0xc003339930 pc=0xb41c05
github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockReader).headerFromSnapshotByHash(0x7e2d11e506d0?, {0x16, 0x30, 0xdd, 0xd0, 0xc5, 0xcd, 0x3f, 0xfb, 0xb3, ...}, ...)
        github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks/block_reader.go:917 +0x138 fp=0xc003339ab0 sp=0xc003339960 pc=0x16caa98
github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockReader).HeaderByHash(0xc0016c86f0, {0xc41ba01440?, 0x47b749?}, {0x7e2d11e506d0?, 0xc41ba01440?}, {0x16, 0x30, 0xdd, 0xd0, 0xc5, ...})
        github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks/block_reader.go:532 +0x1b2 fp=0xc003339b60 sp=0xc003339ab0 pc=0x16c76b2
github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockReader).HeaderNumber(0xc0016c86f0, {0x32c57c0, 0x56b4be0}, {0x7e2d11e506d0, 0xc41ba01440}, {0x16, 0x30, 0xdd, 0xd0, 0xc5, ...})
        github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks/block_reader.go:497 +0xa9 fp=0xc003339bc0 sp=0xc003339b60 pc=0x16c7349
github.com/erigontech/erigon/eth/protocols/eth.AnswerGetBlockBodiesQuery({0x7e2d11e50618, 0xc41ba01440}, {0xc0197a5a80, 0x9f, 0xc0013a19a0?}, {0x3303b70, 0xc0016c86f0})
        github.com/erigontech/erigon/eth/protocols/eth/handlers.go:149 +0x196 fp=0xc003339c90 sp=0xc003339bc0 pc=0x1fb8576
github.com/erigontech/erigon/p2p/sentry/sentry_multi_client.(*MultiClient).getBlockBodies66(0xc04e988630, {0x32c5c68, 0xc0caeefdb0}, 0xc393e2ab90, {0x32e55e0, 0xc02cc82018})
        github.com/erigontech/erigon/p2p/sentry/sentry_multi_client/sentry_multi_client.go:544 +0x1ef fp=0xc003339dd8 sp=0xc003339c90 pc=0x2280daf
github.com/erigontech/erigon/p2p/sentry/sentry_multi_client.(*MultiClient).handleInboundMessage(0x0?, {0x32c5c68?, 0xc0caeefdb0?}, 0x0?, {0x32e55e0?, 0xc02cc82018?})
@VBulikov VBulikov added the imp1 High importance label Oct 4, 2024
@VBulikov VBulikov added this to the 3.0.0-alpha5 milestone Oct 4, 2024
@AskAlexSharov
Copy link
Collaborator

AskAlexSharov commented Oct 22, 2024

i think it's fixed by #12332 i will close it. feel free to re-open if still the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp1 High importance
Projects
None yet
Development

No branches or pull requests

5 participants