Skip to content

Possible root causes of geninfo 'mismatched end line for main at start.c' ? #316

@mhoes

Description

@mhoes

Hi,

While running lcov (capturing initial zero coverage data) I have run into the following error :

geninfo: ERROR: mismatched end line for main at /home/maarten/src/libreoffice/core/desktop/unx/source/start.c:742: 885 -> 742
        (use "geninfo --ignore-errors mismatch ..." to bypass this error)

I get that I can suppress this error and continue, but I was wondering what a possible root causes for this error might be ? Could there be a bug in lcov or gcov, a problem with the codebase that needs to get fixed, or perhaps I am simply doing something wrong here ?

I am running lcov 2.0 on Fedora 40.

Please note I am not a developer (I am just trying to show the developers of the codebase how much of their code gets covered by their test suite). Also, I have successfully run lcov in the past on the same codebase, but that was with both an older version of lcov and an older version of the codebase.

I've included the source file that triggered the error: start.tar.gz

Any and all help is appreciated, and please let me know if I need to supply more information or details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions