Page MenuHome

quitting while using dynotopo (dynamic topography) if you press ESC
Closed, ResolvedPublic


System Information
CPU: Intel XEON E5 2683 V3 (ES)
RAM: 65536 MB (ECC)
GFX: 2x PALIT nVidia Geforce GTX 780, 3072MB
OS: Windows 10 PRO
Drivers: nVidia Driver 355.82

Blender Version
Broken: vers: 2.75 a date: 205-07-07_14:56 hash: c27589e

Error description
Quitting while using dynotopo (dynamic topography) if you press ESC
This happens every time. Also with a new and clear file and using the standard cube.
I've tried different brushes with and without dynotopo, only with dynotopo enabled that happen.

Exact steps for others to reproduce the error
Entering Sculpt mode
activate dynotopo
press with right mouse botton on the mash and drag
Press ESC while dragging
Blender quit. without any promt.

Event Timeline

Gino (growl88) raised the priority of this task from to Needs Triage by Developer.
Gino (growl88) updated the task description. (Show Details)
Gino (growl88) added a project: BF Blender.
Gino (growl88) set Type to Bug.
Gino (growl88) added a subscriber: Gino (growl88).

I can confirm that blender seg. faults with a core dump
when following the steps to reproduce the crash.

Fedora 22
Blender 2.76
Build hash 48f7dd6

Campbell Barton (campbellbarton) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Oct 12 2015, 11:59 PM

Confirmed, note that this crash applies all revisions, back to 2.71 (didn't test any older).

Cause is that dyntopo is not made to handle coordinate restoration dynamically this way. The reason is that the paint_mesh_restore_co function iterates through all unique vertices in nodes and for dyntopo, those can be new vertices, added during the stroke, which do not have any original data associated.
You can notice that in all modes that would do a coordinate restore (grabbing, anchored, drag dot brushes) we explicitly disable dynamic topolody addition.