A breach could occur in a variety of ways, but was frequently characterized by a coolant leak from the main reaction chamber, resulting in a runaway reaction within the warp core. Antimatter containment was lost, and the resultant contact between antimatter and the normal matter of the ship destroyed the vessel.
Consequences and prevention
The breach was almost always irreversible, as most safety protocols and systems would have failed prior to the event. Warp core ejection was a common method of dealing with a breach, although this was considered a last ditch effort and often failed aboard. The Template:ShipClass was notorious for this problem. The evacuation of the crew to the primary hull and initiating separation was also used in cases where the vessel had that capability, such as on Galaxy Class vessels. In situations where a saucer separation could not be initiated, then evacuation of the ship via escape pods or shuttles would occur. Regardless, the aim was to get as much distance between the core and the crew as possible before detonation. In the case of saucer separation (or warp core ejection), the ship was left running on impulse power and batteries, as the warp core and warp nacelles were required for warp drive.
In 2369, the Enterprise-D was destroyed by a warp core breach, generated by a massive energy feedback into the warp core from a power transfer to a Romulan vessel. The core breach was averted when time reset itself and Captain Picard remotely steered a runabout into the transfer beam. (TNG: "Timescape")
In 2371, the engineering hull of the USS Enterprise-D was destroyed in a warp core breach following rupture of the magnetic interlocks. The shock wave created by the explosion caused the vessel's saucer section to crash-land on Veridian III. (Star Trek Generations)
In early 2372, as a result of a subspace inversion of the Bajoran wormhole, the USS Defiant was under threat of a core breach, with the ejection system disabled. Benjamin Sisko was able to shunt the excess power over to the deflector array with the help of an interphasic compensator, averting the breach. (DS9: "The Visitor")
Nucleonic particles from a polaric field flooded the intake manifolds of the Enterprise NX-01 in 2153, causing an injector flare that could have caused a warp core breach. Trip Tucker sustained life-threatening injuries during a manual shutdown of the reactor to prevent the breach. (ENT: "Similitude")
Antineutrinos tend to have a neutralizing effect on warp core containment fields of Federation starships. A Sikarian spatial trajector field, utilizing antineutrinos, nearly caused a warp core breach on the USS Voyager. (VOY: "Prime Factors") One of the USS Voyager's shuttlecraft, the Cochrane, was destroyed by a warp core breach in 2374. Its occupants, B'Elanna Torres and Tom Paris, had to don environmental suits and beam into open space to await rescue. (VOY: "Day of Honor")
The reaction of veridium isotopes with warp plasma will cause a warp core breach. This led to the near destruction of the Delta Flyer in 2377, although the warp core was successfully ejected into a class J nebula before the explosion could destroy the vessel. (VOY: "Drive")
If a large number of tachyons leak in to a warp core, a warp core breach is almost certain to occur, as a result of the tachyons creating a resonance frequency causing the core pressure to increase out of control. (VOY: "Day of Honor")
Warp core breaches have been deliberately performed; Q purposefully caused the core aboard the Enterprise-D to breach in 2369 (so that, if he was right and she was in fact a Q, Amanda Rogers could prevent it) and Geordi La Forge caused a breach of the USS Enterprise-E's warp core in 2375 to seal a subspace tear caused by an isolytic burst (the core having been ejected from the ship prior to detonation), while in 2258 of Nero's alternate reality, Montgomery Scott ejected and detonated the warp cores of that timeline's Enterprise, and the resultant explosion pushed the ship free of the black hole consuming the Narada. (TNG: "True Q"; Star Trek: Insurrection; Star Trek) They are more often used as the primary means of fulfilling a starship's auto-destruct sequence.
To demonstrate the damaging effects warp drive were having on subspace, Serova took her ship out into the Hekaras Corridor and intentionally overloaded her warp engines, causing a core breach that killed her and destroyed her ship. The resultant burst of warp energy proved her theory by creating a subspace rift. (TNG: "Force of Nature")