Defecating, shitting, going belly involuntarily. Figuratively it is "ruining something". It is used more as a pronominal.