Bug 381580 - krita pre-alpha crashes when opening a .kra file with vector layer
Summary: krita pre-alpha crashes when opening a .kra file with vector layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 4.0 pre-alpha
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 14:55 UTC by Thomas Pointhuber
Modified: 2018-02-24 08:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
some example file which causes a crash (800.84 KB, application/x-krita)
2017-06-23 14:55 UTC, Thomas Pointhuber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pointhuber 2017-06-23 14:55:50 UTC
Created attachment 106263 [details]
some example file which causes a crash

## HowTo reproduce

* Open attached file (created with krita 3.1.4), using current pre-alpha appimage for linux
* Krita crashes because of an assertion:

```
krita.lib.flake: the context stack is not empty (current count 1 , expected 0)
ASSERT (krita): "!d->gcStack.isEmpty()" in file /krita-4.0.0-prealpha/libs/flake/svg/SvgLoadingContext.cpp, line 287
Abgebrochen (Speicherabzug geschrieben)
```


## Expected behaviour

* Opening an old krita file with a vector layer included doesn't cause a crash.


## System

 * Antergos x64
 * Gnome 3.24.2 Desktop
Comment 1 Halla Rempt 2017-06-24 08:03:26 UTC
Thanks. I've added it to https://phabricator.kde.org/T6369 so Dmitry will find it.
Comment 2 Dmitry Kazakov 2018-02-24 08:59:05 UTC
Hi, Thomas!

Thank you for your report! I think I have fixed this bug last week, when deleted UnavailShape. The crash is not reproducible in the current master build.

Please try the latest nightly AppImage build, it looks it doesn't crash anymore either :)

https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/