Skip to content

Segmentation fault in iwyu ci job #3453

@dbarker

Description

@dbarker

The IWYU CI job logs a segmentation fault and succeeds.

https://github.com/open-telemetry/opentelemetry-cpp/actions/runs/15320806098/job/43103944715#step:8:1644

Error running 'include-what-you-use': Segmentation fault
make[2]: *** [exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/build.make:79: exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/src/otlp_grpc_client.cc.o] Error 1
[ 71%] Building CXX object exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/src/otlp_grpc_client_factory.cc.o
[ 71%] Building CXX object exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/src/otlp_grpc_utils.cc.o
make[2]: Target 'exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:8306: exporters/otlp/CMakeFiles/opentelemetry_exporter_otlp_grpc_client.dir/all] Error 2

The iwyu tool never finishes the build and stops due to the error.

[ 95%] Built target func_otlp_http
make[1]: Target 'all' not remade because of errors.
make: *** [Makefile:166: all] Error 2
make: Target 'default_target' not remade because of errors.

We are installing iwyu with apt and using version 8.21. A newer version may be available.

Get:13 http://azure.archive.ubuntu.com/ubuntu noble/universe amd64 iwyu amd64 8.21-1build2 [681 kB]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions