Sorry to ask more follow up questions, but I have a theory about this bug and some more information would be useful, since I can't reproduce it myself.
When you say "the hallway to the professor's office" was inaccessible, do you mean that you couldn't go from the library entrance to the corridor, or that you could enter the corridor but couldn't enter the professor's office itself? Also, were you able to go to the loading area and/or ring the call bell next to the librarian?