CostAccountingSpec fails non-deterministically with a SEGFAULT (flaky test)

Description

The test "stop the evaluation of all execution branches when one of them runs out of phlo with a more sophisiticated contract" in CostAccountingSpec fails notoriously with the following error:

At the very least, it should be made stable (no longer fail with a segfault, pass consistently).
Ideally, we'd find and fix any underlying issues with the tested code. (optional for this ticket).

Environment

None

Status

Assignee

Tomislav Grospić

Reporter

Artur Gajowy

Priority

Medium

Affects versions

None

Components

Sprint

Epic Link

None

Labels

Configure