Closed dmik closed 3 years ago
I found out what's wrong: it's the fact that the release build of LIBCx doesn't use LIBC log groups at all (passes NULL as pGroups
to __libc_LogInitEx
) because it never logs anything except assertions and all log statements are turned into no-ops when compiling. Anyway, it's a LIBC regression for which I created a ticket (above) so closing this one in favor of it.
An attempt to assert in a release build always ends up in this truncated log file contents:
accompaniet by a SIGSEGV crash in LIBCn:
Looks like some regression of either edd18962e6b6754a1966970257e08e87e7df4771 or LIBCn's https://github.com/bitwiseworks/libc/commit/a877378ac862b290bedc57f3b818c6c050842b7a or around that.
Note that for some reason it does not happen in debug builds of LIBCx.
Kind of critical as it completely breaks error condition discovery in the user environments. We need an urgent fix given that this is out in the just-released version 0.7.1 right now.
Discovered while sorting out #97.