Saving causes Dyntopo to Crash #39778

Closed
opened 2014-04-18 09:11:59 +02:00 by Keen Foong · 13 comments

System Information
Windows 7 x64 Professional
Intel Core i7-4770 CPU @ 3.5GHz
nVidia GeForce GTX 580

Blender Version
Broken: 2.69 39bfde6
It should work with the official downloads, as I use dyntopo often and haven't had the problem till I got this build.

When I save then draw on my model twice, it crashes blender. The first draw after the save it the brush gives unexpected results on the mesh (it should be smooth and be like clay buildup, but instead it gives jagged results) after that it crashes.

Exact Steps

  • "Enable Dyntopo" (Ctrl-D)
  • "Save" (Ctrl-S)
  • Draw on the mesh (left click the mesh a couple of times)

If you switch to constant detail, I think the steps are slightly different and it sometimes works again.
untitled.blend

**System Information** Windows 7 x64 Professional Intel Core i7-4770 CPU @ 3.5GHz nVidia GeForce GTX 580 **Blender Version** Broken: 2.69 39bfde6 It should work with the official downloads, as I use dyntopo often and haven't had the problem till I got this build. When I save then draw on my model twice, it crashes blender. The first draw after the save it the brush gives unexpected results on the mesh (it should be smooth and be like clay buildup, but instead it gives jagged results) after that it crashes. **Exact Steps** * "Enable Dyntopo" (Ctrl-D) * "Save" (Ctrl-S) * Draw on the mesh (left click the mesh a couple of times) If you switch to constant detail, I think the steps are slightly different and it sometimes works again. [untitled.blend](https://archive.blender.org/developer/F85147/untitled.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @kfoong

Added subscriber: @kfoong
Author

Forgot to mention, for the exact steps. You have to open the untitled.blend.

Forgot to mention, for the exact steps. You have to open the untitled.blend.

Added subscribers: @Psy-Fi, @Sergey

Added subscribers: @Psy-Fi, @Sergey

Can't actually reproduce the crash here on linux 64bit. Also the revision you've referenced is not 2.69 but 2.70.

@Psy-Fi, any clues here?

Can't actually reproduce the crash here on linux 64bit. Also the revision you've referenced is not 2.69 but 2.70. @Psy-Fi, any clues here?

Added subscriber: @mont29

Added subscriber: @mont29
Antonis Ryakiotakis was assigned by Bastien Montagne 2014-04-18 12:04:44 +02:00

I can confirm the issue here (note dyntopo is not enabled in the file). In debug build, assert fail + segfault:

BLI_assert failed: /home/i7deb64/blender-2.5-svn/__work__/src/source/blender/blenkernel/intern/pbvh_bmesh.c:293, pbvh_bmesh_vert_create(), at '(bvh->totnode == 1 || node_index) && node_index <= bvh->totnode'
ASAN:SIGSEGV
I can confirm the issue here (note dyntopo is not enabled in the file). In debug build, assert fail + segfault: ``` BLI_assert failed: /home/i7deb64/blender-2.5-svn/__work__/src/source/blender/blenkernel/intern/pbvh_bmesh.c:293, pbvh_bmesh_vert_create(), at '(bvh->totnode == 1 || node_index) && node_index <= bvh->totnode' ASAN:SIGSEGV ```

This should have been already fixed, in latest master but I will retest a bit later.

This should have been already fixed, in latest master but I will retest a bit later.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Yep, closing.

Yep, closing.
Author

Ah sorry about that, yeah its 2.70. The build I tested was updated about 20 hours ago, and I didn't see any fixes in the commit log that addressed the issue so I posted it here.

Ah sorry about that, yeah its 2.70. The build I tested was updated about 20 hours ago, and I didn't see any fixes in the commit log that addressed the issue so I posted it here.
Check https://developer.blender.org/rB169f8313940e826587fc50b3c4e3b082d15b51e5
Author

Yep! it seems to be working now thanks!

Yep! it seems to be working now thanks!
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
4 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#39778
No description provided.