Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
MSVC crash with '-DMEMDEBUG_LOG_SYNC' #828
Building libcurl with
I.e. Dr. Watson triggers a run-time check followed by a crash. But this seems to work as intended:
Anybody who can confirm this?
This seems to be the same as this Stackoverflow issue. I'm using MSVC-2015 (cl 19.00.23506 for x86) on Win-10.
Not sure what you mean by unbuffering this stream, but trying with this:
Ah, yes this works:
This issue seems to have surfaced once again. Now in C-ares when
--- a/memdebug.c 2017-05-25 14:03:18 +++ b/memdebug.c 2017-07-06 18:03:24 @@ -115,6 +115,7 @@ logfile = stderr; #ifdef MEMDEBUG_LOG_SYNC /* Flush the log file after every line so the log isn't lost in a crash */ + if (logfile) setbuf(logfile, (char *)NULL); #endif }