Skip to content

Revert "Don't emit a missing gcc warning if no checkers are enabled"#4238

Closed
bruntib wants to merge 1 commit into
Ericsson:masterfrom
bruntib:revert_commit
Closed

Revert "Don't emit a missing gcc warning if no checkers are enabled"#4238
bruntib wants to merge 1 commit into
Ericsson:masterfrom
bruntib:revert_commit

Conversation

@bruntib
Copy link
Copy Markdown
Contributor

@bruntib bruntib commented May 7, 2024

This reverts commit 7b49263.

@bruntib bruntib added this to the release 6.24.0 milestone May 7, 2024
@bruntib bruntib requested review from Szelethus and cservakt May 7, 2024 08:54
@bruntib bruntib requested a review from vodorok as a code owner May 7, 2024 08:54
Copy link
Copy Markdown
Contributor

@Szelethus Szelethus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Care to elaborate as to why? I recall a crash being mentioned in person.

@whisperity whisperity added analyzer 📈 Related to the analyze commands (analysis driver) gcc 🐃 GNU GCC Static Analyzer labels May 7, 2024
@whisperity
Copy link
Copy Markdown
Contributor

Note

An equivalent copy of this revert, although unreviewed, is reachable from v6.24.0-rc1 as f05a9bf.

Szelethus added a commit to Szelethus/codechecker that referenced this pull request May 8, 2024
Original patch (that itroduces the crash):
Ericsson#4179
Revert attempt in Ericsson#4238.

The crash occurs because the original patch tries to create config
handlers even if they are not supported. This is playing with fire
already, but the crash occured when not even the analyzer binary is
found.

In this patch, these analyzers are skipped from checking if they have
any checkers enabled.
@bruntib
Copy link
Copy Markdown
Contributor Author

bruntib commented May 16, 2024

Fixed by #4241

@bruntib bruntib closed this May 16, 2024
@bruntib bruntib deleted the revert_commit branch February 21, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

analyzer 📈 Related to the analyze commands (analysis driver) gcc 🐃 GNU GCC Static Analyzer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants