Opened 19 months ago
Last modified 19 months ago
#67216 new defect
libgcc12: ASAN_OPTIONS=detect_leaks=1 causes apparent hang
Reported by: | msbit (Tom Sullivan) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | libgcc12 |
Description
When running a binary I've compiled with -fsanitize-address
with the ASAN_OPTIONS
variable set to detect_leaks=1
, the process appears to never terminate.
I note that when also adding leak_check_at_exit=0
this doesn't occur, but it also doesn't catch any leaks that exist at exit time. Further, calling __lsan_do_leak_check()
manually (with either leak_check_at_exit=0
or not) causes the hanging behaviour.
Attached is a reproducible script, and the output.
Attachments (2)
Change History (4)
Changed 19 months ago by msbit (Tom Sullivan)
Attachment: | run.1681134439.sh added |
---|
Changed 19 months ago by msbit (Tom Sullivan)
output of the script, including sample
comment:1 Changed 19 months ago by msbit (Tom Sullivan)
Version: | → 2.8.1 |
---|
comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | libgcc12 removed |
---|
Note: See
TracTickets for help on using
tickets.
reproducible script