Skip to content

MultiQC grep lookaheads on large inputs cause grep failure #7865

@natefoo

Description

@natefoo

Running multiqc 1.33+galaxy0 on a ~4.2M line, 190MB pairtools dedup output fails with:

grep: /.../dataset_....dat: exceeded PCRE's backtracking limit

The searched strings are actually within the first few lines, but from what I've read, I believe the .* causes grep to start at the end and work backwards, which is where the backtracking limit comes from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions