Bug 269448 - tonemapping crashes.
Summary: tonemapping crashes.
Status: RESOLVED DUPLICATE of bug 274874
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Cyrille Berger
Depends on:
Reported: 2011-03-26 10:59 UTC by Halla Rempt
Modified: 2011-06-18 15:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2011-03-26 10:59:10 UTC
I created an 8 bit rgb image from a template and selected layer/tonemapping. After pressing enter, I get the following backtrace:

ASSERT: "row >= 0 && row < d->rows" in file /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/libpfs/kis_array2d.cc, line 86

Program received signal SIGABRT, Aborted.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb50a48df in raise () from /lib/libc.so.6
#2  0xb50a6220 in abort () from /lib/libc.so.6
#3  0xb7d72b2a in qt_message_output (msgType=QtFatalMsg, buf=
    0x12640158 "ASSERT: \"row >= 0 && row < d->rows\" in file /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/libpfs/kis_array2d.cc, line 86") at global/qglobal.cpp:2282
#4  0xb7d72d2f in qt_message (msgType=QtFatalMsg, msg=0xb7ee1e9c "ASSERT: \"%s\" in file %s, line %d", ap=0xbfffd604 "\274-\357\250\020.\357\250V") at global/qglobal.cpp:2328
#5  0xb7d72e48 in qFatal (msg=0xb7ee1e9c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#6  0xb7d72ec5 in qt_assert (assertion=0xa8ef2dbc "row >= 0 && row < d->rows", file=0xa8ef2e10 "/home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/libpfs/kis_array2d.cc", line=86)
    at global/qglobal.cpp:2027
#7  0xa8ee3ef3 in pfs::Array2DImpl::rowToDevice (this=0xbfffd848, row=1200) at /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/libpfs/kis_array2d.cc:86
#8  0xa8ee2c96 in pfs::Array2DImpl::operator() (this=0xbfffd848, index=1440000) at /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/libpfs/kis_array2d.cc:106
#9  0xa8ee42dd in tmo_reinhard05 (R=0xbfffd840, G=0xbfffd838, B=0xbfffd830, Y=0xbfffd848, br=0, ca=0, la=1)
    at /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/operators/reinhard05/tmo_reinhard05.cpp:56
#10 0xa8ee4ef6 in KisReinhard05Operator::toneMap (this=0xc221aa0, device=..., config=0xb9772d8)
    at /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/operators/reinhard05/kis_reinhard05_operator.cc:90
#11 0xa8edd3d3 in KisToneMappingDialog::apply (this=0xacd1b308) at /home/boud/kde/src/calligra/krita/plugins/extensions/tonemapping/kis_tonemapping_dialog.cc:96
#12 0xa8edd97b in KisToneMappingDialog::qt_metacall (this=0xacd1b308, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffda0c)
    at /home/boud/kde/build/calligra/krita/plugins/extensions/tonemapping/kis_tonemapping_dialog.moc:80
#13 0xb7e8012d in QMetaObject::metacall (object=0xacd1b308, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfffda0c) at kernel/qmetaobject.cpp:237
#14 0xb7e8f63c in QMetaObject::activate (sender=0xaa876e58, m=0xb611d904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#15 0xb5edac15 in QAbstractButton::pressed() () from /usr/lib/libQtGui.so.4
#16 0xb5bd457d in ?? () from /usr/lib/libQtGui.so.4
#17 0xb5bd521a in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb5831a44 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb5bd5070 in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb5c776e8 in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb57d65a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb57dfea0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb62631f1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb7e7983e in QCoreApplication::notifyInternal (this=0xbfffe7cc, receiver=0xaa876e58, event=0xbfffe114) at kernel/qcoreapplication.cpp:787
#25 0xb57d764c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#26 0xb5863be0 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb5862cee in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb588e36b in ?? () from /usr/lib/libQtGui.so.4
#29 0xb7e78b1d in QEventLoop::processEvents (this=0xbfffe754, flags=...) at kernel/qeventloop.cpp:149
#30 0xb7e78d49 in QEventLoop::exec (this=0xbfffe754, flags=...) at kernel/qeventloop.cpp:201
#31 0xb7e7d7f0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0xb57d42f4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#33 0xb7fdb021 in kdemain (argc=1, argv=0xbfffe8d4) at /home/boud/kde/src/calligra/krita/main.cc:49
#34 0x0804889b in main (argc=1, argv=0xbfffe8d4) at /home/boud/kde/build/calligra/krita/krita_dummy.cpp:3
Comment 1 Cyrille Berger 2011-06-06 09:44:44 UTC
I can't reproduce, can you ?
Comment 2 Halla Rempt 2011-06-06 10:15:14 UTC
No crash anymore after updating this morning, but I cannot paint anymore after tonemapping:

ASSERT failure in KoColorSpace::bitBlt: "Composite op is for color space RGBA (sRGB built-in) while this is XyzAF32 (Standard XYZ)", file /home/boud/kde/src/calligra/libs/pigment/KoColorSpace.cpp, line 307
ASSERT failure in KoColorSpace::bitBlt: "Composite op is for color space RGBA (sRGB built-in) while this is XyzAF32 (Standard XYZ)", file /home/boud/kde/src/calligra/libs/pigment/KoColorSpace.cpp, line 307
Comment 3 Cyrille Berger 2011-06-06 13:10:48 UTC
that is the same problem as bug 274874.
Comment 4 Halla Rempt 2011-06-18 15:18:43 UTC
Okay, no crash anymore and it's a duplicat eof 274874 -- mark as such.

*** This bug has been marked as a duplicate of bug 274874 ***