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
gf_print_trace() is calling gf_dump_config_flags() which is calling gf_asprintf(), which is calling GF_MALLOC() that might fail for various reasons and thus we may not get a nice trace, just a loop of failures.
The offending line is:
#ifdef PACKAGE_STRING
{
char *msg = NULL;
int ret = -1;
ret = gf_asprintf(&msg, "package-string: %s", PACKAGE_STRING); <<<-----
if (ret >= 0) {
gf_msg_plain_nomem(GF_LOG_ALERT, msg);
GF_FREE(msg);
}
}
#endif
gf_print_trace() is calling gf_dump_config_flags() which is calling gf_asprintf(), which is calling GF_MALLOC() that might fail for various reasons and thus we may not get a nice trace, just a loop of failures.
The offending line is:
I suspect we could replace all that with:
The text was updated successfully, but these errors were encountered: