Unfortunately, the alert gives you no idea whether the problem is related to hardware or software. Getting the black screen of death on a Mac is sometimes accompanied by a message to restart your computer. A kernel panic occurs when the kernel of the operating system discovers something that requires you to restart your computer.
Mac users may find that a kernel panic is at the root of their black screen.