Honestly any weapon can be impacted by dirt and debris. Certainly the trigger mechanism of the Glock could be vulnerable when you examine how the safety works within the trigger. I'm not saying this is a common occurrence or even has ever occurred but it seems at least plausible.
Many quality brands are used in military service and any of these should be more than capable of handling what the average person can do with them. My personal list would be something like:
Your mileage may vary...