Blow one’s stack
Lose one’s temper, American slang, dates from the 19th century. The stack here is the smokestack or funnel on steamships. In the early days of steam, steamships would often blow their smokestacks off before the invention of pressure-release valves.