Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SetUp causes memory access violation #19

Copy link
Copy link
@DPastl

Description

@DPastl
Issue body actions

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?

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.