Grease Pencil crash selecting multiple frames with Multiframe enabled #85587

Closed
opened 2021-02-12 18:05:27 +01:00 by Scott Ramsay · 7 comments

System Information
Operating system: Linux-5.10.14-arch1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-12 15:54, hash: c04bcc87fe
Worked: Probably never? Feature was added in 1352d81b17

Short description of error
Selecting multiple Grease Pencil keyframes with Multiframe enabled in draw mode crashes when the timeline marker is between the selected frames.

Exact steps for others to reproduce the error

Quick reproduction steps:

  1. Open provided blend file.
  2. Shift-select the keyframe on frame 20 in the dope sheet
  3. Blender crashes.

From startup:

  1. Open new file with 2D Animation template.
  2. Move to frame 20 and click the '+' button on the dope sheet, adding a new layer (and keyframe).
  3. Turn on Multiframe while still in draw mode.
  4. Select keyframe on frame 1.
  5. Shift-Select keyframe on frame 20.
  6. Move to a frame between 1 and 20 (in the yellow bits). Note it doesn't crash when the timeline marker is outside of that frame range
  7. Blender crashes.

multiframe-draw-crash.blend
gdb-backtrace_gpencil-multiframe.txt

**System Information** Operating system: Linux-5.10.14-arch1-1-x86_64-with-glibc2.33 64 Bits Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-12 15:54, hash: `c04bcc87fe` Worked: Probably never? Feature was added in 1352d81b174726639bbfb6f7aa32dbadf188a8dd **Short description of error** Selecting multiple Grease Pencil keyframes with Multiframe enabled in draw mode crashes when the timeline marker is between the selected frames. **Exact steps for others to reproduce the error** Quick reproduction steps: 1. Open provided blend file. 2. Shift-select the keyframe on frame 20 in the dope sheet 3. Blender crashes. From startup: 1. Open new file with 2D Animation template. 2. Move to frame 20 and click the '+' button on the dope sheet, adding a new layer (and keyframe). 3. Turn on Multiframe while still in draw mode. 4. Select keyframe on frame 1. 5. Shift-Select keyframe on frame 20. 6. Move to a frame between 1 and 20 (in the yellow bits). Note it doesn't crash when the timeline marker is outside of that frame range 7. Blender crashes. [multiframe-draw-crash.blend](https://archive.blender.org/developer/F9794523/multiframe-draw-crash.blend) [gdb-backtrace_gpencil-multiframe.txt](https://archive.blender.org/developer/F9794524/gdb-backtrace_gpencil-multiframe.txt)
Author

Added subscriber: @smramsay

Added subscriber: @smramsay
Author

Another method that seems like the same crash but might not be.

  1. Start from 2D Animation template
  2. Draw a circle on frame 1
  3. Move to frame 20 and draw another circle.
  4. Turn on Multiframe
  5. Select frame 1 and frame 20.
  6. Move to frame 0 and Blender crashes.
 Note this *doesn't* crash between the frames, but only before them on frame 0.
Another method that seems like the same crash but might not be. 1. Start from 2D Animation template 2. Draw a circle on frame 1 3. Move to frame 20 and draw another circle. 4. Turn on Multiframe 5. Select frame 1 and frame 20. 6. Move to frame 0 and Blender crashes. ``` Note this *doesn't* crash between the frames, but only before them on frame 0.
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

I can confirm this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-02-14 21:31, hash: 7a608f88a7.

I can confirm this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-02-14 21:31, hash: `7a608f88a7`.
Falk David self-assigned this 2021-02-15 10:09:20 +01:00

This issue was referenced by c53022768b

This issue was referenced by c53022768b13831c38d2b687f99b7f9cbb919892
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#85587
No description provided.