Sculpt crashes Blender daily builds #54947

Closed
opened 2018-05-04 05:15:48 +02:00 by Jonathan Dunlap · 10 comments

System Information
Fedora 28 4.16.5-300.fc28.x86_64
nvidia 1080ti

Blender Version
Broken: blender-2.79-16253285ff-linux-glibc219-x86_64.tar.bz2 and started breaking about two weeks ago in the daily builds
Worked: (optional): latest stable (blender-2.79b)
NO PLUGINS INSTALLED

Short description of error
Crash dump (see below)

Exact steps for others to reproduce the error
I only need to sculpt for a few minutes to produce the error, but I'm not sure exactly what sculpt feature triggers it.

Segmentation fault (core dumped)
cat /tmp/myfile.crash.txt

Blender 2.79 (sub 4), Commit date: 2018-05-01 13:03, Hash 522bee3fc8

bpy.ops.sculpt.sculptmode_toggle() # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.context.space_data.viewport_shade = 'TEXTURED' # Property
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=1.11111) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.ops.brush.scale_size(scalar=0.9) # Operator
bpy.data.brushes["Blob"].strength = 0.464286 # Property

backtrace

./blender(BLI_system_backtrace+0x20) [0x1a8a180]
./blender() [0x1073678]
/lib64/libpthread.so.0(+0x11fb0) [0x7f5a9bd79fb0]
./blender(free+0x2cf) [0x51212bf]
./blender(BLI_mempool_destroy+0x26) [0x1a48d26]
./blender(BLI_ghash_free+0x2a) [0x1a4282a]
./blender() [0x163f721]
./blender(BM_log_entry_drop+0x2f) [0x164060f]
./blender() [0x13a8bfd]
./blender() [0x18db17d]
./blender(BKE_undosys_stack_limit_steps_and_memory+0xa8) [0x18db588]
./blender(ED_undo_push+0xea) [0x1098f6a]
./blender() [0x125a0da]
./blender() [0x126a7a9]
./blender() [0x107cc7c]
./blender() [0x107d196]
./blender(wm_event_do_handlers+0x1f8) [0x107d4f8]
./blender(WM_main+0x20) [0x10742b0]
./blender(main+0x409) [0x1011bf9]
/lib64/libc.so.6(__libc_start_main+0xeb) [0x7f5a9a5611bb]
./blender() [0x107011e]

**System Information** Fedora 28 4.16.5-300.fc28.x86_64 nvidia 1080ti **Blender Version** Broken: blender-2.79-16253285ff-linux-glibc219-x86_64.tar.bz2 and started breaking about two weeks ago in the daily builds Worked: (optional): latest stable (blender-2.79b) NO PLUGINS INSTALLED **Short description of error** Crash dump (see below) **Exact steps for others to reproduce the error** I only need to sculpt for a few minutes to produce the error, but I'm not sure exactly what sculpt feature triggers it. Segmentation fault (core dumped) cat /tmp/myfile.crash.txt # Blender 2.79 (sub 4), Commit date: 2018-05-01 13:03, Hash 522bee3fc8 bpy.ops.sculpt.sculptmode_toggle() # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.context.space_data.viewport_shade = 'TEXTURED' # Property bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=1.11111) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.ops.brush.scale_size(scalar=0.9) # Operator bpy.data.brushes["Blob"].strength = 0.464286 # Property # backtrace ./blender(BLI_system_backtrace+0x20) [0x1a8a180] ./blender() [0x1073678] /lib64/libpthread.so.0(+0x11fb0) [0x7f5a9bd79fb0] ./blender(free+0x2cf) [0x51212bf] ./blender(BLI_mempool_destroy+0x26) [0x1a48d26] ./blender(BLI_ghash_free+0x2a) [0x1a4282a] ./blender() [0x163f721] ./blender(BM_log_entry_drop+0x2f) [0x164060f] ./blender() [0x13a8bfd] ./blender() [0x18db17d] ./blender(BKE_undosys_stack_limit_steps_and_memory+0xa8) [0x18db588] ./blender(ED_undo_push+0xea) [0x1098f6a] ./blender() [0x125a0da] ./blender() [0x126a7a9] ./blender() [0x107cc7c] ./blender() [0x107d196] ./blender(wm_event_do_handlers+0x1f8) [0x107d4f8] ./blender(WM_main+0x20) [0x10742b0] ./blender(main+0x409) [0x1011bf9] /lib64/libc.so.6(__libc_start_main+0xeb) [0x7f5a9a5611bb] ./blender() [0x107011e]

Added subscriber: @JonathanDunlap

Added subscriber: @JonathanDunlap
Member

Added subscribers: @ideasman42, @lichtwerk

Added subscribers: @ideasman42, @lichtwerk
Member

Took a while to reproduce this, but I can confirm this (happened in DynTopo for me)

The BMLogEntry->deleted_verts->entrypool is NULL, thus the crash in BLI_ghash_free()

Will have a look later why this happens... Seems to be related to undo refactor, so @ideasman42 might know right away?

Took a while to reproduce this, but I can confirm this (happened in DynTopo for me) The `BMLogEntry->deleted_verts->entrypool` is NULL, thus the crash in `BLI_ghash_free()` Will have a look later why this happens... Seems to be related to undo refactor, so @ideasman42 might know right away?

Added subscriber: @TomG

Added subscriber: @TomG

@lichtwerk @ideasman42 forgive my bump, but this sculpt crash is the only issue holding me back from using the daily builds, and currently I have to use the daily builds (due to different issue in .79b stable).

@lichtwerk @ideasman42 forgive my bump, but this sculpt crash is the only issue holding me back from using the daily builds, and currently I have to use the daily builds (due to different issue in .79b stable).
Campbell Barton was assigned by Philipp Oeser 2018-05-13 13:47:51 +02:00
Member

@ideasman42 : assigning to you since this happens in UNDO...

@ideasman42 : assigning to you since this happens in UNDO...
Member

There have just been two fixes regarding sculpt/dyntopo (5330f1c5d1, 6242940639)
With these changes I cant reproduce this anymore (thanx @Campbell Barton (campbellbarton)! )

So @JonathanDunlap: could you check master build from https://builder.blender.org/download? (pretty sure this should be resolved there) and please report back if this indeed fixes it for you...

Marking as incomplete for the time being...

There have just been two fixes regarding sculpt/dyntopo (5330f1c5d1, 6242940639) With these changes I cant reproduce this anymore (thanx @Campbell Barton (campbellbarton)! ) So @JonathanDunlap: could you check master build from https://builder.blender.org/download? (pretty sure this should be resolved there) and please report back if this indeed fixes it for you... Marking as incomplete for the time being...

@lichtwerk I've checked out the master builds and gave it a spin for about 10 minutes (needed to head out to work soon). So far, I experienced no crashes! Normally I'd crash within 3-4 minutes of sculpting, so this this looking pretty positive.

@lichtwerk I've checked out the master builds and gave it a spin for about 10 minutes (needed to head out to work soon). So far, I experienced no crashes! Normally I'd crash within 3-4 minutes of sculpting, so this this looking pretty positive.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Glad to hear! Think we can close this then... (feel free to report back if something creepy comes up again)

Glad to hear! Think we can close this then... (feel free to report back if something creepy comes up again)
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
3 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#54947
No description provided.