Skip to content

SetUp causes memory access violation #19

@DPastl

Description

@DPastl

Hello,

I'm trying to use the setUp function in fff, but am running into an issue where as soon as I attempt to access global variables, my tests crash with:

And exited with status: [0] (count of failed tests).
This is often a symptom of a bad memory access in source or test code.

What I'm doing in the code is:

int somevar;

void setUp( void )
{
    somevar = 0;
}

That is sufficient to cause the tests to crash. Is there a setting in ceedling that I'm missing or something that I'm doing wrong? Or is this a bug in fff / ceedling?

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