Skip to content

els.spread_fire_with_phi_field() back-end memory based crash #6

@mengsig

Description

@mengsig

@lambdatronic
Currently, I can force the following issue:

corrupted size vs. prev_size
double free or corruption (out)
run.sh: line 67: 232732 Aborted

By setting the following parameters in the environment using the SpaceTimeCube:

    "fuel_moisture_dead_1hr": SpaceTimeCube(cube_shape, 0.15),
    "fuel_moisture_dead_10hr": SpaceTimeCube(cube_shape, 0.25),
    "fuel_moisture_dead_100hr": SpaceTimeCube(cube_shape, 0.50),

Whereas, with the exact same SpaceTimeCube, I do not get this crash for the following parameters:

    "fuel_moisture_dead_1hr": SpaceTimeCube(cube_shape, 0.10),
    "fuel_moisture_dead_10hr": SpaceTimeCube(cube_shape, 0.25),
    "fuel_moisture_dead_100hr": SpaceTimeCube(cube_shape, 0.50),

If this is intended - e.g. (fuel_moisture_dead_1hr <= 0.10), then it would be great to have better error-handling so that the user can identify the issue, and if not, well, then happy hunting!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions