mimalloc
mimalloc copied to clipboard
[BUG] `free(): invalid pointer` (moved from `vscode-dotnettools` repo)
Root cause located: Instead of glibc standard malloc, I'm using Microsoft [mimalloc](https://github.com/microsoft/mimalloc) as my memory allocator.
~ $ cat /etc/ld.so.preload
/usr/lib/libmimalloc.so
after reverting back to glibc, the projects can be successfully loaded.
Originally posted by @enihcam in https://github.com/microsoft/vscode-dotnettools/issues/275#issuecomment-1646731337
Steps To Reproduce
- create a remote environment that can be SSH-ed.
- in the remote environment, install
mimallocand write/usr/lib/libmimalloc.soto/etc/ld.so.preload, and reboot. - open the remote environment with VSCode.
- install
C#extension andC# Dev Kitextension - open all.sln from https://github.com/Azure/Bridge-To-Kubernetes.git
ping. @daanx