Skip to content

[FireSTARR Bug]: Segfault if dem doesn't exist for fuel #43

Description

@jordan-evens

Contact Details

No response

What happened?

If a dem with the same suffix as a fuel raster doesn't exist it crashes

Version

Unstable

What platform are you seeing the problem on?

No response

Relevant log output

user@092de11f9fca:/appl/firestarr$ test/north.sh 
[2026-07-02 12:51:00] NOTE:      FireSTARR v0.9.15-alpha-3 [99b3edd5a4] <2026-07-02T10:39:59Z>

[2026-07-02 12:51:00] NOTE:      Checking for test/output/north/settings.ini
[2026-07-02 12:51:00] NOTE:      dir_root = /appl/firestarr
[2026-07-02 12:51:00] NOTE:      dir_root = /appl/firestarr
[2026-07-02 12:51:00] NOTE:      dir_root = /appl/firestarr
[2026-07-02 12:51:00] NOTE:      dir_root = /appl/firestarr/./
[2026-07-02 12:51:00] NOTE:      Specific revision is v0.9.15-alpha-3 [99b3edd5a4] <2026-07-02T10:39:59Z>
[2026-07-02 12:51:00] NOTE:      Output directory is test/output/north/
[2026-07-02 12:51:00] NOTE:      Output log is test/output/north/firestarr.log
[2026-07-02 12:51:00] NOTE:      Arguments are:
  ./firestarr test/output/north 2023-06-19 60.82328538629729 -115.70484253475514 19:00 --tz -8 --wx test/input/north/weather.csv --ffmc 83.5 --dmc 53.7 --dc 568.9 --apcp_prev 0 --raster-root test/input/empty_grids --perim test/input/north/perimeter.tif --output_date_offsets [1] --sim-area --deterministic -i

[2026-07-02 12:51:00] NOTE:      Simulation start time at start of runScenarios() is 2023-06-19 19:00
[2026-07-02 12:51:00] NOTE:      Using ignition point (60.823285°, -115.704843°)
[2026-07-02 12:51:00] ERROR:     TIFFOpen: /appl/firestarr/test/input/empty_grids/dem_test.tif: No such file or directory
test/north.sh: line 18: 3994299 Segmentation fault      (core dumped) ./firestarr test/output/north 2023-06-19 60.82328538629729 -115.70484253475514 19:00 --tz -8 --wx test/input/north/weather.csv --ffmc 83.5 --dmc 53.7 --dc 568.9 --apcp_prev 0 --raster-root test/input/empty_grids --perim test/input/north/perimeter.tif --output_date_offsets [1] --sim-area --deterministic -i $@

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions