Page MenuHome

Crashes when opening files.
Closed, ArchivedPublic

Description

System Information
Operating system: Windows 10 Professional (x64) Version 1909 (build 18363.1316) English.
Graphics card: Radeon RX 580 Series.

Blender Version
Broken: 2.82, 2.92, 2.93.
Worked: Maybe 2.80.

Short description of error
When I open a file in the file explorer, the program crashes. When I try to import media in the video editor, the program crashes.

Exact steps for others to reproduce the error
Open Blender, click File > Open, select a .blend file or a media file to import (respectively), and press return or click "Open". The program will crash 100% of the time.

Event Timeline

Falk David (filedescriptor) changed the task status from Needs Triage to Needs Information from User.Mar 8 2021, 5:36 PM

I cannot reproduce this. Are you sure this is happening with any .blend file? Are you sure you tested this with the latest alpha from https://builder.blender.org/download/? Are your graphics drivers up-to-date?

My graphics drivers are up to date.

I'm trying to work the bug more, and I'm finding that it might have something to do with a specific set of files, and other files are not creating the issue.

Alpha, 2.93. Have tried numerous different blend files that worked on older versions (yes, they're all .blend files).

Let me work on this more and post an update within 12 hours. Getting late here. Can you see if you can reproduce the issue with the file attached?

It looks like your file got corrupted.

Error found: object Sphere.001 had invalid mesh data!

Here is what you can do:

  1. Open up Blender with the default start-up file.
  2. Go to File>Append and then browse to the broken file. Go into the file and then to Scene and append the Scene.
  3. Open a Text Editor and paste the script below into it. Run the script.
  4. Now you should be able to select the scene Scene.001 in the top right without a crash.
import bpy
objs = bpy.data.scenes['Scene.001'].objects
for obj in objs:
    if obj.type == 'MESH':
        if obj.data.validate():
            print(f"Error found: object {obj.name} had invalid mesh data!")

This should help you fix the corrupted files. Let me know if this works.

Jim (Fohsap) added a comment.EditedMar 12 2021, 3:57 AM

Recommend muting the video audio or your computer's audio. The audio in these videos is not necessary and can be annoying.

Okay, but let's say I go to File -> Append and type C:\Blender into the address bar....
The app crashes.

Video Attachment 1:
Crashed....
When I pressed "esc". Twice..

Video Attachment 2:
Append to scene crashes when 'append' is pressed.
Crashed.... twice, here. .

Video Attachment 3:
Various 'open/import' crashes.
Pressing open twice, consecutively.... Could just be on a timer? Seems to be the open/import/attach-type dialogs. Pressing esc now, has no impact. Sure enough, export has an issue.
Can't reproduce the importing video to timeline bug, but I did have issues with this on 2.93, 2.92, and 2.82. I think the last version I could run was 2.80 (it also crashed, but less often).

The corrupted file has its own issue, separate to this one. I'll attach the bellydancer .blend, which probably isn't corrupt--anyway, you can see in the video that the crashes also happen with the default scene.

Is it possible that this is occurring because Blender is not installed under Program Files? I've installed by merely extracting 2.82, 2.92, and 2.93 to the folders c:\blender\282, ..\292, ..\293.

I'm sorry, but I don't know how to find more log info. :/ Here's what I've got by reading about crashes.

@Jim (Fohsap)
Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to make Blender crash again. Once it crashes the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer). On a crash, a file is written based on the name of the currently loaded blend-file, so test.blend will create a file called test.crash.txt.

I am unable to reproduce the crash.
Maybe it is something to do with the major Windows update last night?

Closing this for now. If you have any other issues, feel free to open a new report.