Shit a brick
Originally, from the 19th century, this low vulgarism described defecation after a period of constipation. From the early 20th century, it had become an expression of surprise or incredulity.