Criterion crashes (SIGABRT) when providing own main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
criterion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When providing your own main() function, the Criterion test framework crashes with the following error:
> criterion: Re-entering criterion from a test worker. This is a catastrophic bug, please report it on the issue tracker.
> Bailing out to avoid fork-bombing the system.
> criterion: Could not spawn test instance: Protocol error
> Aborted (core dumped)
More info and reproducer steps:
https:/
This happens because unlike in Debian builds, Ubuntu compiles Criterion with the -Bsymbolic-
Since this functionality is part of Criterion's features, I think disabling the linker flag would be a suitable fix.
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.