Crash applying remesh modifier #104881

Closed
opened 2023-02-17 15:25:30 +01:00 by Georg K · 10 comments

System Information
Operating system: Linux-6.1.11-1-MANJARO-x86_64-with-glibc2.37 64 Bits
Graphics card: Mesa Intel(R) Graphics (RPL-S) Intel 4.6 (Core Profile) Mesa 22.3.5

Blender Version
Broken: version: 3.4.1, 3.5.0 Alpha, branch: main (modified), commit date: 2023-02-08 22:45, hash: rB910397895206
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crashes applying a remesh modifier if there is a skin modifier at the bottom of the modifier hierarchy.

Exact steps for others to reproduce the error
In the default scene, enter edit mode

  • delete only the faces of the mesh
  • go to object mode, add a skin and a remesh modifier
  • Apply remesh modifier
  • Crash

/usr/include/c++/12.2.1/bits/stl_vector.h:1142: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator const [with _Tp = openvdb::v10_0::math::Vec3; _Alloc = std::allocator<openvdb::v10_0::math::Vec3 >; const_reference = const openvdb::v10_0::math::Vec3&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)

**System Information** Operating system: Linux-6.1.11-1-MANJARO-x86_64-with-glibc2.37 64 Bits Graphics card: Mesa Intel(R) Graphics (RPL-S) Intel 4.6 (Core Profile) Mesa 22.3.5 **Blender Version** Broken: version: 3.4.1, 3.5.0 Alpha, branch: main (modified), commit date: 2023-02-08 22:45, hash: `rB910397895206` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender crashes applying a remesh modifier if there is a skin modifier at the bottom of the modifier hierarchy. **Exact steps for others to reproduce the error** In the default scene, enter edit mode - delete only the faces of the mesh - go to object mode, add a skin and a remesh modifier - Apply remesh modifier - Crash > /usr/include/c++/12.2.1/bits/stl_vector.h:1142: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = openvdb::v10_0::math::Vec3<unsigned int>; _Alloc = std::allocator<openvdb::v10_0::math::Vec3<unsigned int> >; const_reference = const openvdb::v10_0::math::Vec3<unsigned int>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. > Aborted (core dumped)
Georg K added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-02-17 15:25:31 +01:00

Hello, i can't confirm this. Can you share some example file?
Also will be good if you check this in new blender.

Hello, i can't confirm this. Can you share some example file? Also will be good if you check this in new blender.
Author

Also crashes 3.6.0 Alpha, branch: main, commit date: 2023-02-17 14:05, hash: 08f24553dc4f

Also crashes 3.6.0 Alpha, branch: main, commit date: 2023-02-17 14:05, hash: `08f24553dc4f`

Hi.
I can reproduce it in the version 3.4.1 but not with 3.6.

Specs
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.0.19-4-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7C02
System Version: 1.0

Hi. I can reproduce it in the version 3.4.1 but not with 3.6. *Specs* Operating System: Manjaro Linux KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 6.0.19-4-MANJARO (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd Product Name: MS-7C02 System Version: 1.0
3.9 MiB

I can't replicate Crash either.
And the @Confabulatori video doesn't show the crash, it shows the expected result.

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

I can't replicate Crash either. And the @Confabulatori video doesn't show the crash, it shows the expected result. Please try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. If the problem persists, please give us more clear instructions on how to reproduce it from scratch.
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-02-17 19:01:34 +01:00

When the purple glow appears is the window closing, 3.4 is on top off 3.6.
3.4.1 is not working, 3.6 is working.
It also crashes with factory settings

When the purple glow appears is the window closing, 3.4 is on top off 3.6. 3.4.1 is not working, 3.6 is working. It also crashes with factory settings

As far as I know, 3.4 is no longer getting fixes.
3.3 is the last one with long term support.

This looks like a Linux-specific problem.
@lichtwerk can you check on Linux?

As far as I know, 3.4 is no longer getting fixes. 3.3 is the last one with long term support. This looks like a Linux-specific problem. @lichtwerk can you check on Linux?
Germano Cavalcante added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-02-17 20:30:31 +01:00
Author

Like I said, it is crashing in latest main branch also with factory-startup.

Like I said, it is crashing in latest main branch also with factory-startup.

I'm not able to reproduce on Linux with 3.6 or Windows with 3.6 or 3.5.

At this point since Manjaro custom builds are used (the branch: main (modified) bit), can you try with the official builds from https://builder.blender.org/download/daily/

I'm not able to reproduce on Linux with 3.6 or Windows with 3.6 or 3.5. At this point since Manjaro custom builds are used (the `branch: main (modified)` bit), can you try with the official builds from https://builder.blender.org/download/daily/
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-02-20 16:58:45 +01:00
Author

You are right, the issue is only in 3.4.1 but not in blender-3.5.0-beta+v35.46e13cf8a529-linux.x86_64-release and not in main.

You are right, the issue is only in 3.4.1 but not in blender-3.5.0-beta+v35.46e13cf8a529-linux.x86_64-release and not in main.
Member

Will close then.

Will close then.
Thomas Dinges added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-03-09 11:48:22 +01:00
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
6 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#104881
No description provided.