You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assertion failure during System.Net.Http.Functional.Tests unit test execution.
"most likely it's trying to build a path from an assembly location (which is null in single-file apps). but there are a bunch of places where it would do that."
First step would be to get a stack trace. It might also be helpful to run with MONO_LOG_LEVEL=debug, MONO_LOG_MASK=all and check if anything useful gets dumped to the console log
@pavelsavara does the app actually fail after printing that?
It's coming from g_return_val_if_fail (filename != NULL, NULL);
which is a macro like this:
I guess what might be happening is that the g_return_val_if_failed is making some real issue. ie: someone calls g_path_get_dirname and passes in null, then the function prints that message and returns null. and then that null causes a problem down the line. So there's no stack trace from the "assertion" message because it's not fatal.
Activity
lambdageek commentedon Oct 14, 2021
First step would be to get a stack trace. It might also be helpful to run with
MONO_LOG_LEVEL=debug,MONO_LOG_MASK=alland check if anything useful gets dumped to the console loglambdageek commentedon Oct 14, 2021
@pavelsavara does the app actually fail after printing that?
It's coming from
g_return_val_if_fail (filename != NULL, NULL);which is a macro like this:
is
g_criticalfatal on WebAssembly? Or does it just print a scary message to the console and then keep running?lambdageek commentedon Oct 14, 2021
I guess what might be happening is that the
g_return_val_if_failedis making some real issue. ie: someone callsg_path_get_dirnameand passes in null, then the function prints that message and returns null. and then that null causes a problem down the line. So there's no stack trace from the "assertion" message because it's not fatal.pavelsavara commentedon Oct 15, 2021
Keeps running. I didn't see any consequences of it.
lambdageek commentedon Oct 18, 2021
Ok, in that case, this is fixed by #60445