Segfault/crash with two subdivision surface modifiers, latter one with viewport level 0 #97534

Closed
opened 2022-04-22 06:14:47 +02:00 by Solus · 4 comments

System Information
Operating system: Linux-5.13.0-40-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: AMD Radeon RX 5700 XT (NAVI10, DRM 3.41.0, 5.13.0-40-generic, LLVM 12.0.0) AMD 4.6 (Core Profile) Mesa 21.2.6

(OS is Ubuntu 20.04)

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c

(Blender was installed from Snap)

Short description of error
Blender crashes with segmentation fault when adding two subdivision surface modifiers to an object and setting the viewport level of the last applied one (bottom one in the view) to 0.

Exact steps for others to reproduce the error

  • Create new default scene
  • Select the default cube
  • Go in the Modifiers tab
  • Add two Subdivision Surface modifiers
  • Set the "Levels Viewport" of the second modifier (bottom one) to 0
  • Blender will crash immediately

Note: I've seen other bugs like #97371, #97330, #97282 and #97160 - but unlike their cases, in my case it only crashes with two subsurf modifiers and the latter one having a viewport level of 0.

Note 2: In Preferences -> Viewport, disabling GPU Subdivision does fix the issue. I assume that means the problem is about compatibility with my graphics card; I'm reporting the bug anyways, in case something can be done about it.

Crash logs:
blender.crash.txt

**System Information** Operating system: Linux-5.13.0-40-generic-x86_64-with-glibc2.31 64 Bits Graphics card: AMD Radeon RX 5700 XT (NAVI10, DRM 3.41.0, 5.13.0-40-generic, LLVM 12.0.0) AMD 4.6 (Core Profile) Mesa 21.2.6 (OS is Ubuntu 20.04) **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` (Blender was installed from Snap) **Short description of error** Blender crashes with segmentation fault when adding two subdivision surface modifiers to an object and setting the viewport level of the last applied one (bottom one in the view) to 0. **Exact steps for others to reproduce the error** - Create new default scene - Select the default cube - Go in the Modifiers tab - Add two Subdivision Surface modifiers - Set the "Levels Viewport" of the *second* modifier (bottom one) to 0 - Blender will crash immediately **Note:** I've seen other bugs like #97371, #97330, #97282 and #97160 - but unlike their cases, in my case it only crashes with *two* subsurf modifiers and the *latter* one having a viewport level of 0. **Note 2:** In Preferences -> Viewport, disabling GPU Subdivision **does** fix the issue. I assume that means the problem is about compatibility with my graphics card; I'm reporting the bug anyways, in case something can be done about it. Crash logs: [blender.crash.txt](https://archive.blender.org/developer/F13015323/blender.crash.txt)
Author

Added subscriber: @Solus-3

Added subscriber: @Solus-3
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Same bug as in #96565 which was later merged in #96283 (GPU subdivision: Last subsurf modifier is always used for GPU subdivision, even when disabled.)
So I'll merge this report into #96283.
Thanks for the report

Same bug as in #96565 which was later merged in #96283 (GPU subdivision: Last subsurf modifier is always used for GPU subdivision, even when disabled.) So I'll merge this report into `#96283`. Thanks for the report
Member

Closed as duplicate of #96283

Closed as duplicate of #96283
Sign in to join this conversation.
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
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#97534
No description provided.