If compiled with the DEBUG_VM define, the COM_Parse() function is using some global variables to parse strings in vm.c:
com_token
com_lines
com_tokenline
This is probably not thread safe if several .map files are loaded at the same time in different threads.