slam and jam em -- not good
A slamfire is a premature, unintended discharge of a firearm that occurs as a round is being loaded into the chamber. Slamfires are most common in military firearms that have a free-floating firing pin, as opposed to a spring-loaded one. In the action of a typical semi-automatic weapon, the energy of a fired round forces the bolt and bolt carrier rearward, ejecting the empty case. A spring then forces the bolt forward again, and in the process a fresh round is stripped out of the magazine. When the face of the bolt hits the head of the chamber, unless there is a spring around the pin to retard its movement, inertia causes the firing pin to continue forward until it is stopped on the primer of the round. Sometimes this inertial force is sufficient to set off the primer, thereby firing the round without the operator pulling the trigger. This can potentially occur repeatedly, until the magazine has been emptied or the weapon malfunctions.
Slamfires are a very dangerous situation, because the operator will have no control of the weapon. Though they are very rare in quality well-maintained weapons using quality ammunition, all weapons operators should be aware of the risk. It is wise to ensure that the weapon is pointed in a safe direction ("downrange") before closing the bolt and chambering a cartridge. If a slamfire does occur, the operator must do his best to remain calm and hold the weapon securely, pointed in a safe direction, until it ceases firing. Needless to say, this requires extraordinary discipline and many operators will "spook" and instinctively drop the weapon as soon as it begins firing.
As dirt and fouling accumulate in the firing pin channel, the pin may begin to protrude from the bolt face, and the risk of slamfire increases. If the firing pin is permanently locked forward, as is done intentionally for open bolt designs, the round will fire every time the bolt closes.
Aside from the dangers of any accidental discharge, slamfires present the particular risk of an out-of-battery detonation. This occurs when a round is fired before it is completely secured in the chamber, and can damage or destroy the firearm, as well as potentially injure the operator and bystanders.
Recognizing the obvious need to minimize the chance of this happening, there are two simple methods commonly employed. One is to use ammunition with harder primers, which require a more significant strike from the firing pin and are thus unlikely to go off with a comparatively light inertial strike. Most military ammunition makes use of hard primers for this reason.[1][2] The second method of minimizing the risk of slamfire is in the design of the firearm itself. Spring-loaded firing pins prevent slamfires because the pin cannot easily move inside the bolt. A proper strike from the firearm's hammer will overcome the resistance of the spring, but ordinary inertia will not. A simple solution in free-floating pin designs is to make the firing pin itself very lightweight, which reduces its inertia and lessens the risk of slamfire.
Technically, the risk of slamfire is inherent in any design that uses a free-floating firing pin. This does not necessarily equate to an inferior design, however, as many excellent military firearms make use of them due to their simplicity and ruggedness. One such design often associated with a tendency to slamfire is the SKS. Many of the reported cases of slamfire in the SKS are quite likely in surplus examples that have not been properly cleaned of preservative cosmoline inside the firing pin channel. The old British Army Sten gun was well known for slam-firing, having been commonly known to be dropped, and the entire weapons magazine being emptied whilst the weapon spun in a circle on the floor due to the direction of the recoil of the bolt (the same recoil that would cause barrel-rise, were the weapon held by a user), a number of soldiers having been known to be shot in the ankle during such incidents.
In properly maintained firearms using appropriate ammunition, slamfires are very rare.
Pump action shotguns lacking a trigger disconnector can be slamfired, on purpose or otherwise, if the trigger is kept depressed whilst cycling the action.