Bug 252724

Summary: net-p2p/openethereum: fix a crash
Product: Ports & Packages Reporter: Stanislav Sedov <stas>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Many People CC: stas
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (ale)
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Port patch none

Description Stanislav Sedov freebsd_committer freebsd_triage 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 freebsd_triage 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