Pencil2D crashes when attempting to modify a non-existing first (key)frame.
Pencil2D crashes.
Whatever is action is performed should be ignored.

Attempting to use a tool on the first frame like so will cause the program to crash
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
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
@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.