Pencil: [BUG] Pencil2D crashes when attempting to modify a non-existing first (key)frame

Created on 20 Apr 2018  路  8Comments  路  Source: pencil2d/pencil

--Issue Summary--


Pencil2D crashes when attempting to modify a non-existing first (key)frame.

--Actual Results--


Pencil2D crashes.

--Expected Results--


Whatever is action is performed should be ignored.

--Video or Image Reference--


image
Attempting to use a tool on the first frame like so will cause the program to crash

--Steps to reproduce--

  1. Create a new project. (This happens in existing projects too.)
  2. Move the first frame of either the Bitmap layer or Vector layer to another position. (The Camera layer doesn't seem to have this problem).
  3. Use a tool on the canvas. (Pencil, selection, etc.)

--System Information--

  • Pencil2D Version:

    Version: 0.6.1.1

  • Operating System:

    Operating System: Windows 10 (10.0)
    CPU Architecture: x86_64

  • RAM Size:

    8GB

  • Graphics Tablet:

    WACOM Intuos CTL-490

Bug

All 8 comments

I've confirmed this bug with the reproduction steps above. It will happen as long as you try to draw in any empty frame before the first keyframe. Also got this crash report in Windows 7:

Problem Event Name: APPCRASH
Application name: pencil2d.exe
Application version: 0.0.0.0
Application Timestamp: 5ae29848
Fault module name: ucrtbase.DLL
Fault module version: 10.0.10240.16390
Fault module timestamp: 55a5b718
Exception code: 40000015
Exception Offset: 0000000000065a5f

Version: 0.6.1.1
commit: 827cddb1d1bf59378d65629dfeae0487f79cddcd
date: 2018-04-27_13:17:37
Development build
Operating System: Windows 7 SP 1 (6.1)
CPU Architecture: x86_64

@CandyFace I have to add some details. It was reported today that exporting under these conditions also trigger a crash. So If you move the first frame forward and try to export a movie like that, it will trigger the crash as well.

@Jose-Moreno Yup I can see that, looking into it currently.

The mentioned crash when exporting has been fixed now too in #984

Fix will be available in next nightly build, so i'm closing this.

I found that when I

  1. Create another keyframe in the vector layer
  2. Delete the first keyframe
  3. Try and draw when at the first keyframe
    The program still crashes. It does not when I do the same steps with the bitmap layer

@ryyharris I can confirm your steps lead to an immediate crash. Thank you for reporting! I'll reopen this issue in lieu of your findings.

@CandyFace Since you fixed this last time, could you take a look at the same issue on the vector layer when you have a chance? Thanks

The bug happens on vector layers in the latest version.
Version: 0.6.3
Operating System: Windows 7 SP 1 (6.1)
CPU Architecture: x86_64

Yea I'll look into it.

Was this page helpful?
0 / 5 - 0 ratings