Summary: | Krita converts an image from hdr to lab and back when applying a KisColorTransformationFilter-based filter | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Lukas Jirkovsky <l.jirkovsky> |
Component: | Filters | Assignee: | Cyrille Berger <cberger> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, lemma |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Test image |
Description
Lukas Jirkovsky
2010-06-22 18:17:35 UTC
I can provide testing image if necessary. Thanks you for your report! The testing image would be very useful. If it's too big to attach to the bug report you can mail it directly to boud@valdyas.org. Created attachment 48252 [details]
Test image
I had to downscale the image.
Hm... Looks like a bug for Cyrille. Unfortunately, Cyrille is pretty occupied these days. But we haven't forgotten your report! BUGDAY I can reproduce this crash, however the backtrace for me is different. This is what I get when I choose the Brightness/Contrast filter and confirm converting the image: Application: Krita (krita), signal: Segmentation fault [Current thread is 1 (Thread 0x7f8733a697a0 (LWP 13085))] Thread 4 (Thread 0x7f8705e34710 (LWP 13087)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f87332bfe8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x730a0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x730a0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f87332bbc24 in QSemaphore::acquire (this=0x6a483d0, n=1) at thread/qsemaphore.cpp:142 #4 0x00007f87328c31c0 in KisTileDataPooler::waitForWork (this=0x6a483c0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:127 #5 0x00007f87328c322a in KisTileDataPooler::run (this=0x6a483c0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:156 #6 0x00007f87332bee35 in QThreadPrivate::start (arg=0x6a483c0) at thread/qthread_unix.cpp:248 #7 0x00007f872b2b68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #8 0x00007f872b59b01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f8705633710 (LWP 13088)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f87332bfe8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x69e0240, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x69e0240, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f87332bba44 in QSemaphore::tryAcquire (this=0x6a36d40, n=1, timeout=-1) at thread/qsemaphore.cpp:219 #4 0x00007f87328e6472 in KisTileDataSwapper::waitForWork (this=0x6a483f0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84 #5 0x00007f87328e648c in KisTileDataSwapper::run (this=0x6a483f0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90 #6 0x00007f87332bee35 in QThreadPrivate::start (arg=0x6a483f0) at thread/qthread_unix.cpp:248 #7 0x00007f872b2b68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #8 0x00007f872b59b01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f86fffff710 (LWP 13096)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f87332bfdf2 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x6a48790, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x6a48790, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f87332b4e21 in QThreadPoolThread::run (this=0xee19e50) at concurrent/qthreadpool.cpp:140 #4 0x00007f87332bee35 in QThreadPrivate::start (arg=0xee19e50) at thread/qthread_unix.cpp:248 #5 0x00007f872b2b68ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007f872b59b01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f8733a697a0 (LWP 13085)): [KCrash Handler] #4 0x00007f87176e959a in KisAutoContrast::process (this=0x1ce0c50, srcInfo=..., dstInfo=..., size=..., config=0xc466eb0, progressUpdater=0x0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/plugins/filters/colorsfilters/colorsfilters.cpp:218 #5 0x00007f873291441f in KisFilter::process (this=0x1ce0c50, src=..., dst=..., size=..., config=0xc466eb0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/image/filter/kis_filter.cc:96 #6 0x00007f8732e390cd in KisFiltersModel::data (this=0xe26f310, index=..., role=1) at /home/lemma/kde/koffice-trunk/source/koffice/krita/ui/kis_filters_model.cc:179 #7 0x00007f872d11ac2c in QModelIndex::data (this=<value optimized out>, option=0x7fff9a272070, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398 #8 QStyledItemDelegate::initStyleOption (this=<value optimized out>, option=0x7fff9a272070, index=...) at itemviews/qstyleditemdelegate.cpp:340 #9 0x00007f872d11c028 in QStyledItemDelegate::sizeHint (this=0xe4d6fa0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445 #10 0x00007f872d0aace6 in QTreeView::indexRowSizeHint (this=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:2861 #11 0x00007f872d0ab15e in QTreeViewPrivate::itemHeight (this=0x518ec20, item=8) at itemviews/qtreeview.cpp:3239 #12 0x00007f872d0ab39f in QTreeViewPrivate::updateScrollBars (this=0x518ec20) at itemviews/qtreeview.cpp:3484 #13 0x00007f872d0ab7d4 in QTreeView::updateGeometries (this=0xd55b100) at itemviews/qtreeview.cpp:2746 #14 0x00007f872d0b6e0e in QTreeView::expand (this=0xd55b100, index=...) at itemviews/qtreeview.cpp:752 #15 0x00007f872d0b7542 in QTreeView::scrollTo (this=0xd55b100, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qtreeview.cpp:1086 #16 0x00007f872d06cb42 in QAbstractItemView::event (this=0xd55b100, event=0x7fff9a272c60) at itemviews/qabstractitemview.cpp:1524 #17 0x00007f872cb4632c in QApplicationPrivate::notify_helper (this=0x1b26930, receiver=0xd55b100, e=0x7fff9a272c60) at kernel/qapplication.cpp:4302 #18 0x00007f872cb4c80b in QApplication::notify (this=0x7fff9a274cd0, receiver=0xd55b100, e=0x7fff9a272c60) at kernel/qapplication.cpp:4185 #19 0x00007f872d85e836 in KApplication::notify (this=0x7fff9a274cd0, receiver=0xd55b100, event=0x7fff9a272c60) at ../../kdeui/kernel/kapplication.cpp:302 #20 0x00007f87333ae15c in QCoreApplication::notifyInternal (this=0x7fff9a274cd0, receiver=0xd55b100, event=0x7fff9a272c60) at kernel/qcoreapplication.cpp:726 #21 0x00007f872cba170a in QCoreApplication::sendEvent (this=0x518ec20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #22 QWidgetPrivate::show_helper (this=0x518ec20) at kernel/qwidget.cpp:7222 #23 0x00007f872cba380a in QWidget::setVisible (this=0xd55b100, visible=<value optimized out>) at kernel/qwidget.cpp:7444 #24 0x00007f872cba1a76 in QWidget::show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485 #25 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7532 #26 0x00007f872cba15ff in QWidgetPrivate::show_helper (this=0x4f593a0) at kernel/qwidget.cpp:7169 #27 0x00007f872cba380a in QWidget::setVisible (this=0x5184460, visible=<value optimized out>) at kernel/qwidget.cpp:7444 #28 0x00007f872cba1a76 in QWidget::show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485 #29 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7532 #30 0x00007f872cba15ff in QWidgetPrivate::show_helper (this=0x55215c0) at kernel/qwidget.cpp:7169 #31 0x00007f872cba380a in QWidget::setVisible (this=0x54ed9d0, visible=<value optimized out>) at kernel/qwidget.cpp:7444 #32 0x00007f872cba1a76 in QWidget::show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485 #33 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7532 #34 0x00007f872cba15ff in QWidgetPrivate::show_helper (this=0x5157be0) at kernel/qwidget.cpp:7169 #35 0x00007f872cba380a in QWidget::setVisible (this=0xce99df0, visible=<value optimized out>) at kernel/qwidget.cpp:7444 #36 0x00007f872cba1a76 in QWidget::show (this=<value optimized out>, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485 #37 QWidgetPrivate::showChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7532 #38 0x00007f872cba15ff in QWidgetPrivate::show_helper (this=0x54e1eb0) at kernel/qwidget.cpp:7169 #39 0x00007f872cba380a in QWidget::setVisible (this=0x518be90, visible=<value optimized out>) at kernel/qwidget.cpp:7444 #40 0x00007f872d0118dc in QDialog::setVisible (this=0x518be90, visible=<value optimized out>) at dialogs/qdialog.cpp:732 #41 0x00007f8732e32aec in KisFilterHandler::showDialog (this=0xe0509f0) at /home/lemma/kde/koffice-trunk/source/koffice/krita/ui/kis_filter_handler.cc:132 #42 0x00007f8732e33d91 in KisFilterHandler::qt_metacall (this=0xe0509f0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9a2735a0) at /home/lemma/kde/koffice-trunk/build/debug/build/koffice/krita/ui/kis_filter_handler.moc:79 #43 0x00007f87333c1346 in QMetaObject::activate (sender=0xe050b80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfc0) at kernel/qobject.cpp:3295 #44 0x00007f872cb40132 in QAction::triggered (this=0x7fff9a271820, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #45 0x00007f872cb421ab in QAction::activate (this=0xe050b80, event=<value optimized out>) at kernel/qaction.cpp:1255 #46 0x00007f872cf81981 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0xe050b80, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002 #47 0x00007f872cf87512 in QMenuPrivate::activateAction (this=0xe047ad0, action=0xe050b80, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094 #48 0x00007f872d93a8be in KMenu::mouseReleaseEvent (this=0xe017e40, e=0x1) at ../../kdeui/widgets/kmenu.cpp:471 #49 0x00007f872cb9c602 in QWidget::event (this=0xe017e40, event=0x7fff9a274370) at kernel/qwidget.cpp:8044 #50 0x00007f872cf8970b in QMenu::event (this=0xe017e40, e=0x7fff9a274370) at widgets/qmenu.cpp:2421 #51 0x00007f872cb4632c in QApplicationPrivate::notify_helper (this=0x1b26930, receiver=0xe017e40, e=0x7fff9a274370) at kernel/qapplication.cpp:4302 #52 0x00007f872cb4cfdb in QApplication::notify (this=0x7fff9a274cd0, receiver=0xe017e40, e=0x7fff9a274370) at kernel/qapplication.cpp:3867 #53 0x00007f872d85e836 in KApplication::notify (this=0x7fff9a274cd0, receiver=0xe017e40, event=0x7fff9a274370) at ../../kdeui/kernel/kapplication.cpp:302 #54 0x00007f87333ae15c in QCoreApplication::notifyInternal (this=0x7fff9a274cd0, receiver=0xe017e40, event=0x7fff9a274370) at kernel/qcoreapplication.cpp:726 #55 0x00007f872cb4c1be in QCoreApplication::sendEvent (receiver=0xe017e40, event=0x7fff9a274370, alienWidget=0x0, nativeWidget=0xe017e40, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #56 QApplicationPrivate::sendMouseEvent (receiver=0xe017e40, event=0x7fff9a274370, alienWidget=0x0, nativeWidget=0xe017e40, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967 #57 0x00007f872cbcc4bd in QETWidget::translateMouseEvent (this=0xe017e40, event=<value optimized out>) at kernel/qapplication_x11.cpp:4314 #58 0x00007f872cbca9ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff9a274af0) at kernel/qapplication_x11.cpp:3513 #59 0x00007f872cbf6e31 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132 #60 0x00007f87333aca82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #61 0x00007f87333ace5c in QEventLoop::exec (this=0x7fff9a274c70, flags=) at kernel/qeventloop.cpp:201 #62 0x00007f87333b1aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #63 0x00007f87336c90d0 in kdemain (argc=1, argv=0x7fff9a274ea8) at /home/lemma/kde/koffice-trunk/source/koffice/krita/main.cc:49 #64 0x00000000004009b6 in main (argc=1, argv=0x7fff9a274ea8) at /home/lemma/kde/koffice-trunk/build/debug/build/koffice/krita/krita_dummy.cpp:3 SVN commit 1179982 by berger: Fix: crash when applying a brightness filter on a EXR image Fallback to lab, meaning that the dynamic range is lost, but the user is warned. CCBUG: 242505 M +10 -13 KoCtlColorSpace.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1179982 The openctl colorspace is gone now, so this isn't an issue anymore. |