Skip to content

FAIMS-related ProteomicsLFQ segfault with the 2026.07.02 container #741

Done

Description

@Yixuan39

Description of the bug

Hello,

While processing PXD037190 (120 single-CV FAIMS files, -45 V) with the 2026.07.02 OpenMS container, ProteomicsLFQ repeatedly segfaulted (exit 139) just after reporting “Size of consensus fraction”.

This appears to match the FAIMS metadata-loss bug already fixed in OpenMS/OpenMS#10001.

I noticed that #736 has already updated the OpenMS container on dev, so I expect this will be resolved in the next release. Sharing this for awareness in case other users encounter the same failure with the older container. No immediate action is requested.

Thanks!

Command used and terminal output

Relevant files

No response

System information

No response

Activity

  1. added
    bug
    on Oct 17, 2026
  2. timosachsenberg commented on Oct 17, 2026

    @timosachsenberg

    Thanks for the report, the diagnosis is correct. I checked both containers' binaries:

    Container OpenMS build (libOpenMS.so) FeatureOverlapFilter::mergeFAIMSFeatures
    2026.07.02 (master) 3.6.0-pre-HEAD-2026-07-02 calls FeatureMap::clear(true): affected
    2026.10.04 (dev, #736) 3.7.0-pre-HEAD-2026-10-03 calls FeatureMap::clear(false): fixed by OpenMS/OpenMS#10001

    Single-CV FAIMS data is affected too. Even with a single CV, FeatureFinderIdentification takes the FAIMS path and tags every feature with its CV. mergeFAIMSFeatures then empties the map with clear(true), which also drops the protein identifications. That happens even though nothing gets merged, because merging only combines features from different CVs. ProteomicsLFQ then crashes in ConsensusMapMergerAlgorithm::mergeAllIDRuns on the empty ID-run list, right after "Size of consensus fraction".

    Workarounds until the next release (not tested on PXD037190):

    • Turn off the FAIMS merge. For single-CV data this loses nothing, and the parameter exists in the 2026.07.02 build. Note that this replaces the pipeline's default ext.args, hence the -debug 0:
      process {
          withName: '.*:LFQ:PROTEOMICSLFQ' {
              ext.args = '-debug 0 -PeptideQuantification:faims:merge_features false'
          }
      }
    • Or use the fixed container: point withLabel: openms at ghcr.io/bigbio/openms-tools-thirdparty:2026.10.04, or run -r dev. On master, -profile dev still points at 2026.07.02, so it does not help.

    Separately, I'm hardening mergeAllIDRuns in OpenMS so that an empty ID-run list fails with a clear error instead of a segfault.


    Generated by Claude Code

  3. timosachsenberg commented on Oct 19, 2026

    @timosachsenberg

    @Yixuan39 the container with the FAIMS fix is published, so could you rerun PXD037190 with it and let us know if ProteomicsLFQ completes?

    The simplest way is -r dev, which uses it by default. To stay on your current revision, override the OpenMS image instead:

    process {
        withLabel: openms {
            container = 'ghcr.io/bigbio/openms-tools-thirdparty:2026.10.04'
        }
    }

    For Singularity/Apptainer, use oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:2026.10.04.

    If it still fails, please attach the .command.log of the PROTEOMICSLFQ task. The mergeAllIDRuns hardening (OpenMS/OpenMS#10618) isn't in a container yet, but it only turns this crash into a readable error message.

  4. Yixuan39 commented on Nov 11, 2026

    @Yixuan39
    Author

    Hi @timosachsenberg , sorry for my late respond. I ran it with -r dev. The segfault from this issue is fixed. But it hits a new error later on, during the QPX export

    ConsensusMapArrowExport: refusing invalid QPX feature table (...): row 1066 repeats the QPX feature identity 'feature_id'; ...
    Failed to write features Parquet file
    

    However, this might be considered as a separate issue.

  5. Yixuan39 commented on Nov 27, 2026

    @Yixuan39
    Author

    Closing this issue since the original FAIMS ProteomicsLFQ segfault is confirmed fixed on dev (2026.10.04 container). As noted in #735, the downstream QPX ConsensusMapArrowExport duplicate feature_id error is a separate issue addressed upstream by OpenMS/OpenMS#10453 (pending container update in #740). Thanks again @timosachsenberg!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions