Running executable compiled with "-fsanitize=address" produces error message #764

Open
opened 2022-10-08 22:31:16 +02:00 by nonrice · 0 comments
nonrice commented 2022-10-08 22:31:16 +02:00 (Migrated from github.com)

I use Clang's -fsanitize=address option frequently to help with debugging memory errors. Unlike other terminal emulators, which produce no error message, using this option inside Cool Retro Terminal produces the error message malloc: nano zone abandoned due to inability to preallocate reserved vm space. The program functionality and address sanitizer functionality both seem untouched. What is the cause of this error, and how to get rid of it?

upd: It seems to be problem related with clang- compiling in CRT will cause the message to be shown on other terminals as well

Screen Shot 2022-10-08 at 4 26 43 PM
I use Clang's `-fsanitize=address` option frequently to help with debugging memory errors. Unlike other terminal emulators, which produce no error message, using this option inside Cool Retro Terminal produces the error message `malloc: nano zone abandoned due to inability to preallocate reserved vm space`. The program functionality and address sanitizer functionality both seem untouched. What is the cause of this error, and how to get rid of it? **upd: It seems to be problem related with clang- compiling in CRT will cause the message to be shown on other terminals as well** <img width="465" alt="Screen Shot 2022-10-08 at 4 26 43 PM" src="https://user-images.githubusercontent.com/17582488/194726661-4a90c98f-3d2d-4fa4-8396-76206d4771e0.png">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#764
No description provided.