If doing a replace search, and you're searching for the end of line and replacing it with something else, it just keeps replacing it, creating a new line after it and then replacing that new line, resulting in an infinite loop if choosing to replace all:
(Make sure to save your work before doing this!)
Text to search for: $
Replace with: ;
Regular expression: True
(Click replace)
(Click all)