crash when changing viewport shading to wireframe mode #87970
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#87970
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14760 Core Profile Context 21.2.3 27.20.14535.3005
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-04-23 20:25, hash:
17fca62fff
, type: ReleaseBroken: 2.81
Worked: 2.80
Short description of error
if you have a high poly mesh and try change the shading mode to wireframe. depending on the model it constantly crashes.
Exact steps for others to reproduce the error
I noticed this trying to make a retopo of a character. I tried to check what was causing de crash by deleting each object and testing the wireframe.
I deleted everything but the main body mesh, without any uv map, vertex color or any other thing that could make it heavier, and also I tried reseting factory settings.
I would send the file but its 200mb, the main mesh has about 4million vertices.
the crash doesn't happen when changing to eevee or solid view, it only happens when changing to wireframe.
Important note: if you DON'T move the camera after opening the file before changing to wireframe it doesn't crash even if you go to solid and wireframe back and forth as shown in the video bellow
2021-05-01 14-18-16.mp4
blender_system_info.txt
blender_debug_output.txt
untitled.blend
Added subscriber: @Diogo_Valadares
I just checked some bug reports and it seems like i'm not the only one having this issue
#87741, #85860, #84841,#85674,#79749,#80041
I also just tested it and it crashes even in the 2.83 lts in the exact same way, it only crashes if you move the camera before entering wireframe mode... in fact, this bug goes way back to blender 2.81, before that in blender 2.80 it doesn't happen.
Also I noticed that rotating the camera just a little bit or zooming with scroll wheel doesn't make it crash
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Needs User Info'
Is it possible to replicate the crash using a mesh with a subsurface modifier?
Although the crash log is useful, it does not replace the steps to reproduce the bug.
It is possible that the file is corrupted or an addon such as
cats-blender-plugin-master
is causing this.The problem with this bug is that I don't really think its easily reproducible, I'm pretty sure I already got this many times, whenever I finish a sculpt and start the retopo, when I go to wireframe it crashes.
I tried remake what I did to the model before: I used boolean,multiresolution, regular subdivision, increased the poly count to 8 million, tried to use dyntopo but any of those seems to make a difference.
The problem seems to be directly related to the wireframe, it also crashes if I activate the wireframe in the solid mode overlay.
I don't really think its the cats plugin that is causing it, even in blender 2.81 where I have any plugins or custom settings it still crashes, while in 2.8 it doesn't. The mesh itself has a problem somewhere, If I remesh it or decimate until a certain threshold it stops crashing.
I managed to reduce the size of the file to 161mb, tho I don't think I can reduce it even further.
Extra notes: in sculpt mode it doesn't crash when going to wireframe mode.
For bug reports 100 MB is the maximum size indicated. But if it is the only way to reproduce the bug, we can make an exception.
Large file crashes are often due to RAM limitations (or GPU VRAM).
This makes it difficult for developers to investigate (since they need access to the hardware).
And while we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.
Note: The crash log points to a problem in python so it is quite possible that some addon is triggering the conflict that leads to the crash.
I don't really think its a memory issue, since heavier files don't crash in my computer, and again, there are situations where it doesn't crash, for example when you just open the file and don't move the camera, going directly to wireframe mode.
I looked the crash file again and it seems that it is from a previous crash, from day 4/30, so I don't think its related to this last crash, so sorry for that.
I ran the debug log once again, now with factory settings enabled on startup to make sure it isn't any addon. The output debug file is simply blank for some reason.
blender_system_info.txt
blender_debug_output.txt
untitled.blend
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @lichtwerk
Cannot reproduce here
Added subscribers: @JacquesLucke, @Jeroen-Bakker, @ThomasDinges
@ThomasDinges , @Jeroen-Bakker, @JacquesLucke : you have similar GPUs, is this something you can reproduce?
Switching to wireframe works without problems for me.
Maybe I'm doing something wrong. The instructions are not entirely clear. "Rotate it about 180 degrees", what is "it"? Is it important which method is used to activate wireframes?
Changed status from 'Needs Triage' to: 'Needs User Info'
Thx testing.
The video shows it is just about rotating the view and it uses the pie shading menu to change between solid and wireframe.
In any case, before we get stuck here [since no-one can reproduce] I would kindly ask to try upgrading GPU drivers one more time:
You are using : Context 21.2.3 27.20.14535.3005
There seem to benwer available on https://www.amd.com/en/support/graphics/amd-radeon-5700-series/amd-radeon-rx-5700-series/amd-radeon-rx-5700-xt
Radeon Software Adrenalin 21.9.2 Driver Version 21.30.17.05 for Windows® 10 (Windows Driver Store Version 30.0.13017.5006).
Radeon Software Adrenalin 21.8.2 Driver Version 21.20.25.01 for Windows® 10 (Windows Driver Store Version 27.20.22025.1006)
yeah, it still does happen with the lastest AMD drivers, both 21.9.2 and 21.8.2 in blender 2.9 and 3.0 with default settings.
Also It doesn't need to be activated via pie menu, even by just turning wireframe overlay here crashes blender:
Sometimes moving the camera just a little bit didn't trigger the crash, It was just to make sure you rotate the camera enough to trigger the crash.
Changed status from 'Needs User Info' to: 'Needs Triage'
So, I was sculpting a model and I just found one possible cause of the bug. The model is fine, no crashs in wiremode until I use symmetrize in sculpt mode.
After that, the wireframe mode starts causing crashes exacly the same way the model on this report is doing.
I tried to see if I could find a temporary fix for this problem and it seems like running the 3D print addon clean up(Make manifold) at least once solves it.
Changed status from 'Needs Triage' to: 'Needs User Info'
Could you share that model here, too (prior to symmetrizing?)
Reproduction steps would then be:
right?
Also please test if this is still an issue in recent 3.1 / 3.2 builds from https://builder.blender.org/download/daily/ (terribly sorry this has been lying around for so long btw.)
I do not have the model that was crashing after the symmtry anymore. but the one that is contained in this thread still crashes in 3.2. If I manage to reproduce it again I will upload it.
I may ask, If I run it in a debug build would it be possible to find what is causing the problem?
If you attach a debugger, yes, that would probably tell you where exactly this crash occurs (since blender_debug_output.txt is empty and we apparently dont get blender.crash.txt)
Let us know if this is going anywhere, thx in advance.
Last poke (without reaction, report will be closed next week)
sorry, I was having some problems with the debugging.
I tracked down what was causing the problem and it seems to be in "gl_vertex_buffer.cc" in line 97
with the exception being
Does this helps someway?
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Added subscriber: @fclem
@fclem , @Jeroen-Bakker : does this ring a bell?
The callstack seems to indicate a crash inside the AMD driver. The error line seems off as this is not a GL function call.
So how would be classify this? Any chance to progress here? I am out of ideas
Added subscriber: @Lucott
Today I wanted to report this bug but I found that this thread already existed.
I have 2 different machines with 2 completly different hardware systems and I experienced this bug on both machines.
Blender 3.4 Release Candidate
System 1: 128gb RAM + RTX 4090
System 2: 64gb RAM + RTX 2070 Super
When I load blender for the first time and switch from object mode to wireframe via Pie Menu it crashes instantly. Subdivision surface Modifier seems to increase the frequency of this problem.
What is the current Progress on this bug?