Skip to content

[BUG] Segment fault error caused by pxTopOfStack #967

@xzwDavid

Description

@xzwDavid

Hi~
I use ubuntu 20.04 and run FreeRTOS_Plus_TCP_Echo_Posix on it.
However, it down because of segment error.

And I use gdb to debug it.

Found that this func " pxNewTCB->pxTopOfStack = pxPortInitialiseStack( pxTopOfStack, pxNewTCB->pxStack, pxTaskCode, pvParamet)" that produce some bug?

I used static way.

I also change some xTaskCreateStatic to xTaskCreate, however, it only works for some task while others don't.

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