Skip to content

createSession() failed with segmentation fault #4039

@haiy4774

Description

@haiy4774

使用c++ API推理mnn模型时,发生segmentation fault的问题,进一步调试发现在createSession()时,进到函数DeferBufferAllocator::compute()函数时触发MNN_ASSERT(mFreeList.size()== 1)错误,此时mFreeList.size()=4,请问这个报错是什么原因造成的呢?

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