Could you check your server error logs to learn more about this 500 error? It could help us understand the issue. If you do not know how to access your error logs, your hosting provider should be able to help.
a non-administrator user (such as an Editor) tries to view all posts
By "all posts", you mean the dashboard screen available under Posts > All Posts, or the frontend of your site?