-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on V3.0.1 #991
Comments
Thanks!
Let me know how it goes |
I fixed duplicate error with building mimalloc directly from source (DMI_USE_CXX = ON, MI_OVERRIDE = OFF) (i manually changed std::malloc / calloc / free to mi_malloc, mi_calloc etc) so i can build. also crash issue fixed with mimalloc.a with builded MI_OVERRIDE = OFF flag. before v3, i used mimalloc from freebsd's pkg repo, and i dont get this problems. |
@daanx I'm sorry for not tagging you, I thought github was reporting automatically. |
I compiled my program as usual but it started to crash;
FreeBSD x64, latest version (14.2-RELEASE) everything updated.
compile flags: -std=gnu++2b -march=native -m64 -static -DNDEBUG -pthread -ffast-math -O2
compiler: clang++19
LIBDIR += -L/usr/local/lib
LIBS += -lmimalloc
includes on main.cpp;
#include <mimalloc.h>
#include <mimalloc-new-delete.h>
main function start with these;
mi_version();
mi_stats_reset();
mi_option_set(mi_option_allow_large_os_pages , 1);
mi_option_set(mi_option_reserve_os_memory, 500'000); // 512 MB
--- update ---
also idk why but I get duplicate linker errors;
no new overrides in sources and another libs.
The text was updated successfully, but these errors were encountered: