[FreeBSD - 2.69] Segfault whenever dynamic topology is enabled #39245
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#39245
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
FreeBSD 10 for amd64; uname -a:
Graphics card identifies as "GeForce 210" at bootup.
Blender Version
Broken: "2.69.0 runknown" (as reported by splash screen)
Short description of error
blender-bin drops a .core file (ie crashes) from a segfault whenever I click the "Enable Dynamic" button in Sculpt Mode.
Exact steps for others to reproduce the error
Starting from any .blend file (or Ctrl N), switch to Sculpt Mode and click "Enable Dynamic". Blender crashes.
Additional info
Other reports of a crash at the same point suggest turning on VBO in User Preferences as a diagnostic. I've turned on VBO, loaded the default scene, converted the cube to triangles, scaled it up and down, poked at it a bit, and nothing weird happened.
Stack trace
I hope this is helpful.
0x0000000001fb6624 in RangeTree::take (this=0x81cff3a80, t=0)
68 return __x == __x->_parent->_left;
#0 0x0000000001fb6624 in RangeTree::take (this=0x81cff3a80, t=0)
#1 0x0000000001fb642c in range_tree_uint_take_any (rt=0x81b7855e0)
#2 0x0000000001172578 in bm_log_assign_ids (bm=0x81aba7838, log=0x81a0aa078)
#3 0x0000000001171c2e in BM_log_create (bm=0x81aba7838)
#4 0x0000000000e81e15 in sculpt_dynamic_topology_enable (C=0x81a03f3f8)
#5 0x0000000000e82903 in sculpt_dynamic_topology_toggle_exec (C=0x81a03f3f8,
#6 0x0000000000e82856 in sculpt_dynamic_topology_toggle_invoke (C=0x81a03f3f8,
#7 0x0000000000959325 in wm_operator_invoke (C=0x81a03f3f8, ot=0x81a5c9f38,
#8 0x0000000000952434 in wm_operator_call_internal (C=0x81a03f3f8, ot=0x81a5c9f38,
#9 0x0000000000953323 in WM_operator_name_call (C=0x81a03f3f8,
#10 0x0000000000c6bf50 in ui_apply_but_funcs_after (C=0x81a03f3f8)
#11 0x0000000000c71544 in ui_handler_region_menu (C=0x81a03f3f8, event=0x81cda90b8,
#12 0x0000000000958549 in wm_handler_ui_call (C=0x81a03f3f8, handler=0x81cd3d838,
#13 0x0000000000957804 in wm_handlers_do_intern (C=0x81a03f3f8, event=0x81cda90b8,
#14 0x0000000000954525 in wm_handlers_do (C=0x81a03f3f8, event=0x81cda90b8,
#15 0x0000000000953da9 in wm_event_do_handlers (C=0x81a03f3f8)
#16 0x000000000094bb0e in WM_main (C=0x81a03f3f8)
#17 0x0000000000947727 in main (argc=1, argv=0x7fffffffd2a8)
Changed status to: 'Open'
Added subscriber: @nerdbeard
Segfault whenever dynamic topology is enabledto [FreeBSD - 2.69] Segfault whenever dynamic topology is enabledAdded subscribers: @ideasman42, @mont29
Hrrrm… issues are, that we do not support BSD (as in, we do not provide official builds, even though we try to keep Blender working on those OSs), and 2.69 is rather old, would need to test with 2.70.
Also, Geforce 210 is a very low-end GPU, and I’m not sure about BSD graphic drivers either. :/
Think we do have a few devs with FreeBSD on a VM, maybe they have more insight here?
It's understandable that my configuration could be unsupported or just plain insufficient, but Blender should never segfault in the middle of a session. The objective here isn't necessarily to make dynamic topology to work, it's just to fix the segfault. The code path never seems to enter third party code between pressing the button and crashing.
Perhaps I should also report it to the FreeBSD port maintainer.
I'd try to compile 2.70 but I see there is a mess of patches for 2.69 for FreeBSD so I might be better off trying to run the official Linux build under linuxulation.
Oh, my video driver is nvidia-driver-331.49, which was the latest available when I built everything a couple days ago.
This issue was referenced by blender/blender-addons-contrib@9bbb30bf03
This issue was referenced by
9bbb30bf03
Changed status from 'Open' to: 'Resolved'
Closed by commit
9bbb30bf03
.This was a curious bug,
With libstdc++ (on all platforms from what I can tell) tested Linux Clang/GCC and MSVC there was iterator decrement being optimized out.
Checked the optimized asssembler output from GCC and these lines make no difference to the result.
But on FreeBSD
--prev;
is crashing.So removing these 4 lines fixes the crash.