Immediate Crash to Desktop on any file operation. Blender will not re-open until the PC is restarted. #105359

Open
opened 2024-06-20 16:59:26 +02:00 by Dale-Rose · 1 comment

I've been having this issue since v3.4 and I've seen a variety of similar issues. It is not readily reproducible but I believe I have possibly narrowed down the cause some.

Background:
After using Blender for a random period, clicking on any file-related operation will cause an immediate crash to desktop. So, trying to import, export, often times saving but not always. When this happens, trying to reload Blender will result in a brief screen flash (like it's trying) but then nothing else happens. Blender will not re-open until the PC is restarted.

Blender is not still listed in Task Manager. Trying to run Blender from the command line with logging enabled behaves just like trying to start it from the icon. The only thing that appears in the log is the "loading default template" message, but no errors or warnings appear.

I do have addons installed but I have tested this on a clean build without addons installed and it still occurs. There is plenty of system RAM available when these crashes are occurring. VRAM is sometimes closed to maxed out but this also occurs with plenty of free VRAM available.

What I Believe is Happening:
After observing this issue for a year or two now, I believe it stems from an issue with a common shared Linux library like gtk or something similar. Here's why--when this issue occurs and Blender will not re-open, I am also unable to open some other cross-platform applications like the X2Go client. It does the same thing as Blender. It attempts to open but just immediately drops back to the desktop. It, too, will not re-open until the PC is restarted.

Another reason I suspect this is that the issue never seems to crop up if Blender is running without any other cross-platform applications running at the same time. However, if I have X2Go client or Substance Painter running at the same time, the likelihood of a CTD increases dramatically. I have never noticed a negative interaction between X2Go and SP, but I rarely have them running together at the same time and X2Go involves no file related operations while running. I have not encountered the CTD or refusal to load issue with SP, though.

My system:
Win10 Home 64-bit
RTX A4000
AMD 5900X
64GB RAM

EDIT: Some other reports had suggested having luck by using ctrl+shift+win+B to restart the graphics driver. It was reported Blender would load after that. In my case, restarting the graphics driver does indeed allow Blender to restart without rebooting. However, attempting any file related activities (in my test case, clicking the Install button in Preferences-->Addons) resulted in another immediate CTD. I am now unsure if the failure to restart issue is caused by the underlying issue or if it is just a symptom of Blender crashing to desktop suddenly due to some other problem.

I've been having this issue since v3.4 and I've seen a variety of similar issues. It is not readily reproducible but I believe I have possibly narrowed down the cause some. **Background:** After using Blender for a random period, clicking on any file-related operation will cause an immediate crash to desktop. So, trying to import, export, often times saving but not always. When this happens, trying to reload Blender will result in a brief screen flash (like it's trying) but then nothing else happens. Blender will not re-open until the PC is restarted. Blender is not still listed in Task Manager. Trying to run Blender from the command line with logging enabled behaves just like trying to start it from the icon. The only thing that appears in the log is the "loading default template" message, but no errors or warnings appear. I do have addons installed but I have tested this on a clean build without addons installed and it still occurs. There is plenty of system RAM available when these crashes are occurring. VRAM is sometimes closed to maxed out but this also occurs with plenty of free VRAM available. **What I Believe is Happening:** After observing this issue for a year or two now, I believe it stems from an issue with a common shared Linux library like gtk or something similar. Here's why--when this issue occurs and Blender will not re-open, I am also unable to open some other cross-platform applications like the X2Go client. It does the same thing as Blender. It attempts to open but just immediately drops back to the desktop. It, too, will not re-open until the PC is restarted. Another reason I suspect this is that the issue never seems to crop up if Blender is running without any other cross-platform applications running at the same time. However, if I have X2Go client or Substance Painter running at the same time, the likelihood of a CTD increases dramatically. I have never noticed a negative interaction between X2Go and SP, but I rarely have them running together at the same time and X2Go involves no file related operations while running. I have not encountered the CTD or refusal to load issue with SP, though. **My system:** Win10 Home 64-bit RTX A4000 AMD 5900X 64GB RAM EDIT: Some other reports had suggested having luck by using ctrl+shift+win+B to restart the graphics driver. It was reported Blender would load after that. In my case, restarting the graphics driver does indeed allow Blender to restart without rebooting. However, attempting any file related activities (in my test case, clicking the Install button in Preferences-->Addons) resulted in another immediate CTD. I am now unsure if the failure to restart issue is caused by the underlying issue or if it is just a symptom of Blender crashing to desktop suddenly due to some other problem.

sounds more like a local system problem as it happens with some other applications of yours too.

I had some similar issues, because windows couldn't handle my somewhat complex drive and partition setup with tons on tiny and large files. I beleive the file indexer is somewhat broken on my system. Sometimes if programs use the file system it takes ages to load and freezes until the whole cache got read. But for me it's just an OS issue; after tewaking the indexing settings still present but not too bad either.

From a software perspective:

  • What you could do is trying to restart windows explorer from the task manager; the desktop (as it's a windows explorer process) will reload.
  • Also try restarting the index and search service.
  • check the windows event log for anything unusual when the issue occurs.
  • check your system files for corruptions. You may need to boot into safe mode for auto repair operations.

From a hardware perspective:

  • Make sure your hardware is working correctly (drives, ram, etc.)

If you still think that the blender devs can do something or should know about it, report it to https://projects.blender.org/blender/blender/issues; here is just a repo for the blender team maintained addons and it seems not to be addon related.

sounds more like a local system problem as it happens with some other applications of yours too. I had some similar issues, because windows couldn't handle my somewhat complex drive and partition setup with tons on tiny and large files. I beleive the file indexer is somewhat broken on my system. Sometimes if programs use the file system it takes ages to load and freezes until the whole cache got read. But for me it's just an OS issue; after tewaking the indexing settings still present but not too bad either. From a software perspective: - What you could do is trying to restart windows explorer from the task manager; the desktop (as it's a windows explorer process) will reload. - Also try restarting the index and search service. - check the windows event log for anything unusual when the issue occurs. - check your system files for corruptions. You may need to boot into safe mode for auto repair operations. From a hardware perspective: - Make sure your hardware is working correctly (drives, ram, etc.) If you still think that the blender devs can do something or should know about it, report it to https://projects.blender.org/blender/blender/issues; here is just a repo for the blender team maintained addons and it seems not to be addon related.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105359
No description provided.