mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
The IMEX fixtures set seven nozzles but kept multifilament_config's single filaments x filaments flush block. get_flush_volumes_matrix splits that block across the nozzles, leaving each with 7 values, and ToolOrdering::reorder_extruders_for_minimum_flush_volume then reads them as a 7 x 7 matrix, past the end of the buffer. One of the affected tests segfaulted on Windows x64; ASan reproduces the overflow in that test on Linux, where it passed only by luck. The fixtures now repeat the block once per nozzle, as the GUI does, and size flush_multiplier to match, since append_full_config takes the nozzle count from it. The helper is shared in test_helpers. Co-authored-by: HanifKoh <76276251+HanifKoh@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: