List does not exist Error for Anonymous Users in SharePoint 2010

I was getting the “List does not exist error” for anonymous users, after enabling the debug mode I got the below loooong exception.

It doesn’t really point you with the actual error, after couple of digs; I figured that my master page gallery and style library has unique permission, not inheriting from the parent.

Inheriting […]