The coastline paradox is a situation where that doesn't happen. No matter how far you zoom in on a part of the coastline, you always find more detail -- bays and peninsulas, cliffs and inlets, pits and protrusions, tiny bumps, and so on. And the more of that detail you try to include in your measurement, the more your measured length will increase. In mathematics, we say that the length diverges. If you were measuring a smooth curve, the length would converge on a single value -- incorporating more detail would change the length, but only by tinier and tinier amounts.
Now of course a real coastline is a very complicated thing, and there are lots of practical obstacles to measuring one very precisely. So at some point we stop talking about real coastlines and start talking about a mathematical ideal, a kind of perfect roughness that's the opposite of the perfect smoothness we use for calculus. Such a perfectly rough curve is called a fractal.
There are also other things that can break calculus -- pointy curves, discontinuities, and infinities can all cause trouble.