Summary: | Assert when saving CMYK to PNG with force sRGB unchecked | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Halla Rempt <halla> |
Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | antti.savo |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krita/939dbf11e9ea6a9880a26423ebeed563a127cd5d | Version Fixed In: | |
Sentry Crash Report: |
Description
Halla Rempt
2018-09-04 13:41:46 UTC
Confirming https://youtu.be/GpaVDsqY0PU Thread 36 "Thread (pooled)" received signal SIGABRT, Aborted. [Switching to Thread 0x7fff9effd700 (LWP 19281)] __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff3ee3e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff3ee5801 in __GI_abort () at abort.c:79 #2 0x00007ffff48d2fa7 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007ffff48ce476 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff70656c9 in KisPNGConverter::buildFile(QIODevice*, QRect const&, double, double, KisSharedPtr<KisPaintDevice>, QTypedArrayData<KisSharedPtr<KisAnnotation> >::iterator, QTypedArrayData<KisSharedPtr<KisAnnotation> >::iterator, KisPNGOptions, KisMetaData::Store*) (this=0x7fff9effc8e0, iodevice=0x7fff9effca40, imageRect=..., xRes=4.166666666666667, yRes=4.166666666666667, device=..., annotationsStart=..., annotationsEnd=..., options=..., metaData=0x0) at /home/managor/Sourcebuilding/krita/libs/ui/kis_png_converter.cpp:968 #5 0x00007fff8f11c39c in KisPNGExport::convert(KisDocument*, QIODevice*, KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x555566f19550, document=0x555566bdb4e0, io=0x7fff9effca40, configuration=...) at /home/managor/Sourcebuilding/krita/plugins/impex/png/kis_png_export.cc:93 #6 0x00007ffff730c2e5 in KisImportExportManager::doExportImpl(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=0x555566bdc3e0, location=..., filter=..., exportConfiguration=...) at /home/managor/Sourcebuilding/krita/libs/ui/KisImportExportManager.cpp:638 #7 0x00007ffff730beb6 in KisImportExportManager::doExport(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool) (this=0x555566bdc3e0, location=..., filter=..., exportConfiguration=..., alsoAsKra=false) at /home/managor/Sourcebuilding/krita/libs/ui/KisImportExportManager.cpp:586 #8 0x00007ffff7310fa7 in std::__invoke_impl<KisImportExportFilter::ConversionStatus, KisImportExportFilter::ConversionStatus (KisImportExportManager::*&)(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool), KisImportExportManager*&, QString&, QSharedPointer<KisImportExportFilter>&, KisPinnedSharedPtr<KisPropertiesConfiguration>&, bool&>(std::__invoke_memfun_deref, KisImportExportFilter::ConversionStatus (KisImportExportManager::*&)(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool), KisImportExportManager*&, QString&, QSharedPointer<KisImportExportFilter>&, KisPinnedSharedPtr<KisPropertiesConfiguration>&, bool&) (__f= @0x555566f37430: (KisImportExportFilter::ConversionStatus (KisImportExportManager::*)(KisImportExportManager * const, const QString &, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)) 0x7ffff730be38 <KisImportExportManager::doExport(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)>, __t=@0x555566f37468: 0x555566bdc3e0, __args#0=..., __args#1=..., __args#2=..., __args#3=@0x555566f37440: false) at /usr/include/c++/7/bits/invoke.h:73 #9 0x00007ffff7310d13 in std::__invoke<KisImportExportFilter::ConversionStatus (KisImportExportManager::*&)(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool), KisImportExportManager*&, QString&, QSharedPointer<KisImportExportFilter>&, KisPinnedSharedPtr<KisPropertiesConfiguration>&, bool&>(KisImportExportFilter::ConversionStatus (KisImportExportManager::*&)(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool), KisImportExportManager*&, QString&, QSharedPointer<KisImportExportFilter>&, KisPinnedSharedPtr<KisPropertiesConfiguration>&, bool&) (__fn= @0x555566f37430: (KisImportExportFilter::ConversionStatus (KisImportExportManager::*)(KisImportExportManager * const, const QString &, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)) 0x7ffff730be38 <KisImportExportManager::doExport(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)>, __args#0=@0x555566f37468: 0x555566bdc3e0, __args#1=..., __args#2=..., __args#3=..., __args#4=@0x555566f37440: false) at /usr/include/c++/7/bits/invoke.h:96 #10 0x00007ffff73107af in std::_Bind<KisImportExportFilter::ConversionStatus (KisImportExportManager::*(KisImportExportManager*, QString, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool))(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)>::__call<KisImportExportFilter::ConversionStatus, , 0ul, 1ul, 2ul, 3ul, 4ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul>) (this=0x555566f37430, __args=...) at /usr/include/c++/7/functional:469 #11 0x00007ffff7310033 in std::_Bind<KisImportExportFilter::ConversionStatus (KisImportExportManager::*(KisImportExportManager*, QString, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool))(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)>::operator()<, KisImportExportFilter::ConversionStatus>() (this=0x555566f37430) at /usr/include/c++/7/functional:551 #12 0x00007ffff731130e in QtConcurrent::StoredFunctorCall0<KisImportExportFilter::ConversionStatus, std::_Bind<KisImportExportFilter::ConversionStatus (KisImportExportManager::*(KisImportExportManager*, QString, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool))(QString const&, QSharedPointer<KisImportExportFilter>, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)> >::runFunctor() (this=0x555566f37410) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60 #13 0x00007ffff73111f9 in QtConcurrent::RunFunctionTask<KisImportExportFilter::ConversionStatus>::run() (this=0x555566f37410) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentrunbase.h:108 #14 0x00007ffff48e52a2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007ffff48e816d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007fffed9056db in start_thread (arg=0x7fff9effd700) at pthread_create.c:463 #17 0x00007ffff3fc688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Git commit f3f82ab082768a2526b6a2211bf86966551dd06a by Boudewijn Rempt. Committed on 15/09/2018 at 14:48. Pushed by rempt into branch 'master'. PNG Export: convert to rgb, if the image isn't rgb or gray M +2 -2 libs/ui/kis_png_converter.cpp https://commits.kde.org/krita/f3f82ab082768a2526b6a2211bf86966551dd06a Git commit 939dbf11e9ea6a9880a26423ebeed563a127cd5d by Boudewijn Rempt. Committed on 24/09/2018 at 06:56. Pushed by rempt into branch 'krita/4.1'. PNG Export: convert to rgb, if the image isn't rgb or gray M +2 -2 libs/ui/kis_png_converter.cpp https://commits.kde.org/krita/939dbf11e9ea6a9880a26423ebeed563a127cd5d |