thecocce / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Selection Crash #413

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I...have no idea why ASEprite crashed on me. I was editing the attached image 
and when I made a selection, the program quickly crashed on me. It doesn't 
normally crash when you try making selections, though.

What is the expected output? What do you see instead?

A selection is made; The program crashes.

What version of the product are you using? On what operating system?

ASEprite v1.0.1; Windows 8

Original issue reported on code.google.com by DragonDe...@gmail.com on 16 Jun 2014 at 6:21

Attachments:

GoogleCodeExporter commented 8 years ago
It could be a memory problem (not enough memory to allocate some internal 
structures).

Note for the developer: the problem is in Editor::drawOneSpriteUnclippedRect() 
when the "tmp" bitmap is destroyed (a check for "tmp != NULL" is missing): 
https://github.com/aseprite/aseprite/blob/dev/src/app/ui/editor/editor.cpp#L401

Original comment by davidcapello on 17 Jun 2014 at 12:40