I had that error too.
There is an 'if' with an uninitialized variable 'r' in src/client/menu/m_parse.c (around line 695), which seems to cause it. Removing it solved the problem:
Index: src/client/menu/m_parse.c
===================================================================
--- src/client/menu/m_parse.c (revision 21599)
+++ src/client/menu/m_parse.c (working copy)
@@ -692,15 +692,12 @@
case V_SPECIAL_IF:
{
menuDepends_t **condition = (menuDepends_t **) ((byte *) object + property->ofs);
- qboolean r;
*token = COM_EParse(text, errhead, objectName);
if (!*text)
return qfalse;
*condition = MN_AllocCondition(*token);
- if (!r)
- return qfalse;
}
break;