[krita] [Bug 443189] Crash when attempting to undo while drawing liquify strokes

2021-12-16 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=443189

Dmitry Kazakov  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|CONFIRMED   |RESOLVED
 CC||dimul...@gmail.com

--- Comment #3 from Dmitry Kazakov  ---
I think I have solved this bug as a part of the fix for bug 441826

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 443189] Crash when attempting to undo while drawing liquify strokes

2021-10-29 Thread sh_zam
https://bugs.kde.org/show_bug.cgi?id=443189

--- Comment #2 from sh_zam  ---
A rather hard to reproduce… luckily I caught it in gdb:

ASSERT (krita): “row < 0x7FFF && col < 0x7FFF” in file
/krita/libs/image/tiles3/kis_tile_hash_table2.h, line 129

Thread 50 “Thread (pooled)” received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff3e5f1640 (LWP 2086920)]
0x73bcdd22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x73bcdd22 in raise () at /usr/lib/libc.so.6
#1  0x73bb7862 in abort () at /usr/lib/libc.so.6
#2  0x7404194e in  () at /usr/lib/libQt5Core.so.5
#3  0x762320a1 in kis_assert_common(char const*, char const*, int,
bool, bool)
(assertion=0x7715d1f8 “row < 0x7FFF && col < 0x7FFF”,
file=0x7715820d “/krita/libs/image/tiles3/kis_tile_hash_table2.h”,
line=line@entry=129, throwException=, isIgnorable=false)
at /krita/libs/global/kis_assert.cpp:89
#4  0x7623237a in kis_assert_recoverable(char const*, char const*, int)
(assertion=0x2 ,
file=0x7fff3e5ef9f0 “”, line=0, line@entry=129) at
/krita/libs/global/kis_assert.cpp:102
#5  0x7723e626 in KisTileHashTableTraits2::calculateHash(int,
int) (this=0x7fff601ca880, col=900376, row=3) at
/krita/libs/image/tiles3/kis_tile_hash_table2.h:129
#6  KisTileHashTableTraits2::getReadOnlyTileLazy(int, int, bool&)
(this=0x7fff601ca880, col=900376, row=3, existingTile=@0x7fff3e5efe3f: false)
at /krita/libs/image/tiles3/kis_tile_hash_table2.h:375
#7  0x7724a0eb in KisTiledDataManager::getTile(int, int, bool)
(this=, col=, row=,
writable=) at
/krita/libs/image/tiles3/kis_tiled_data_manager.h:116
#8  KisTiledDataManager::getTilesPair(int, int, bool, KisSharedPtr*,
KisSharedPtr*) (this=0x7fff601c9c40, col=900376, row=3,
writable=, tile=0x7fff7483b550, oldTile=0x7fff7483b558)
at /krita/libs/image/tiles3/kis_tiled_data_manager.h:95
#9  0x7724bdb1 in KisRandomAccessor2::fetchTileData(int, int)
(this=this@entry=0x7fff7483c4d0, col=900376, row=3) at
/krita/libs/image/tiles3/kis_random_accessor.cc:113
#10 0x7724bd07 in KisRandomAccessor2::moveTo(int, int)
(this=0x7fff7483c4d0, x=57624115, y=242) at
/krita/libs/image/tiles3/kis_random_accessor.cc:80
#11 0x774958d4 in KisRandomSubAccessor::sampledOldRawData(unsigned
char*)
(this=0x7fff7483b5e0, dst=0x7fff878f30ec
“\377\345\275\377\231\217\177\377\231\217\177\377\231\217\177\377\231\217\177\377\231\217\177\377\232\220\200\377\232\220\200\377\232\220\200\377\377\357\307\377\377\357\307\377\377\357\307\377\377\357\307\377\377\357\307\377\377\357\307\377\377\357\307\377\377\357\306\377\377\357\306\377\377\357\306\377\377\357\306\377\377\357\306\377\377\357\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\356\306\377\377\355\305\377\377\355\305\377\377\355\305\377\377\355\305\377\377\355\305\377\377\355\305\377\377\355\304\377\377\354\303\377\377\353\301\377\377\352\301\377\377\351\301\377”…)
at /krita/libs/image/kis_random_sub_accessor.cpp:51
#12 0x774b0233 in
GridIterationTools::PaintDevicePolygonOp::operator()(QPolygonF const&,
QPolygonF const&, QPolygonF const&) (this=0x7fff3e5f0220, srcPolygon=, dstPolygon=, clipDstPolygon=…)
at /krita/libs/image/kis_grid_interpolation_tools.h:209
#13 0x774bb8cb in
GridIterationTools::PaintDevicePolygonOp::operator()(QPolygonF const&,
QPolygonF const&) (this=0x7fff3e5f0220, srcPolygon=…, dstPolygon=…) at
/krita/libs/image/kis_grid_interpolation_tools.h:171
#14
GridIterationTools::iterateThroughGrid(GridIterationTools::PaintDevicePolygonOp&,
GridIterationTools::RegularGridIndexesOp&, QSize const&, QVector
const&, QVector const&) (polygonOp=…, indexesOp=…, gridSize=, originalPoints=QVector (size = 191395) = {…},
transformedPoints=QVector (size = 191395) = {…})
at /krita/libs/image/kis_grid_interpolation_tools.h:619
#15 0x774b8e53 in
KisLiquifyTransformWorker::run(KisSharedPtr,
KisSharedPtr) (this=0x7fff74006e30, srcDevice=…, dstDevice=…)
at /krita/libs/image/kis_liquify_transform_worker.cpp:402
#16 0x7fffbc7c9860 in (anonymous
namespace)::transformDeviceImpl(ToolTransformArgs const&,
KisSharedPtr, KisSharedPtr,
KisProcessingVisitor::ProgressHelper*, bool) (config=
…, srcDevice=…, dstDevice=…, helper=0x7fff3e5f0878, cropDst=false) at
/krita/plugins/tools/tool_transform2/kis_transform_utils.cpp:310
#17 0x7fffbc7c8f69 in KisTransformUtils::transformDevice(ToolTransformArgs
const&, KisSharedPtr, KisSharedPtr,
KisProcessingVisitor::ProgressHelper*) (config=…, srcDevice=…, dstDevice=…,
helper=0x73bcdd22 ,
helper@entry=0x7fff3e5f0878) at
/krita/plugins/tools/tool_transform2/kis_transform_utils.cpp:366
#18 0x7fffbc7cbbd0 in
KisTransformUtils::transformAndMergeDevice(ToolTransformArgs const&,
KisSharedPtr, KisSharedPtr,

[krita] [Bug 443189] Crash when attempting to undo while drawing liquify strokes

2021-10-07 Thread Ahab Greybeard
https://bugs.kde.org/show_bug.cgi?id=443189

Ahab Greybeard  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||ahab.greybe...@hotmail.co.u
   ||k
 Status|REPORTED|CONFIRMED

--- Comment #1 from Ahab Greybeard  ---
I can replicate this with the 5.0.0-beta1 and the Oct 07 5.1.0-prealpha (git
f2ad3000) appimages on Debian 10.
It doesn't happen with the 4.4.8 appimage.

I don't need to use Undo. A crash happens during the second Liquify stroke or
sometimes the first liquify stroke.

For both versions:
The terminal says "Aborted".
The log file says "ASSERT (krita): "row < 0x7FFF && col < 0x7FFF" in file
/home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/image/tiles3/kis_tile_hash_table2.h,
line 129"

-- 
You are receiving this mail because:
You are watching all bug changes.