Crash due to NULL sculpt pointer in toolsettings in draw code. #77088

Closed
opened 2020-05-26 18:41:37 +02:00 by Bastien Montagne · 8 comments

In current master, opening vgroup modifier test file from svn's test repo (lib/tests/modifier_stack/weightvgroup_test.blend) and switching to third TEST_3 scene crashes with following backtrace (ts->sculpt is NULL):

1  OVERLAY_engine_init      overlay_engine.c 81   0x4e9a1e1 
2  drw_engines_init         draw_manager.c   930  0x4d19661 
3  DRW_draw_render_loop_ex  draw_manager.c   1455 0x4d1eac5 
4  DRW_draw_view            draw_manager.c   1392 0x4d1e07c 
5  view3d_draw_view         view3d_draw.c    1608 0x7cce9ea 
6  view3d_main_region_draw  view3d_draw.c    1632 0x7cceb6b 
7  ED_region_do_draw        area.c           538  0x5e248c2 
8  wm_draw_window_offscreen wm_draw.c        688  0x415a3c4 
9  wm_draw_window           wm_draw.c        809  0x415b422 
10 wm_draw_update           wm_draw.c        1012 0x415c8d1 
11 WM_main                  wm.c             481  0x414dda9 
12 main                     creator.c        528  0x2dc6d48 
In current master, opening vgroup modifier test file from svn's test repo (`lib/tests/modifier_stack/weightvgroup_test.blend`) and switching to third `TEST_3` scene crashes with following backtrace (`ts->sculpt` is NULL): ```lines=20 1 OVERLAY_engine_init overlay_engine.c 81 0x4e9a1e1 2 drw_engines_init draw_manager.c 930 0x4d19661 3 DRW_draw_render_loop_ex draw_manager.c 1455 0x4d1eac5 4 DRW_draw_view draw_manager.c 1392 0x4d1e07c 5 view3d_draw_view view3d_draw.c 1608 0x7cce9ea 6 view3d_main_region_draw view3d_draw.c 1632 0x7cceb6b 7 ED_region_do_draw area.c 538 0x5e248c2 8 wm_draw_window_offscreen wm_draw.c 688 0x415a3c4 9 wm_draw_window wm_draw.c 809 0x415b422 10 wm_draw_update wm_draw.c 1012 0x415c8d1 11 WM_main wm.c 481 0x414dda9 12 main creator.c 528 0x2dc6d48 ```
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @mont29

Added subscriber: @mont29
Author
Owner

Note: cannot check with 2.83 right now, will do later today.

Note: cannot check with 2.83 right now, will do later today.
Author
Owner

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Author
Owner

@Jeroen-Bakker I suspect that one might be for you? Confirmed same crash on 2.83 as well.

@Jeroen-Bakker I suspect that one might be for you? Confirmed same crash on 2.83 as well.

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Dalai Felinto self-assigned this 2020-05-27 17:07:51 +02:00

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This was fixed already in 1c3b2b5dd8.

This was fixed already in 1c3b2b5dd8cc2d321a2f4fe1fd75059de7c91dbc.
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:35:43 +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
2 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#77088
No description provided.