Skip to content

Brush tool Assertion failed Core Dump crash #63

Description

@orbitalmartian8

Describe the bug
On opening a new sprite in Dotto, I select the brush tool, this causes the below error and core dump.

/usr/include/c++/16.1.1/bits/stl_vector.h:1253: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted                    (core dumped) ./dotto

To Reproduce
Steps to reproduce the bug:

  1. New file
  2. Select brush tool

Expected behavior
I would expect the brush tool to become functional and be able to draw, without crashing.

Device Information (please complete the following information):

  • Device: Lenovo IdeaPad 110
  • OS and Version: Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions