Skip to content

Assert on first thread allocation on 3.5.2 #1398

Description

Hey.
Just updated to 3.5.2 and it asserts about missing theap in the very first allocation on new thread.

Editor_debug.exe!_mi_assert_fail(const char * assertion, const char * fname, unsigned int line, const char * func) Line 572	C++
Editor_debug.exe!mi_theap_malloc(mi_theap_s * theap, unsigned __int64 size) Line 278	C++
Editor_debug.exe!mi_theap_alloc_new(mi_theap_s * theap, unsigned __int64 size) Line 830	C++
Editor_debug.exe!mi_new(unsigned __int64 size) Line 837	C++
Editor_debug.exe!operator new(unsigned __int64 n) Line 40	C++

mi_new() -> _mi_theap_default() seems to return nullptr. 100% occurrence. 3.5.1 verified to behave correct.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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