Don't get the .40, but don't blame the Glock entirely. The cartridge is susceptible to Kbs in other makes too. The design is a problem. The case pressure is high, and bullet setback of a few thousandths, esp. with longer, heavier bullets, such as the 180gr., can increase pressures tremendously. Most of the Glock Kbs I've heard about are with 180gr. bullets. Don't use'em. FBI issues Glock .40s, but not 180gr. bullets, which they determined to be ballistically inefficient anyhow.
I own a Glock 10mm and have had no problems with this much higher performing cartridge, nor have I heard of any. Same with the .45 Glock.
If you want a gun that has an unsupported chamber and has a reputation for Kbs, then I suggest looking no further than the 1911. This gun has more Kbs than Glock, but then they made more. Glock, in turn, dominates the autopistol market in the non-1911 segment of the market, so you do the math.
Would I own a .40 Glock? No, but not from fear of Kbs. I own the 10, plan on buying a .45 and a 9, so what's the point of the .40? I probably will never own a .40 that isn't a 10mm as well.