Bug 148286 - Applying filters to mask crashes krita [backtrace]
Summary: Applying filters to mask crashes krita [backtrace]
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filters (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-28 13:26 UTC by Dik Takken
Modified: 2007-12-06 14:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2007-07-28 13:26:57 UTC
Version:           1.6.3 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
OS:                Linux

Several filters crash Krita when applied to a mask. Examples: Adjust brightness/contrast, Blur, Adjust levels. The backtraces are similar for all crashes.

How to reproduce:

Create an empty RGB image
Create a new mask
Apply the 'Blur' filter -> SEGFAULT

Backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1233140048 (LWP 27241)]
[KCrash handler]
#6  0xb601ed4c in KisPaintDevice::hasSelection ()
   from /usr/lib/libkritaimage.so.1
#7  0xb6020a3d in KisPaintDevice::createRectIterator ()
   from /usr/lib/libkritaimage.so.1
#8  0xb5ffffa7 in KisPaintLayer::convertMaskToSelection ()
   from /usr/lib/libkritaimage.so.1
#9  0xb6000047 in KisPaintLayer::setDirty () from /usr/lib/libkritaimage.so.1
#10 0xb5ffda3b in KisGroupLayer::addLayer () from /usr/lib/libkritaimage.so.1
#11 0xb5ffe21c in KisGroupLayer::KisGroupLayer ()
   from /usr/lib/libkritaimage.so.1
#12 0xb5ffe2db in KisGroupLayer::clone () from /usr/lib/libkritaimage.so.1
#13 0xb5fe9bba in KisImage::KisImage () from /usr/lib/libkritaimage.so.1
#14 0xb61a6625 in KisPreviewWidget::runFilterHelper ()
   from /usr/lib/libkritaui.so.1
#15 0xb61a7077 in KisPreviewWidget::runFilter () from /usr/lib/libkritaui.so.1
#16 0xb61781e3 in KisFilterManager::refreshPreview ()
   from /usr/lib/libkritaui.so.1
#17 0xb61792b0 in KisFilterManager::slotApplyFilter ()
   from /usr/lib/libkritaui.so.1
#18 0xb6179454 in KisFilterManager::qt_invoke () from /usr/lib/libkritaui.so.1
#19 0xb713fce3 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb71405ea in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb74c23f9 in QSignalMapper::mapped () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb7160001 in QSignalMapper::map () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb74c2326 in QSignalMapper::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
#24 0xb713fce3 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb7140774 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb7a182d9 in KAction::activated () from /usr/kde/3.5/lib/libkdeui.so.4
#27 0xb7a598c1 in KAction::slotActivated ()
   from /usr/kde/3.5/lib/libkdeui.so.4
#28 0xb7b4a05d in KAction::slotPopupActivated ()
   from /usr/kde/3.5/lib/libkdeui.so.4
#29 0xb7b4a321 in KAction::qt_invoke () from /usr/kde/3.5/lib/libkdeui.so.4
#30 0xb713fce3 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#31 0xb74c1ea3 in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#32 0xb715f992 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#33 0xb726471f in QPopupMenu::mouseReleaseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0xb7a1d81e in KPopupMenu::mouseReleaseEvent ()
   from /usr/kde/3.5/lib/libkdeui.so.4
#35 0xb71767bb in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#36 0xb70d87b6 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#37 0xb70da5d3 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#38 0xb7862eae in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#39 0xb706da6d in QApplication::sendSpontaneousEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0xb706c482 in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#41 0xb706ab0d in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#42 0xb70812d6 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#43 0xb70f2899 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#44 0xb70f26ba in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#45 0xb70d9fc9 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#46 0xb76a843c in kdemain () from /usr/lib/libkdeinit_krita.so
#47 0xb76aa7f0 in kdeinitmain () from /usr/lib/kde3/krita.so
#48 0x0804df57 in ?? ()
#49 0x00000002 in ?? ()
#50 0x08078ad0 in ?? ()
#51 0x00000001 in ?? ()
#52 0x00000000 in ?? ()
Comment 1 Dik Takken 2007-07-28 13:27:53 UTC
Changed product to krita
Comment 2 Halla Rempt 2007-07-28 13:48:26 UTC
I can reproduce. Must be something quite silly. The problem is: in 2.0 this being completely rewritten. I'll test 2.0 against this bug when I'm done with the rewrite.
Comment 3 Halla Rempt 2007-12-06 14:25:06 UTC
Fixed in the 1.6 branch; trunk does not have this issue.