I have an old girl that started doing badly about 5 days ago. She isnt eating or drinking and i dont know what the problem is. The only thing i know she probably had was gleet. But she is passing these masses they are white and range in size from old chewed gum to a chicken nugget. I think it is too late for her but am wondering what it could be.
So sorry for your loss. I agree that she may have been passing lash eggs from infection in her oviduct, called salpingitis. It is common in internal layers, and in egg yolk peritonitis which are related. Here is some reading about salpingitis: https://the-chicken-chick.com/salpingitis-lash-eggs-in-backyard/
Production breeds(Isa browns, golden comet, cinnamon queens etc) are extremely prone to laying problems and are usually swapped out commercially between 18-24 months as they tend to quickly lay less and less and become more prone to production problems in that time frame and especially beyond it. If during winter you supplement their light to induce laying they don't get the natural rest period they are made to have and that also increases the chances of laying problems. Laying problems are effected by many things though for example; breed, genetics, feed/diet, artificial daylight, weight(overweight birds tend to have more trouble). Etc.
If you are wanting pet birds that will live longer I would suggest a heritage breed especially if you can find a none hatchery strain. Although in my own opinion hatchery heritage birds are better than production birds. There are always exceptions to every rule and I know some people have been able to keep production hens for years and had problems with hatchery heritage breeds.