Repository navigation
[FIX] FeatureFinderAlgorithmPicked: crashes for charge_low > charge_high and feature:min_isotope_fit 0 - #10506
Merged
timosachsenberg merged 3 commits intoOct 11, 2026
Conversation
…igh; min_isotope_fit 0 equals a tiny positive bound Co-Authored-By: Claude Opus 5.5 <[email protected]>
…abort seeds with an empty isotope pattern charge_high - charge_low + 1 was stored in a UInt and wrapped for charge_low > charge_high, so the score arrays were written out of bounds (SIGSEGV); updateMembers_ now throws InvalidParameter and the count is a Size. findBestIsotopeFit_ returns 0 with an empty pattern when no placement exists; with feature:min_isotope_fit 0 that seed was not aborted and extendMassTraces_ read the empty pattern (SIGSEGV). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
FYI I ported the Biosaur2 algorithm as alternative to FF picked. It is less sophisticated but seems to work better. |
Contributor
|
Lgtm |
This was referenced Oct 13, 2026
okohlbacher
added a commit
to okohlbacher/OpenMS
that referenced
this pull request
Nov 5, 2026
Resolves the conflicts with develop: the PR's test section is added after the min_isotope_fit section from OpenMS#10506, and its CHANGELOG entry is kept on top of develop's.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
isotopic_pattern:charge_low > charge_high wrapped the UInt charge count (out-of-bounds writes, SIGSEGV); feature:min_isotope_fit 0 let seeds without any isotope placement (score 0, empty pattern) through to extendMassTraces_ (SIGSEGV).
Fix: throw InvalidParameter in updateMembers_ (count now Size); abort seeds whose best pattern is empty.
Test: two new FeatureFinderAlgorithmPicked_test sections (exception expected; bound 0 must give the same 14 features as 1e-300); develop throws nothing resp. segfaults.
🤖 Generated with Claude Code