diff --git a/bench.py b/bench.py
index 514445943f073a1953fdafd84885276064a73593..02e95c771c8a62964b975443fbe6747533300d66 100755
--- a/bench.py
+++ b/bench.py
@@ -121,6 +121,10 @@ def main():
print_info("Allocators:", *src.globalvars.allocators.keys())
print_debug("Allocators:", *src.globalvars.allocators.items())
+ if src.globalvars.allocators == {}:
+ print_error("Abort because there are no allocators to benchmark")
+ exit(1)
+
# collect facts about benchmark environment
src.facter.collect_facts()