Ghoul hopefully found the problem (definitely the SZ_GetSpace: Tried to write to an uninitialized sizebuf_t: ??? error) & nice work with the bot.
Code:
respawn_time = gpGlobals->time + 0.5; // set next respawn time
should be
Code:
respawn_time = gpGlobals->time + 2.0; // set next respawn time
If this doesn`t fix the major bug add a some logging functions to your bot, I managed to find the podbot_mm num for edict bug with a little log helper
enjoy
Dubb

.