The issue with Model 22's and 23's blowing up can happen with both factory and reloaded ammo. The crux of the matter is 'lead ammo,' that is, bullets with no gilding jackets.
This was discussed in gun rags when it first started to happen. I was concerned because I had been feeding my 23 with nothing but linotype ammunition. (Linotype is an alloy smelted from lead, arsenic, tin and antimony.) When I cast my bullets, I drop them into a pail of ice, or ice water, and that makes them even harder.
My barrel and chamber didn't seem to have a lead build up because of the hard alloy. Even if a build up was noticed, there is a device called a "Lewis Lead Remover" which handles the job very simply.
The ammo that was causing the problems was 'swaged lead' bullets. That is, soft lead wire (the caliber needed for bullets) is run through a stamping machine and the shape of the bullet is hammered as the press closes. This method works best with soft lead, the softer the better.
When the chambers of Glocks got a bad build up, the bullet was held back as it fired. This 'hold back' upped the chamber pressure.
The answer is to shoot hard bullet reloads, or just use jacketed bullets for your reloading process. And keep glocks very clean.