Arduino LCD crashing / solid top line
A top line of solid blocks appears when the display has not been initialized, or if it has become deinitialized after a brownout. Be sure that the code initializes the display properly and that the decoupling capacitor is functional.