[Bug 43007] crash when trying to open file