File locking will attempt to log on failure (ie: the medialib is already locked). As fc002ae1 removed s_logger null checking, logging before constructing MediaLibrary dereferences nullptr.
s_logger
MediaLibrary