Bug 233004 - Crash on choosing levels filter in filter brush
Summary: Crash on choosing levels filter in filter brush
Status: RESOLVED LATER
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on: 233239
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-01 22:14 UTC by Sven Langkamp
Modified: 2010-04-04 13:05 UTC (History)
1 user (show)

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 Sven Langkamp 2010-04-01 22:14:50 UTC
Application: krita (2.2 Beta 1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.9-70.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
To reproduce:
-add levels filter layer
-choose levels filter in the filterop
Crash

 -- Backtrace:
Application: Krita (krita), signal: Aborted
[Current thread is 1 (Thread 0xb7768b50 (LWP 5670))]

Thread 3 (Thread 0xb7408b70 (LWP 5671)):
#0  0x00f7f416 in __kernel_vsyscall ()
#1  0x00c13c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x060f2b7f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x060ef32d in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0x00520f6a in KisTileDataPooler::waitForWork (this=0x6b9ba0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:133
#5  0x00520fd9 in KisTileDataPooler::run (this=0x6b9ba0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x060f1cdf in ?? () from /usr/lib/libQtCore.so.4
#7  0x00c0fab5 in start_thread () from /lib/libpthread.so.0
#8  0x0105adce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb52d8b70 (LWP 5676)):
#0  0x00c3edc6 in clock_gettime () from /lib/librt.so.1
#1  0x0620d0cb in ?? () from /usr/lib/libQtCore.so.4
#2  0x062117b6 in ?? () from /usr/lib/libQtCore.so.4
#3  0x06211d96 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#4  0x06212c96 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x061e62da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x061e661a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x060ef909 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x005d2b59 in KisProjection::run (this=0x8bca648) at /home/sven/kde/src/koffice/krita/image/kis_projection.cc:86
#9  0x060f1cdf in ?? () from /usr/lib/libQtCore.so.4
#10 0x00c0fab5 in start_thread () from /lib/libpthread.so.0
#11 0x0105adce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7768b50 (LWP 5670)):
[KCrash Handler]
#6  0x00f7f416 in __kernel_vsyscall ()
#7  0x00faaa91 in raise () from /lib/libc.so.6
#8  0x00fac35a in abort () from /lib/libc.so.6
#9  0x060ea7ec in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#10 0x060ea9cc in ?? () from /usr/lib/libQtCore.so.4
#11 0x060eaaea in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#12 0x060eab76 in qt_assert(char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#13 0x005431b6 in KisSharedPtr<KisPaintDevice>::operator-> (this=0xa531ce0) at /home/sven/kde/src/koffice/krita/image/kis_shared_ptr.h:184
#14 0x0058eca0 in KisHistogram::updateHistogram (this=0xa531cb0) at /home/sven/kde/src/koffice/krita/image/kis_histogram.cc:68
#15 0x0058ea79 in KisHistogram::KisHistogram (this=0xa531cb0, paintdev=..., producer=..., type=LINEAR) at /home/sven/kde/src/koffice/krita/image/kis_histogram.cc:56
#16 0x027a0b66 in KisLevelConfigWidget::KisLevelConfigWidget (this=0xa725578, parent=0x9469ab0, dev=...) at /home/sven/kde/src/koffice/krita/plugins/filters/levelfilter/kis_level_filter.cpp:149
#17 0x027a008a in KisLevelFilter::createConfigurationWidget (this=0x886a550, parent=0x9469ab0, dev=..., image=...)
    at /home/sven/kde/src/koffice/krita/plugins/filters/levelfilter/kis_level_filter.cpp:64
#18 0x0191aa6d in KisFilterOption::updateFilterConfigWidget (this=0xa092fc8) at /home/sven/kde/src/koffice/krita/plugins/paintops/libpaintop/kis_filter_option.cpp:165
#19 0x0191a939 in KisFilterOption::setCurrentFilter (this=0xa092fc8, id=...) at /home/sven/kde/src/koffice/krita/plugins/paintops/libpaintop/kis_filter_option.cpp:146
#20 0x0191af1f in KisFilterOption::qt_metacall (this=0xa092fc8, _c=InvokeMetaMethod, _id=0, _a=0xbf822468) at /home/sven/kde/build/koffice/krita/plugins/paintops/libpaintop/kis_filter_option.moc:74
#21 0x061ec5db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x061fb4af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x003e09a0 in KisCmbIDList::activated (this=0xa0937d8, _t1=...) at /home/sven/kde/build/koffice/krita/ui/kis_cmb_idlist.moc:94
#24 0x003e0777 in KisCmbIDList::slotIDActivated (this=0xa0937d8, i=6) at /home/sven/kde/src/koffice/krita/ui/widgets/kis_cmb_idlist.cc:87
#25 0x003e092d in KisCmbIDList::qt_metacall (this=0xa0937d8, _c=InvokeMetaMethod, _id=2, _a=0xbf822598) at /home/sven/kde/build/koffice/krita/ui/kis_cmb_idlist.moc:81
#26 0x061ec5db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0x061fb4af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0x06bb6bc4 in QComboBox::activated(int) () from /usr/lib/libQtGui.so.4
#29 0x06bb8b53 in ?? () from /usr/lib/libQtGui.so.4
#30 0x06bbbb41 in ?? () from /usr/lib/libQtGui.so.4
#31 0x06bc0f03 in QComboBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#32 0x074e396b in KComboBox::qt_metacall (this=0xa0937d8, _c=InvokeMetaMethod, _id=39, _a=0xbf8227c8) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kdeui/kcombobox.moc:106
#33 0x003e08a8 in KisCmbIDList::qt_metacall (this=0xa0937d8, _c=InvokeMetaMethod, _id=39, _a=0xbf8227c8) at /home/sven/kde/build/koffice/krita/ui/kis_cmb_idlist.moc:74
#34 0x061ec5db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#35 0x061fb4af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#36 0x06e8cb24 in ?? () from /usr/lib/libQtGui.so.4
#37 0x06bb857b in ?? () from /usr/lib/libQtGui.so.4
#38 0x061e6e3a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#39 0x067c7d0a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x067cf0fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x0742b7db in KApplication::notify (this=0xbf823484, receiver=0xa08f238, event=0xbf822dd0) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#42 0x061e7c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#43 0x067cde68 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#44 0x0684b5ba in ?? () from /usr/lib/libQtGui.so.4
#45 0x0684a5e3 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#46 0x06876e59 in ?? () from /usr/lib/libQtGui.so.4
#47 0x061e62da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0x061e661a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x061e8ce7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#50 0x067c7dd8 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#51 0x00beaad7 in kdemain (argc=1, argv=0xbf823594) at /home/sven/kde/src/koffice/krita/main.cc:49
#52 0x080487b9 in main (argc=1, argv=0xbf823594) at /home/sven/kde/build/koffice/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Sven Langkamp 2010-04-01 22:18:42 UTC
Forget the first step, just choose levels in filter brush.
Comment 2 Cyrille Berger 2010-04-04 13:01:36 UTC
I can't reproduce, what are the exact steps ? First select level in filter brush, then add a filter layer, then select level in filter brush ?

But anyway, currently the level filter is terriblly slow when painting, I am going to disable it until we cache the transformation between two calls.
Comment 3 Cyrille Berger 2010-04-04 13:03:24 UTC
SVN commit 1110844 by berger:

Disable brightness and level when painting: too slow.

CCBUG: 233004


 M  +1 -1      colorsfilters/kis_brightness_contrast_filter.cpp  
 M  +1 -1      levelfilter/kis_level_filter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1110844