crash on boost accumulators

0 views
Skip to first unread message

Peter Caspers

unread,
May 27, 2026, 1:15:41 AM (7 days ago) May 27
to include-what-you-use
Hi, 

I am running IWYU with clang 22 on a cmake project. I am noticing segmentation faults on two of the files

Error running 'include-what-you-use': Segmentation fault
make[3]: *** [ore/QuantLib/ql/CMakeFiles/ql_library.dir/math/statistics/incrementalstatistics.cpp.o] Error 1
Error running 'include-what-you-use': Segmentation fault
make[3]: *** [ore/QuantLib/ql/CMakeFiles/ql_library.dir/methods/finitedifferences/meshers/fdmhestonvariancemesher.cpp.o] Error 1

I am thinking this is due to the usage of boost accumulator library in these files. The project has ~1k files and all go through except these 2 including the accumuator lib. Is this a known issue? Is there a way to skip these two files in IWYU maybe?

I will try to produce a minimal example and open an issue on github. I just wanted to quickly check whether someone has a spontaneous thought / workaround.

Thank you
Peter

Reply all
Reply to author
Forward
0 new messages