It’s very easy to overload cartridges for semiauto pistols, the only thing containing the pressure is the back end of the barrel. Don’t try to save money on motor oil, condoms, or ammo for semiauto pistols.....
In particular, be careful if shooting reloads from a Glock.
Glocks don’t support part of the case wall, and that integral ramp gives them some of their great reliability, but also makes then sensitive to reloads.
If you do shoot reloads from a Glock, mark where the unsupported part of the casing was, and be sure that it is supported when the reload is fired. After a second reload and firing you don’t have a safe way to fire a reload, and most of the cartridge case wall has been unsupported in one firing or another.
If the case wall gives out, it puts the gasses down into your hand. The .40 S&W has a particularly bad reputation because of its high pressure.