This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 15:24:20 +0000
- Subject: [Bug sanitizer/81021] stack-use-after-scope false positive error with exceptions
- Auto-submitted: auto-generated
- References: <bug-81021-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81021
--- Comment #23 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #22)
> One more question, would it be possible to somehow attach gdb to the server
> which is tested? It will help me to debug where precisely is the stack
> poisoned?
Haha, can be done easily by:
sleep_before_dying
- Number of seconds to sleep between printing an error report
and terminating the program. Useful for debugging purposes (e.g. when one needs
to attach gdb).
I was just thinking of adding such option and look it already exists :)