Skip to content

Improper materials input can cause segfault #136

@ethan-shanahan

Description

@ethan-shanahan

If the number of phases specified in the "materials" json entry is less than the number of phases present in the microstructure, a segmentation fault can occur. The MaterialManager seems to have no problem initialising. It is only when the first iteration is about to be calculated that FANS crashes.

This was discovered under the conditions of 1 phase specified by the json and 2 phases present in the microstructure. See attached the FANS.log and FANS.err files of that attempt.

Metadata

Metadata

Assignees

No one assigned

    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