Electrs segfault

Open
#473 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
backend

Research direction

Start with the electrs.service logs and the lookup-txo process named in the report; the issue provides no source file, test, reproduction, or core dump to follow. Obtain a reproducible failure and diagnostic data, then confirm the daemon no longer segfaults under that workload.

Written by the indexing model from the issue text.

Description

Dec 11 18:20:04 kernel: [1102290.491024] lookup-txo-6[3472882]: segfault at 1e8 ip 0000557d43df1f6a sp 00007fc1ccbf3320 error 4 in electrs[557d43b83000+5b6000] likely on CPU 0 (core 0, socket 0)
Dec 11 18:20:04 kernel: [1102290.491044] Code: 49 ff 06 0f 8f c1 fe ff ff 0f 0b 0f 0b bf f8 07 00 00 be 08 00 00 00 e8 a4 1f d9 ff 0f 0b 66 90 55 41 57 41 56 53 48 83 ec 18 <48> 8b 47 28 48 39 f0 0f 86 3e 01 00 00 49 89 fe 48 8b 4f 20 48 c1
Dec 11 18:20:05 systemd[1]: electrs.service: Main process exited, code=dumped, status=11/SEGV
Dec 11 18:20:05 systemd[1]: electrs.service: Failed with result 'core-dump'.
Dec 11 18:20:05 systemd[1]: electrs.service: Consumed 11h 16min 52.425s CPU time.
Dec 11 18:20:07 systemd[1]: electrs.service: Scheduled restart job, restart counter is at 7.
Dec 11 18:20:07 systemd[1]: Stopped electrs daemon.
Dec 11 18:20:07 systemd[1]: electrs.service: Consumed 11h 16min 52.425s CPU time.
Dec 11 18:20:07 systemd[1]: Started electrs daemon.

I'm afraid this is the only info I have. Not sure how helpful this is but thought I would open an issue in case others have had similar problem

Dominant language
JavaScript
Stars
1.3k
Forks
527
Avg merge
2d 5h
Merged PRs (30d)
4

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/esplora

All issues in Blockstream/esplora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.