public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/95188] analyzer-unsafe-call-within-signal-handler shows wrong statement for signal registration event Date: Tue, 29 Sep 2020 17:31:31 +0000 [thread overview] Message-ID: <bug-95188-4-Vith0ggsTw@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-95188-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95188 --- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks Mark. What architecture are you on? When I do those steps, there's a long wait and then in terminates with no analyzer output. If I add -Wanalyzer-too-complex I see lots of warnings about "terminating analysis for this program point". What do you see if you add -Wanalyzer-too-complex? If you do, my guess as to what's happening is that there's a "random" factor in how the worklist is being explored, and that on my machine it's hitting the complexity limits before finding the issue, and on your machine it's finding the issue first. Perhaps it relates to pointer addresses; PR 96608 notes some places where hash values could vary between runs, and that could be enough to throw out the worklist traversal order.
next prev parent reply other threads:[~2020-09-29 17:31 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-18 13:28 [Bug analyzer/95188] New: " mark at gcc dot gnu.org 2020-09-16 23:02 ` [Bug analyzer/95188] " cvs-commit at gcc dot gnu.org 2020-09-16 23:27 ` dmalcolm at gcc dot gnu.org 2020-09-16 23:28 ` dmalcolm at gcc dot gnu.org 2020-09-29 14:09 ` mark at gcc dot gnu.org 2020-09-29 17:31 ` dmalcolm at gcc dot gnu.org [this message] 2020-09-29 18:13 ` mark at gcc dot gnu.org 2020-09-29 19:16 ` dmalcolm at gcc dot gnu.org 2020-09-29 22:33 ` cvs-commit at gcc dot gnu.org 2020-09-29 22:42 ` dmalcolm at gcc dot gnu.org 2020-09-30 22:00 ` mark at gcc dot gnu.org 2020-10-07 14:28 ` dmalcolm at gcc dot gnu.org 2020-10-07 20:05 ` mark at gcc dot gnu.org 2021-03-12 22:35 ` dmalcolm at gcc dot gnu.org 2022-03-25 20:28 ` [Bug analyzer/95188] State explosion on bzip2-1.0.8/bzip2.c hides -Wanalyzer-unsafe-call-within-signal-handler dmalcolm at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-95188-4-Vith0ggsTw@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).