Crash in Curve Editing. #88269
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#88269
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?
OS: Windows 10 Pro.
Graphic card: Intel(R) UHD Graphics 610.
Processor: Intel Celeron(R) G4920 CPU.
RAM: 8 GB.
Blender Version: 2.92.0.
Short description of error. Crash in Curve Editing.
Exact steps for other to reproduce the error.
Added subscriber: @Pedro.huarez
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm, will check
Added subscriber: @filedescriptor
@Pedro.huarez I cannot reproduce this in the 2.93 Beta or 3.0.0 Alpha. I believe this was already fixed in the newer versions. You can try out the beta by downloading it from https://builder.blender.org/download/.
Ok.
2.93 Beta. Crash
Blender 3.0 Alpha un moment.
Blender 3.0 Alpha. Crash.
Blender 2.92. With Ubuntu in same PC. Crash.
Blender 3.0 Alpha in Ubuntu (In same PC). Crash.
Now MackBook Pro, un moment.
MackBook Pro, macOS Sierra 10.12.6. I can't test it, have an old pc
This might be Windows specific then? @lichtwerk will probably find what's causing the crash.
Problem comes into play after transforming a curve point [which then happens to clear the stroke
GP_STROKE_SELECT
flag] seeBKE_gpencil_stroke_update_geometry_from_editcurve
.Not sure why this needs to be like that, but the problem can also be seen when when there are simply no curve points selected.
Code then hangs in
gpencil_stroke_separate_exec
when removing unused material slots.Wrong assumptions here I think, the gpd->totcol is zero here (whereas the ob->totcol is not), so
BKE_object_material_slot_remove
will always fail.I think this should be solved prior though, if nothing is selected, we probably should not create an ob in the first place? (at least no one that does not have its materials set up properly?)
@filedescriptor : feel free to take over, this seems more like your playground?
This issue was referenced by
c3e13d5a2b
Changed status from 'Confirmed' to: 'Resolved'