https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82116
Bug ID: 82116 Summary: "nested bug in the same thread" when a bug is found while reporting another one Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: mephi42 at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 42135 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42135&action=edit minimal reproducible example The attached program fails with AddressSanitizer: nested bug in the same thread, aborting. without diagnosing the stack-buffer-overflow. In rare cases it exits correctly with the expected AddressSanitizer: while reporting a bug found another one. Ignoring. ERROR: AddressSanitizer: stack-buffer-overflow on address ...