Bug 252724 - net-p2p/openethereum: fix a crash
Summary: net-p2p/openethereum: fix a crash
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Alex Dupre
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2021-01-15 23:04 UTC by Stanislav Sedov
Modified: 2021-01-18 14:25 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
Port patch (2.83 KB, patch)
2021-01-15 23:04 UTC, Stanislav Sedov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Sedov freebsd_committer 2021-01-15 23:04:41 UTC
Created attachment 221612 [details]
Port patch

The latest version of openethereum is crashing with the following message:

Thread 'IO Worker #2' panicked at 'attempted to leave type `linked_hash_map::Node<ethereum_types::H512, (node_table::NodeEndpoint, std::time::Instant)>` uninitialized, which is invalid'

The patch attached to the upstream github issue fixes it: https://github.com/openethereum/openethereum/issues/131

I'm attaching the corresponding patch to the port that fixed it for me as well.
Comment 1 commit-hook freebsd_committer 2021-01-18 14:25:56 UTC
A commit references this bug:

Author: ale
Date: Mon Jan 18 14:25:19 UTC 2021
New revision: 561917
URL: https://svnweb.freebsd.org/changeset/ports/561917

Log:
  Update to 3.1.1-rc.1 release and fix a crash [1].

  PR:		252724 [1]
  Submitted by:	stas

Changes:
  head/net-p2p/openethereum/Makefile
  head/net-p2p/openethereum/Makefile.crates
  head/net-p2p/openethereum/distinfo