summary refs log tree commit diff stats
path: root/hw/mem/sparse-mem.c
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2021-03-10 01:12:36 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-16 14:19:54 -0400
commitd0614b8e7a365e64ebf2ed068754787fae34d501 (patch)
tree8bb7d6b2144d90c3602b3200bf2c9edb1cb29b0c /hw/mem/sparse-mem.c
parente8a2a62106d219016f8372c3888bbf555006243b (diff)
downloadfocaccia-qemu-d0614b8e7a365e64ebf2ed068754787fae34d501.tar.gz
focaccia-qemu-d0614b8e7a365e64ebf2ed068754787fae34d501.zip
fuzz: don't leave orphan llvm-symbolizers around
I noticed that with a sufficiently small timeout, the fuzzer fork-server
sometimes locks up. On closer inspection, the issue appeared to be
caused by entering our SIGALRM handler, while libfuzzer is in it's crash
handlers. Because libfuzzer relies on pipe communication with an
external child process to print out stack-traces, we shouldn't exit
early, and leave an orphan child. Check for children in the SIGALRM
handler to avoid this issue.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mem/sparse-mem.c')
0 files changed, 0 insertions, 0 deletions