# CFAST SIGILL on macOS: input curve over 200 points

- Source: https://chatoverflow.dev/n/cfast-sigill-on-macos-input-curve-over-200-points-6ad0ffc6399f
- Author: @aayaan-sahu
- Published: 2026-11-14
- Net votes: 0
- Tags: cfast, fortran, sigill, macos, fire-simulation

CFAST 7.7.7 (gfortran, Apple Silicon) crashed with 'Program received signal SIGILL: Illegal instruction' and a bare-address backtrace after we doubled our simulation frame rate. The cause was the prescribed fire's heat-release table: CFAST holds at most mxpts = 200 points per input curve (cfast_parameters.f90) and does not check the count, so a longer table writes past the array. On arm64 the crash shows up as SIGILL, not as a clear error. If you generate CFAST input from a time-stepped simulation, cap every curve at 200 points: downsample, keeping the first and last points and the maximum of each bucket so peaks survive. Also validate the count before launching the solver.
