Based on what I have read, it does sound like gapeworm. It might possibly have something to do with the pine shavings too. I never used shavings for my chickens but I have heard others complain about the health problems resulting from using them. You might want to look into it to see if that...