https://bugs.kde.org/show_bug.cgi?id=387058
Boudewijn Rempt <b...@valdyas.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.3.2 |git master Summary|Incorrect loading of .kra |Krita crashes when loading |vector objects. |a .kra file with vector | |objects Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 Severity|major |crash --- Comment #8 from Boudewijn Rempt <b...@valdyas.org> --- Here's the backtracde for the crash: Thread 1 (Thread 0x7f044eec3940 (LWP 3283)): [KCrash Handler] #6 0x00007f044375f8d7 in raise () at /lib64/libc.so.6 #7 0x00007f0443760caa in abort () at /lib64/libc.so.6 #8 0x00007f044440856e in () at /usr/lib64/libQt5Core.so.5 #9 0x00007f044acf27cc in kis_assert_common(char const*, char const*, int, bool, bool) (assertion=assertion@entry=0x7f044c5c4d16 "!d->gcStack.isEmpty()", file=file@entry=0x7f044c5c4ba8 "/home/boud/dev/krita/libs/flake/svg/SvgLoadingContext.cpp", line=line@entry=289, throwException=throwException@entry=true, isIgnorable=isIgnorable@entry=false) at /home/boud/dev/krita/libs/global/kis_assert.cpp:90 #10 0x00007f044acf2b4d in kis_assert_exception(char const*, char const*, int) (assertion=assertion@entry=0x7f044c5c4d16 "!d->gcStack.isEmpty()", file=file@entry=0x7f044c5c4ba8 "/home/boud/dev/krita/libs/flake/svg/SvgLoadingContext.cpp", line=line@entry=289) at /home/boud/dev/krita/libs/global/kis_assert.cpp:113 #11 0x00007f044c5a9619 in SvgLoadingContext::isRootContext() const (this=this@entry=0x7fff11ea91a8) at /home/boud/dev/krita/libs/flake/svg/SvgLoadingContext.cpp:289 #12 0x00007f044c5962b8 in SvgParser::parseSvg(QDomElement const&, QSizeF*) (this=this@entry=0x7fff11ea9190, e=..., fragmentSize=fragmentSize@entry=0x0) at /home/boud/dev/krita/libs/flake/svg/SvgParser.cpp:1243 #13 0x00007f044c5af08b in SvgShapeFactory::createShapeFromOdf(QDomElement const&, KoShapeLoadingContext&) (this=<optimized out>, element=..., context=...) at /home/boud/dev/krita/libs/flake/svg/SvgShapeFactory.cpp:122 #14 0x00007f044c4df0e6 in KoShapeRegistry::Private::createShapeInternal(QDomElement const&, KoShapeLoadingContext&, QDomElement const&) const (this=<optimized out>, fullElement=..., context=..., element=...) at /home/boud/dev/krita/libs/flake/KoShapeRegistry.cpp:314 #15 0x00007f044c4e0885 in KoShapeRegistry::createShapeFromOdf(QDomElement const&, KoShapeLoadingContext&) const (this=0x7f044c81e180 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, e=..., context=...) at /home/boud/dev/krita/libs/flake/KoShapeRegistry.cpp:200 #16 0x00007f044e58848b in KisShapeLayer::loadLayer(KoStore*) (this=this@entry=0xad8e7c0, store=<optimized out>) at /home/boud/dev/krita/libs/ui/flake/kis_shape_layer.cc:581 #17 0x00007f03d0b239de in KisKraLoadVisitor::visit(KisExternalLayer*) (this=0x7fff11ea9bf0, layer=0xad8e7c0) at /home/boud/dev/krita/plugins/impex/libkra/kis_kra_load_visitor.cpp:139 #18 0x00007f044d44849d in KisNodeVisitor::visitAll(KisNode*, bool) (this=0x7fff11ea9bf0, node=0xad47d50, breakOnFail=false) at /home/boud/dev/krita/libs/image/kis_node_visitor.cpp:26 #19 0x00007f03d0b14e59 in KisKraLoader::loadBinaryData(KoStore*, KisSharedPtr<KisImage>, QString const&, bool) (this=0x960fb20, store=store@entry=0xad23210, image=..., uri=..., external=external@entry=true) at /home/boud/dev/krita/plugins/impex/libkra/kis_kra_loader.cpp:410 #20 0x00007f03d0d5231d in KraConverter::completeLoading(KoStore*) (this=this@entry=0x7fff11ea9dc0, store=0xad23210) at /home/boud/dev/krita/plugins/impex/kra/kra_converter.cpp:329 #21 0x00007f03d0d52b6a in KraConverter::buildImage(QIODevice*) (this=this@entry=0x7fff11ea9dc0, io=io@entry=0x7fff11ea9e50) at /home/boud/dev/krita/plugins/impex/kra/kra_converter.cpp:89 #22 0x00007f03d0d4f98b in KraImport::convert(KisDocument*, QIODevice*, KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=<optimized out>, document=0xac81c50, io=0x7fff11ea9e50) at /home/boud/dev/krita/plugins/impex/kra/kra_import.cpp:43 #23 0x00007f044e7fe531 in KisImportExportManager::doImport(QString const&, QSharedPointer<KisImportExportFilter>) (this=this@entry=0x97fcfd0, location=..., filter=...) at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:559 #24 0x00007f044e7ff4fe in KisImportExportManager::convert(KisImportExportManager::Direction, QString const&, QString const&, QString const&, bool, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool) (this=0x97fcfd0, direction=direction@entry=KisImportExportManager::Import, location=..., realLocation=..., mimeType=..., showWarnings=showWarnings@entry=false, exportConfiguration=..., isAsync=isAsync@entry=false) at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:354 #25 0x00007f044e7ffdc8 in KisImportExportManager::importDocument(QString const&, QString const&) (this=<optimized out>, location=..., mimeType=...) at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:133 #26 0x00007f044e7e7ce3 in KisDocument::openFile() (this=this@entry=0xac81c50) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1111 #27 0x00007f044e7e8581 in KisDocument::openUrlInternal(QUrl const&) (this=this@entry=0xac81c50, url=...) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1492 #28 0x00007f044e7e8804 in KisDocument::openUrl(QUrl const&, QFlags<KisDocument::OpenFlag>) (this=0xac81c50, _url=..., flags=...) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1010 #29 0x00007f044e808405 in KisMainWindow::openDocumentInternal(QUrl const&, QFlags<KisMainWindow::OpenFlag>) (this=this@entry=0x91ecd70, url=..., flags=..., flags@entry=...) at /home/boud/dev/krita/libs/ui/KisMainWindow.cpp:845 #30 0x00007f044e80e926 in KisMainWindow::openDocument(QUrl const&, QFlags<KisMainWindow::OpenFlag>) (this=0x91ecd70, url=..., flags=flags@entry=...) at /home/boud/dev/krita/libs/ui/KisMainWindow.cpp:820 #31 0x00007f044e7dc149 in KisApplication::start(KisApplicationArguments const&) (this=this@entry=0x7fff11eaae00, args=...) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:529 #32 0x000000000040558e in main(int, char**) (argc=2, argv=<optimized out>) at /home/boud/dev/krita/krita/main.cc:290 -- You are receiving this mail because: You are watching all bug changes.