If you are, say, at first floor of a lab and, say, there is an anthill near, ants WILL spawn right before your eyes. The safe applies for slime pits, and probably for fungaloids and triffids too.
By the way, this bug still exists: http://smf.cataclysmdda.com/index.php?topic=6154