Regression: Enabling Dynamic Topology Causes Crash on Plane Mesh #102336

Closed
opened 2022-11-07 18:13:13 +01:00 by Takanu · 15 comments
Member

System Information
Operating system: Windows 11 Pro 22621.675 (22H2)
Graphics card: NVIDIA GeForce GTX 1060 3GB

Blender Version
Broken: Blender 3.4 bba6d28942
Worked: 3.3.1 LTS

Seems to be caused by {d7cfb6ac71e4225a654487ab134c89051dad03ed}
Issue is not 100% reproducible, but parent hash seems to be fine.

Short description of error
When attempting to enable Dynamic Topology on a Plane mesh object, Blender will crash. This does not occur in 3.3.1 LTS.

Exact steps for others to reproduce the error

  • Create a new File
  • Add a Plane Mesh Object
  • Enter Sculpt Mode
  • Turn on Dynamic Topology and press Ok when a warning appears

Blender should(~80% chance) crash.

  • This doesn't occur with enclosed objects like Cubes\
  • This does not occur with non-manifold meshes
  • This DOES occur when creating a plane by deleting all but one side of a cube
**System Information** Operating system: Windows 11 Pro 22621.675 (22H2) Graphics card: NVIDIA GeForce GTX 1060 3GB **Blender Version** Broken: Blender 3.4 bba6d2894290 Worked: 3.3.1 LTS Seems to be caused by {d7cfb6ac71e4225a654487ab134c89051dad03ed} Issue is not 100% reproducible, but parent hash seems to be fine. **Short description of error** When attempting to enable Dynamic Topology on a Plane mesh object, Blender will crash. This does not occur in 3.3.1 LTS. **Exact steps for others to reproduce the error** * Create a new File * Add a Plane Mesh Object * Enter Sculpt Mode * Turn on Dynamic Topology and press Ok when a warning appears Blender should(~80% chance) crash. * This doesn't occur with enclosed objects like Cubes\ * This does not occur with non-manifold meshes * This DOES occur when creating a plane by deleting all but one side of a cube
Author
Member

Added subscriber: @Takanu

Added subscriber: @Takanu

Added subscriber: @TheRedWaxPolice

Added subscriber: @TheRedWaxPolice

Yep, I can confirm the crash in 3.5 alpha as well... blender-3.5.0-alpha+master.4a313b82529b-windows.amd64-release

Yep, I can confirm the crash in 3.5 alpha as well... `blender-3.5.0-alpha+master.4a313b82529b-windows.amd64-release`

Added subscriber: @iss

Added subscriber: @iss

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

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

Read access violation at:

>	blender.exe!copy_v3_v3(float * r, const float * a) Line 44	C

 	blender.exe!SCULPT_cursor_geometry_info_update(bContext * C, SculptCursorGeometryInfo * out, const float * mval, bool use_sampled_normal) Line 4995	C
 	blender.exe!paint_cursor_sculpt_session_update_and_init(PaintCursorContext * pcontext) Line 1369	C
 	blender.exe!paint_cursor_draw_3D_view_brush_cursor(PaintCursorContext * pcontext) Line 1806	C
 	blender.exe!paint_draw_cursor(bContext * C, int x, int y, void * UNUSED_unused) Line 1927	C
 	blender.exe!wm_paintcursor_draw(bContext * C, ScrArea * area, ARegion * region) Line 115	C
 	blender.exe!wm_draw_window_onscreen(bContext * C, wmWindow * win, int view) Line 1041	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 1117	C
 	blender.exe!wm_draw_update(bContext * C) Line 1372	C
 	blender.exe!WM_main(bContext * C) Line 647	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 579	C

Since 3.3 beta is not crashing, this should be introduced from master freeze to ca172677b1a7

Read access violation at: ``` > blender.exe!copy_v3_v3(float * r, const float * a) Line 44 C blender.exe!SCULPT_cursor_geometry_info_update(bContext * C, SculptCursorGeometryInfo * out, const float * mval, bool use_sampled_normal) Line 4995 C blender.exe!paint_cursor_sculpt_session_update_and_init(PaintCursorContext * pcontext) Line 1369 C blender.exe!paint_cursor_draw_3D_view_brush_cursor(PaintCursorContext * pcontext) Line 1806 C blender.exe!paint_draw_cursor(bContext * C, int x, int y, void * UNUSED_unused) Line 1927 C blender.exe!wm_paintcursor_draw(bContext * C, ScrArea * area, ARegion * region) Line 115 C blender.exe!wm_draw_window_onscreen(bContext * C, wmWindow * win, int view) Line 1041 C blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 1117 C blender.exe!wm_draw_update(bContext * C) Line 1372 C blender.exe!WM_main(bContext * C) Line 647 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 579 C ``` Since 3.3 beta is not crashing, this should be introduced from master freeze to `ca172677b1a7`
Richard Antalik changed title from Enabling Dynamic Topology Causes Crash on Plane Mesh to Regression: Enabling Dynamic Topology Causes Crash on Plane Mesh 2022-11-07 20:08:18 +01:00
Member

Added subscriber: @JosephEagar

Added subscriber: @JosephEagar

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

@JosephEagar Hey, can you please check on this? We are going to Bcon4 already next week.

@JosephEagar Hey, can you please check on this? We are going to Bcon4 already next week.
Member

Is this still happening? I couldn't reproduce it, even with an address sanitizier.

Is this still happening? I couldn't reproduce it, even with an address sanitizier.

Added subscriber: @Wesley-Rossi

Added subscriber: @Wesley-Rossi

Could not reproduce using today's 3d1594417b (3.5).

Still happens using today's 48143ab001 (3.4).

Could not reproduce using today's 3d1594417b0e (3.5). Still happens using today's 48143ab00156 (3.4).

Can confirm this is still happening with the 3.4 branch, master (3.5) is ok. Any chance to get a fix for 3.4 still @JosephEagar?

Can confirm this is still happening with the 3.4 branch, master (3.5) is ok. Any chance to get a fix for 3.4 still @JosephEagar?

This issue was referenced by 31ccf79011

This issue was referenced by 31ccf79011bd537c2dfbe041a76267c7fe46d4c1

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-12-06 18:05:19 +01:00
Thomas Dinges added this to the 3.4 milestone 2023-02-07 19:01:34 +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
9 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#102336
No description provided.