Skip to content

Create an abort mechanism that can abort the runtime quickly closer to the allocation failure #682

@Devika-Tantry

Description

@Devika-Tantry

For example, during the Malloc, if any allocation fails, we are printing the message here and continuing with other statements. This may lead to a segmentation fault in succeeding code where we try to access this memory that is not allocated.
We should create a mechanism to abort the runtime quickly as we get to know about allocation failure to avoid other segmentation faults.
@rajsite suggestion in #681 : To use the C abort function.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions