If it's stinky, it's cecal which should happen every 10 poops or so. Are the 'regular' poops also foamy? Apparently foam can be caused by stress on the kidneys from an excess in vitamins - they're not on layer feed, are they?
I've only just started researching this bit as my broody is having...