This message occurs when SQL Server finds that there is something wrong with a database; the files are corrupt, the database files themselves are inaccessible, or possibly there is not enough space available for it to startup properly.
I would guess that the infinite loop ran your database out of space resulting this message.
It should be recoverable, though there maybe some data loss.