Bug 285700 - Krita 2.4 (b3) allow to input silly value in the exposure field of metadata
Summary: Krita 2.4 (b3) allow to input silly value in the exposure field of metadata
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 2.4-snapshots
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 223228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-03 22:16 UTC by Silvio Grosso
Modified: 2017-04-18 19:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio Grosso 2011-11-03 22:16:15 UTC
Version:           2.4-snapshots (using Devel) 
OS:                Linux

UBUNTU 11.10 - 64 bit (Oneiric Ocelot) - UNITY SHELL
Kde 4.7.41
KRITA 2.4 - beta 3 (installed through ppa:neon/ppa)
Vbox 4.1.4 (Windows 7 as Host; Ubuntu is the guest)

My Distro is updated - upgraded daily (so it is the ppa:neon/ppa package)

Reproducible: Always

Steps to Reproduce:
1. Take a screenshot of your desktop before opening Krita 2.4 (b3) and save it as png;
2. Fire up Krita and open up this png screenshot;
3. Go to Layer -> Edit Metadata;
4. On the first Tab (Exposure), write something silly (e.g. 22222) inside the Brigthness value line. Press ok to confirm;
Now here comes the trick to Crash Krita (and *many* other open source software: e.g. previous versions of Darktable...).
5. Save these changes: ctr+s  (I know they are crazy for a screenshot but....);
6. Krita crashes silently (probably it doesn't expect these sillines in the png Metadata).
Dr Konqui doesn't start: it is the perfect murder... :-) 

Pay attention, in order to get a backtrace you are forced to start Krita 2.4 through the Gdb debugger

After this crash Krita is unable to open this screenshot.
When you try to open there is this message error:
Could not open
/home/silvio/Scrivania/screenshot.png.
Reason: Parsing error

Actual Results:  
Krita crashes and destroy your png screenshot forever :-)
Not even Gimp 2.7.4 can open and restore it afterwards :-)

Expected Results:  
Krita shouldn't crash.
Most of all, Krita should NOT allow you to edit screenshots metadata!

Here is the last part of my backtrace (the very first part is not available on my Terminal: it has been cut because it was too long)

ed in KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x4413260) KIO::Slave(0x40f77c0)
krita(3167)/kio (KDirListerCache) KDirListerCache::slotUpdateResult: finished update KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x6cd280)  url= KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x6cd280)  item moved into cache:  KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::listDir: Reloading directory: KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x4269380)
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x4269380) KIO::Slave(0x40f77c0)
krita(3167)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x40d6ee0)
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x40d6ee0) KIO::Slave(0x40f77c0)
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x447aea0)
krita(3167)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x447aea0) KIO::Slave(0x40f77c0)
krita(3167)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x6cd280)  url= KUrl("file:///home/silvio/Scrivania")
[New Thread 0x7fffe026e700 (LWP 3208)]
[New Thread 0x7fffc4cf7700 (LWP 3209)]
krita(3167)/krita (tiles) KisMementoManager::commit: Named Transaction is empty 
[New Thread 0x7fffc44f6700 (LWP 3210)]
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
[New Thread 0x7fffc3cf5700 (LWP 3211)]
[New Thread 0x7fffc34f4700 (LWP 3212)]
[New Thread 0x7fffc2cf3700 (LWP 3213)]
[Thread 0x7fffc2cf3700 (LWP 3213) exited]
[Thread 0x7fffc34f4700 (LWP 3212) exited]
[Thread 0x7fffc3cf5700 (LWP 3211) exited]
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
[New Thread 0x7fffc3cf5700 (LWP 3214)]
[New Thread 0x7fffc34f4700 (LWP 3215)]
[New Thread 0x7fffc2cf3700 (LWP 3216)]
[Thread 0x7fffc2cf3700 (LWP 3216) exited]
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
[New Thread 0x7fffc2cf3700 (LWP 3217)]
[New Thread 0x7fffc12a4700 (LWP 3218)]
[New Thread 0x7fffc0aa3700 (LWP 3219)]
[Thread 0x7fffc0aa3700 (LWP 3219) exited]
[Thread 0x7fffc12a4700 (LWP 3218) exited]
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
[New Thread 0x7fffc12a4700 (LWP 3220)]
krita(3167)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
[Thread 0x7fffc12a4700 (LWP 3220) exited]
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0
[Thread 0x7fffc2cf3700 (LWP 3217) exited]
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
[New Thread 0x7fffc2cf3700 (LWP 3221)]
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
[Thread 0x7fffc2cf3700 (LWP 3221) exited]
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
krita(3167) SpaceNavigatorDevice::start: starting spacenavigator device...
[New Thread 0x7fffc2cf3700 (LWP 3222)]
connect failed: File o directory non esistente
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
[Thread 0x7fffc2cf3700 (LWP 3222) exited]
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
krita(3167)/koffice (lib resources) KoColorSet::init: Illegal Gimp palette file:  "krita/palettes/40_Colors.gpl" 
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
QObject::connect: Connecting from COMPAT signal (QAction::activated())
krita(3167) KoGenericRegistry<T>::add: Registry already contains item "reinhard05" 
krita(3167) KoGenericRegistry<T>::add: Registry already contains item "reinhard05" 
krita(3167) KoGenericRegistry<T>::add: Registry already contains item "reinhard05" 
krita(3167) KisHexColorInput::createInput: "#?[a-fA-F0-9]{6,6}"
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
QObject::connect: Connecting from COMPAT signal (QLineEdit::lostFocus())
krita(3167)/kparts KParts::ReadWritePart::setModified: setModified( true )
krita(3167)/kparts KParts::ReadWritePart::setModified: setModified( false )
krita(3167)/kparts KParts::ReadOnlyPart::guiActivateEvent: KUrl("file:///home/silvio/Scrivania/screenshot.png")
krita(3167)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x6cd280)  url= KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x6cd280)  item moved into cache:  KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x41aafd0)  url= KUrl("trash:/")
krita(3167)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x41aafd0)  item moved into cache:  KUrl("trash:/")
[Thread 0x7fffc44f6700 (LWP 3210) exited]
krita(3167)/koffice (lib store) KoEncryptionChecker::isEncryptionSupported: QCA is enabled but sha1, pbkdf2(sha1) or blowfish-cfb are not supported. Encryption is disabled. 
krita(3167) KoDocumentRdf::foaf: 1 query: "prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
prefix foaf: <http://xmlns.com/foaf/0.1/> 
prefix pkg: <http://docs.oasis-open.org/opendocument/meta/package/common#> 
select distinct ?graph ?person ?name ?nick ?homepage ?img ?phone 
where { 
  GRAPH ?graph { 
    ?person rdf:type foaf:Person . 
    ?person foaf:name ?name 
    OPTIONAL { ?person foaf:phone ?phone } 
    OPTIONAL { ?person foaf:nick ?nick } 
    OPTIONAL { ?person foaf:homepage ?homepage } 
    OPTIONAL { ?person foaf:img ?img } 
    }
}
"
krita(3167) KoDocumentRdf::foaf: 1 model().sz: 0  m.sz: 0
krita(3167) KoDocumentRdf::foaf: foaf() size: 0
krita(3167) KoDocumentRdf::calendarEvents: calendarEvents() size: 0
krita(3167) KoDocumentRdf::locations: locations(top) full-model.sz: 0
krita(3167) KoDocumentRdf::locations:  passed model.size: 0
(Soprano::Redland)  "query: Variable ev was bound but is unused in the query (warning)" 
krita(3167) KoDocumentRdf::addLocations: addLocations() size: 0
krita(3167) KoDocumentRdf::locations: locations(1) currentKoRdfLocations.size: 0
krita(3167) KoDocumentRdf::addLocations: addLocations() size: 0
krita(3167) KoDocumentRdf::locations: locations(end) deleting duplicates size: 0
krita(3167) KoDocumentRdf::locations: locations(end) size: 0
krita(3167) KoRdfSemanticItem::defaultStylesheet: name: "name"  type: "System" 
 uuid: ""
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), activeSheet: "name"
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), active: 0
krita(3167) KoRdfSemanticItem::defaultStylesheet: name: "name"  type: "System" 
 uuid: ""
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), activeSheet: "name"
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), active: 0
krita(3167) KoRdfSemanticItem::defaultStylesheet: name: "name"  type: "System" 
 uuid: ""
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), activeSheet: "name"
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::buildComboBox: format(), active: 0
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::setupWidget: format(), setting up ss page.
krita(3167) KoDocumentRdf::foaf: 1 query: "prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
prefix foaf: <http://xmlns.com/foaf/0.1/> 
prefix pkg: <http://docs.oasis-open.org/opendocument/meta/package/common#> 
select distinct ?graph ?person ?name ?nick ?homepage ?img ?phone 
where { 
  GRAPH ?graph { 
    ?person rdf:type foaf:Person . 
    ?person foaf:name ?name 
    OPTIONAL { ?person foaf:phone ?phone } 
    OPTIONAL { ?person foaf:nick ?nick } 
    OPTIONAL { ?person foaf:homepage ?homepage } 
    OPTIONAL { ?person foaf:img ?img } 
    }
}
"
krita(3167) KoDocumentRdf::foaf: 1 model().sz: 0  m.sz: 0
krita(3167) KoDocumentRdf::foaf: foaf() size: 0
krita(3167) KoDocumentRdfEditWidget::KoDocumentRdfEditWidgetPrivate::setupWidget: format(), setting up ss page, foaf.sz: 0
krita(3167) KoRdfFoaF::~KoRdfFoaF: ~KoRdfFoaF() this: KoRdfFoaF(0x4293260)  name: ""
krita(3167)/kparts KParts::ReadWritePart::setModified: setModified( true )
krita(3167) KoRdfFoaF::~KoRdfFoaF: ~KoRdfFoaF() this: KoRdfFoaF(0x44f4600)  name: ""
krita(3167)/krita (core): Missing name attribute for tag  "date" 
[New Thread 0x7fffc44f6700 (LWP 3223)]
[Thread 0x7fffc44f6700 (LWP 3223) exited]
krita(3167)/kio (KDirListerCache) KDirListerCache::slotFileDirty: "/home/silvio/Scrivania"
krita(3167)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::slotFileDirty: "/home/silvio/Scrivania/qt_temp.Pm3167"
krita(3167)/kio (KDirListerCache) KDirListerCache::slotFileDirty: "/home/silvio/Scrivania/screenshot.png~"
krita(3167)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/silvio/Scrivania")
krita(3167)/kio (KDirListerCache) KDirListerCache::slotFileDirty: "/home/silvio/Scrivania"
krita(3167)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/silvio/Scrivania")
krita(3167) KoDocumentInfo::aboutInfo: "creator page not found in documentInfo !" 
krita(3167): "[
0: /opt/project-neon/lib/libkdecore.so.5(kRealBacktrace(int)+0x3b) [0x7ffff5817288]
1: /opt/project-neon/lib/libkritaui.so.9(+0xd787c) [0x7fffd9d7887c]
2: /opt/project-neon/lib/libkritaui.so.9(+0x21c4b3) [0x7fffd9ebd4b3]
3: /opt/project-neon/lib/libkritaui.so.9(+0x21c969) [0x7fffd9ebd969]
4: /opt/project-neon/lib/libkritaui.so.9(+0x212e6b) [0x7fffd9eb3e6b]
5: /opt/project-neon/lib/libkritaui.so.9(KisPNGConverter::buildFile(QIODevice*, KisWeakSharedPtr<KisImage>, KisSharedPtr<KisPaintDevice>, KisSharedPtr<KisAnnotation>*, KisSharedPtr<KisAnnotation>*, KisPNGOptions, KisMetaData::Store*)+0x134d) [0x7fffd9e7a473]
6: /opt/project-neon/lib/libkritaui.so.9(KisPNGConverter::buildFile(KUrl const&, KisWeakSharedPtr<KisImage>, KisSharedPtr<KisPaintDevice>, KisSharedPtr<KisAnnotation>*, KisSharedPtr<KisAnnotation>*, KisPNGOptions, KisMetaData::Store*)+0x208) [0x7fffd9e79058]
7: /opt/project-neon/lib/kde4/kritapngexport.so(+0x7668) [0x7fffb75f1668]
8: /opt/project-neon/lib/libkomain.so.9(+0xe7b98) [0x7ffff73b3b98]
9: /opt/project-neon/lib/libkomain.so.9(KoFilterChain::invokeChain()+0x1cd) [0x7ffff73a9d09]
10: /opt/project-neon/lib/libkomain.so.9(KoFilterManager::exportDocument(QString const&, QByteArray&)+0xa35) [0x7ffff73a38d9]
11: /opt/project-neon/lib/libkomain.so.9(KoDocument::saveFile()+0x921) [0x7ffff7343fc5]
12: /opt/project-neon/lib/libkparts.so.4(KParts::ReadWritePart::save()+0x65) [0x7ffff4c8d02d]
13: /opt/project-neon/lib/libkomain.so.9(KoMainWindow::saveDocument(bool, bool)+0x138f) [0x7ffff73726f7]
14: /opt/project-neon/lib/libkomain.so.9(KoMainWindow::slotFileSave()+0x2f) [0x7ffff7373c07]
15: /opt/project-neon/lib/libkomain.so.9(KoMainWindow::qt_metacall(QMetaObject::Call, int, void**)+0x15c) [0x7ffff73781f4]
16: /opt/project-neon/lib/libQtCore.so.4(QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**)+0xa4) [0x7ffff5377abc]
17: /opt/project-neon/lib/libQtCore.so.4(QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x3c0) [0x7ffff538c5b2]
18: /opt/project-neon/lib/libQtGui.so.4(QAction::triggered(bool)+0x48) [0x7ffff5e0ebb2]
19: /opt/project-neon/lib/libQtGui.so.4(QAction::activate(QAction::ActionEvent)+0x146) [0x7ffff5e0deb0]
20: /opt/project-neon/lib/libQtGui.so.4(+0x752d3c) [0x7ffff6388d3c]
21: /opt/project-neon/lib/libQtGui.so.4(+0x7531f0) [0x7ffff63891f0]
22: /opt/project-neon/lib/libQtGui.so.4(QMenu::mouseReleaseEvent(QMouseEvent*)+0xf8) [0x7ffff638d39a]
23: /opt/project-neon/lib/libkdeui.so.5(KMenu::mouseReleaseEvent(QMouseEvent*)+0x3f0) [0x7ffff6ed2062]
24: /opt/project-neon/lib/libQtGui.so.4(QWidget::event(QEvent*)+0x15b) [0x7ffff5e83b0b]
25: /opt/project-neon/lib/libQtGui.so.4(QMenu::event(QEvent*)+0x424) [0x7ffff638da54]
26: /opt/project-neon/lib/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x17c) [0x7ffff5e1e2f2]
27: /opt/project-neon/lib/libQtGui.so.4(QApplication::notify(QObject*, QEvent*)+0xded) [0x7ffff5e1c277]
28: /opt/project-neon/lib/libkdeui.so.5(KApplication::notify(QObject*, QEvent*)+0x255) [0x7ffff6ddfe3b]
29: /opt/project-neon/lib/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x9c) [0x7ffff536f93e]
30: /opt/project-neon/lib/libQtGui.so.4(QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)+0x51) [0x7ffff5e20a77]
31: /opt/project-neon/lib/libQtGui.so.4(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+0x38d) [0x7ffff5e1a831]
32: /opt/project-neon/lib/libQtGui.so.4(+0x288098) [0x7ffff5ebe098]
33: /opt/project-neon/lib/libQtGui.so.4(QApplication::x11ProcessEvent(_XEvent*)+0x1006) [0x7ffff5ebab34]
34: /opt/project-neon/lib/libQtGui.so.4(+0x2c0826) [0x7ffff5ef6826]
35: /opt/project-neon/lib/libQtCore.so.4(QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xb6) [0x7ffff536d504]
36: /opt/project-neon/lib/libQtCore.so.4(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x14c) [0x7ffff536d658]
37: /opt/project-neon/lib/libQtCore.so.4(QCoreApplication::exec()+0x136) [0x7ffff5370030]
38: /opt/project-neon/lib/libQtGui.so.4(QApplication::exec()+0x16) [0x7ffff5e1b488]
39: /opt/project-neon/lib/libkdeinit4_krita.so(kdemain+0x242) [0x7ffff7ada57a]
40: /opt/project-neon/bin/krita() [0x400786]
41: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7ffff76a730d]
42: /opt/project-neon/bin/krita() [0x400689]
]
" 
ASSERT: "false" in file /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv2/kis_exiv2.cpp, line 143

Program received signal SIGABRT, Aborted.
0x00007ffff76bc3a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff76bc3a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff76bfb0b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff524859f in qt_message_output (msgType=QtFatalMsg, 
    buf=0x4a0d088 "ASSERT: \"false\" in file /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv2/kis_exiv2.cpp, line 143")
    at global/qglobal.cpp:2282
#3  0x00007ffff5248735 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, 
    msg=0x7ffff53ee718 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffffffa408)
    at global/qglobal.cpp:2328
#4  0x00007ffff5248ec5 in qFatal (
    msg=0x7ffff53ee718 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2511
#5  0x00007ffff5248164 in qt_assert (assertion=0x7fffd9fae6c5 "false", 
    file=0x7fffd9fae620 "/build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv2/kis_exiv2.cpp", line=143) at global/qglobal.cpp:2027
#6  0x00007fffd9ebd507 in variantToExivValue (variant=..., 
    type=Exiv2::signedRational)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv2/kis_exiv2.cpp:143
#7  0x00007fffd9ebd969 in kmdValueToExivValue (value=..., 
    type=Exiv2::signedRational)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv---Type <return> to continue, or q <return> to quit---
2/kis_exiv2.cpp:165
#8  0x00007fffd9eb3e6b in KisExifIO::saveTo (this=0xab62d0, store=0xa1ecfc0, 
    ioDevice=0x7fffffffaee0, headerType=KisMetaData::IOBackend::JpegHeader)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kisexiv2/kis_exif_io.cpp:473
#9  0x00007fffd9e7a473 in KisPNGConverter::buildFile (this=0x7fffffffb5a0, 
    iodevice=0x44714c0, image=..., device=..., annotationsStart=0xa0732c0, 
    annotationsEnd=0xa0732c0, options=..., metaData=0xa1ecfc0)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kis_png_converter.cpp:997
#10 0x00007fffd9e79058 in KisPNGConverter::buildFile (this=0x7fffffffb5a0, 
    uri=..., image=..., device=..., annotationsStart=0xa0732c0, 
    annotationsEnd=0xa0732c0, options=..., metaData=0xa1ecfc0)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/ui/kis_png_converter.cpp:790
#11 0x00007fffb75f1668 in KisPNGExport::convert (this=0x430c670, from=..., 
    to=...)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/plugins/formats/png/kis_png_export.cc:152
#12 0x00007ffff73b3b98 in CalligraFilter::ChainLink::invokeFilter (
    this=0x44a6ce0, parentChainLink=0x0)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoFilterChainLink.cpp:90
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff73a9d09 in KoFilterChain::invokeChain (this=0xa3dce20)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoFilterChain.cpp:94
#14 0x00007ffff73a38d9 in KoFilterManager::exportDocument (this=0x44b3cd0, 
    url=..., mimeType=...)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoFilterManager.cpp:243
#15 0x00007ffff7343fc5 in KoDocument::saveFile (this=0x4079e70)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoDocument.cpp:530
#16 0x00007ffff4c8d02d in KParts::ReadWritePart::save (this=0x4079e70)
    at /build/buildd/project-neon-kdelibs-2+git20111020+r92129/kparts/part.cpp:880
#17 0x00007ffff73726f7 in KoMainWindow::saveDocument (this=0x978db0, 
    saveas=false, silent=false)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoMainWindow.cpp:974
#18 0x00007ffff7373c07 in KoMainWindow::slotFileSave (this=0x978db0)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/libs/main/KoMainWindow.cpp:1203
#19 0x00007ffff73781f4 in KoMainWindow::qt_metacall (this=0x978db0, 
    _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffffffc510)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/obj-x86_64-linux---Type <return> to continue, or q <return> to quit---
-gnu/libs/main/KoMainWindow.moc:142
#20 0x00007ffff5377abc in QMetaObject::metacall (object=0x978db0, 
    cl=QMetaObject::InvokeMetaMethod, idx=59, argv=0x7fffffffc510)
    at kernel/qmetaobject.cpp:237
#21 0x00007ffff538c5b2 in QMetaObject::activate (sender=0x40a7da0, 
    m=0x7ffff6b453e0, local_signal_index=1, argv=0x7fffffffc510)
    at kernel/qobject.cpp:3280
#22 0x00007ffff5e0ebb2 in QAction::triggered (this=0x40a7da0, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:263
#23 0x00007ffff5e0deb0 in QAction::activate (this=0x40a7da0, 
    event=QAction::Trigger) at kernel/qaction.cpp:1257
#24 0x00007ffff6388d3c in QMenuPrivate::activateCausedStack (this=0x40cb9c0, 
    causedStack=..., action=0x40a7da0, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:993
#25 0x00007ffff63891f0 in QMenuPrivate::activateAction (this=0x40cb9c0, 
    action=0x40a7da0, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1085
#26 0x00007ffff638d39a in QMenu::mouseReleaseEvent (this=0x40fe510, e=
    0x7fffffffd360) at widgets/qmenu.cpp:2301
#27 0x00007ffff6ed2062 in KMenu::mouseReleaseEvent (this=0x40fe510, 
    e=0x7fffffffd360)
    at /build/buildd/project-neon-kdelibs-2+git20111020+r92129/kdeui/widgets/kmenu.cpp:464
---Type <return> to continue, or q <return> to quit---
#28 0x00007ffff5e83b0b in QWidget::event (this=0x40fe510, event=0x7fffffffd360)
    at kernel/qwidget.cpp:8200
#29 0x00007ffff638da54 in QMenu::event (this=0x40fe510, e=0x7fffffffd360)
    at widgets/qmenu.cpp:2410
#30 0x00007ffff5e1e2f2 in QApplicationPrivate::notify_helper (this=0x678460, 
    receiver=0x40fe510, e=0x7fffffffd360) at kernel/qapplication.cpp:4445
#31 0x00007ffff5e1c277 in QApplication::notify (this=0x7fffffffe0b0, 
    receiver=0x40fe510, e=0x7fffffffd360) at kernel/qapplication.cpp:4006
#32 0x00007ffff6ddfe3b in KApplication::notify (this=0x7fffffffe0b0, 
    receiver=0x40fe510, event=0x7fffffffd360)
    at /build/buildd/project-neon-kdelibs-2+git20111020+r92129/kdeui/kernel/kapplication.cpp:311
#33 0x00007ffff536f93e in QCoreApplication::notifyInternal (this=
    0x7fffffffe0b0, receiver=0x40fe510, event=0x7fffffffd360)
    at kernel/qcoreapplication.cpp:732
#34 0x00007ffff5e20a77 in QCoreApplication::sendSpontaneousEvent (
    receiver=0x40fe510, event=0x7fffffffd360)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 0x00007ffff5e1a831 in QApplicationPrivate::sendMouseEvent (
    receiver=0x40fe510, event=0x7fffffffd360, alienWidget=0x0, 
    nativeWidget=0x40fe510, buttonDown=0x7ffff6b80828, lastMouseReceiver=..., 
    spontaneous=true) at kernel/qapplication.cpp:3103
#36 0x00007ffff5ebe098 in QETWidget::translateMouseEvent (this=0x40fe510, 
---Type <return> to continue, or q <return> to quit---
    event=0x7fffffffde80) at kernel/qapplication_x11.cpp:4372
#37 0x00007ffff5ebab34 in QApplication::x11ProcessEvent (this=0x7fffffffe0b0, 
    event=0x7fffffffde80) at kernel/qapplication_x11.cpp:3442
#38 0x00007ffff5ef6826 in QEventDispatcherX11::processEvents (this=0x603fa0, 
    flags=...) at kernel/qeventdispatcher_x11.cpp:132
#39 0x00007ffff536d504 in QEventLoop::processEvents (this=0x7fffffffe040, 
    flags=...) at kernel/qeventloop.cpp:149
#40 0x00007ffff536d658 in QEventLoop::exec (this=0x7fffffffe040, flags=...)
    at kernel/qeventloop.cpp:201
#41 0x00007ffff5370030 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1009
#42 0x00007ffff5e1b488 in QApplication::exec () at kernel/qapplication.cpp:3719
#43 0x00007ffff7ada57a in kdemain (argc=1, argv=0x7fffffffe2b8)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/krita/main.cc:71
#44 0x0000000000400786 in main (argc=1, argv=0x7fffffffe2b8)
    at /build/buildd/project-neon-calligra-2+git20111031+r72750/obj-x86_64-linux-gnu/krita/krita_dummy.cpp:3
Comment 1 Halla Rempt 2011-11-04 21:55:08 UTC
Hm, the Neon guys build their ppa's with asserts enabled. We have this assert to alert developers that there is metadata that we don't handle... In a proper release build, there will be no crash!
Comment 2 Cyrille Berger 2011-11-05 18:49:05 UTC
I am reopening this bug under the reason that even if it does not crash in a release build,  Krita should not actually allowed the user to input something silly in the exposure field. So we have a bug in the meta data editor ;)
Comment 3 Halla Rempt 2012-02-29 11:15:08 UTC
*** Bug 223228 has been marked as a duplicate of this bug. ***
Comment 4 Halla Rempt 2014-01-01 14:16:15 UTC
Change to wish: we need to figure out how to access acceptable range of values for the metadata editor, but that's a feature, not a bug.
Comment 5 Halla Rempt 2016-01-24 14:51:57 UTC
WISHGROUP: Larger Usability Fixes

It's tough.. The metadata system doesn't support us here; there is no range in the schema.
Comment 6 Raghavendra kamath 2017-04-18 14:14:04 UTC
I am on arch linux plasma 5 with latest krita built from git master.

I am trying to reproduce your crash and for me Krita doesn't crash when I change the exposer brightness value, nor does it save the meta data value and corrupt the png

Is this bug still reproducible in latest krita. Can you please check.
Comment 7 Silvio Grosso 2017-04-18 18:44:26 UTC
Hello Raghavendra,

I confirm the issue is fixed : Just tried on Windows 7 - 64 bit.

Thanks a bunch for checking !
Comment 8 Raghavendra kamath 2017-04-18 19:16:05 UTC
Thanks Silvio for confirming that the issue is not reproducible and fixed now.
I am closing this report then :)