You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
daanx commentedon Sep 15, 2026
Thanks for the report! I'll revise this.
revise handling of NULL theaps using xtheap naming convention; fixes …
sagaceilo commentedon Sep 15, 2026
dev3is no longer asserts in mi_new, but now getting the same as #1402daanx commentedon Sep 15, 2026
Fixed #1402; Still working on the right approach with NULL theaps.
test: every way to allocate as the first call on a new thread