Summary: | Can't copy between kra files, causes Runtime error | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | dragatora |
Component: | General | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alvin.shi, halla |
Priority: | NOR | Keywords: | regression, release_blocker |
Version: | 4.0.2 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/krita/0c8d097953fad6a0fa01644bf6d63f50d64e95b3 | Version Fixed In: | |
Sentry Crash Report: |
Description
dragatora
2018-05-10 04:04:39 UTC
Hi, I can confirm this issue. I get the following output: ASSERT (krita): "lod > 0" in file /home/boud/dev/krita/libs/image/kis_paint_device.cc, line 697 ASSERT (krita): "lod > 0" in file /home/boud/dev/krita/libs/image/kis_paint_device.cc, line 697 ASSERT (krita): "lod > 0" in file /home/boud/dev/krita/libs/image/kis_paint_device.cc, line 697 Unable to start Dr. Konqi Re-raising signal for core dump handling. ASSERT (krita): "lod > 0" in file /home/boud/dev/krita/libs/image/kis_paint_device.cc, line 697 Backtrace: (gdb) bt #0 0x00007fffec5a5f67 in raise () from /lib64/libc.so.6 #1 0x00007fffec5a733a in abort () from /lib64/libc.so.6 #2 0x00007fffed256e9e in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5 #3 0x00007ffff3b5cad9 in kis_assert_common (assertion=assertion@entry=0x7ffff6411e09 "lod > 0", file=file@entry=0x7ffff6411bd8 "/home/boud/dev/krita/libs/image/kis_paint_device.cc", line=line@entry=697, throwException=throwException@entry=false, isIgnorable=isIgnorable@entry=false) at /home/boud/dev/krita/libs/global/kis_assert.cpp:90 #4 0x00007ffff3b5cbea in kis_assert_recoverable (assertion=assertion@entry=0x7ffff6411e09 "lod > 0", file=file@entry=0x7ffff6411bd8 "/home/boud/dev/krita/libs/image/kis_paint_device.cc", line=line@entry=697) at /home/boud/dev/krita/libs/global/kis_assert.cpp:103 #5 0x00007ffff6325a78 in KisPaintDevice::Private::updateLodDataStruct (this=0x10630930, _dst=<optimized out>, originalRect=...) at /home/boud/dev/krita/libs/image/kis_paint_device.cc:697 #6 0x00007ffff6325c59 in KisPaintDevice::updateLodDataStruct (this=<optimized out>, dst=<optimized out>, srcRect=...) at /home/boud/dev/krita/libs/image/kis_paint_device.cc:2020 #7 0x00007ffff62cd748 in KisSyncLodCacheStrokeStrategy::doStrokeCallback (this=0x134ccf80, data=<optimized out>) at /home/boud/dev/krita/libs/image/kis_sync_lod_cache_stroke_strategy.cpp:108 #8 0x00007ffff6405f4b in non-virtual thunk to KisUpdateJobItem::run() () from /home/boud/dev/i-krita/lib64/libkritaimage.so.17 #9 0x00007fffed269172 in ?? () from /usr/lib64/libQt5Core.so.5 #10 0x00007fffed26be0f in ?? () from /usr/lib64/libQt5Core.so.5 #11 0x00007fffeb66a724 in start_thread () from /lib64/libpthread.so.0 # https://bugs.kde.org/show_bug.cgi?id=394098 is probably a duplicate, even though the way to get to the crash is different. Git commit f64101001b131dc2b2c046e85a503f3912fad874 by Dmitry Kazakov. Committed on 11/05/2018 at 11:03. Pushed by dkazakov into branch 'kazakov/animation-cache-swapping'. Fix a crash when copy-pasting data between two different images We shouldn't use makeCloneFromRough() on the devices that belong to the nodes, because it resets the defaultBounds() link of the source. Use KisPainter::copyAreaOptimized() instead. M +2 -0 libs/image/kis_paint_device.cc M +3 -2 libs/ui/actions/KisPasteActionFactory.cpp https://commits.kde.org/krita/f64101001b131dc2b2c046e85a503f3912fad874 Git commit 07420801e47da6c0a97ee732672523b40234e380 by Dmitry Kazakov. Committed on 11/05/2018 at 11:04. Pushed by dkazakov into branch 'krita/4.0'. Fix a crash when copy-pasting data between two different images We shouldn't use makeCloneFromRough() on the devices that belong to the nodes, because it resets the defaultBounds() link of the source. Use KisPainter::copyAreaOptimized() instead. M +2 -0 libs/image/kis_paint_device.cc M +3 -2 libs/ui/actions/KisPasteActionFactory.cpp https://commits.kde.org/krita/07420801e47da6c0a97ee732672523b40234e380 *** Bug 394109 has been marked as a duplicate of this bug. *** Git commit b9fcb63fd1b71f7dc206e622485e007eaf97915a by Dmitry Kazakov. Committed on 12/05/2018 at 09:19. Pushed by dkazakov into branch 'kazakov/animation-cache-swapping'. Fix crash on OSX because of wrong implementation of KoShape::compareShapeZIndex() Compare function should return false when comparing an item with itself M +8 -0 libs/flake/KoShape.cpp https://commits.kde.org/krita/b9fcb63fd1b71f7dc206e622485e007eaf97915a Git commit 6ed15803e1ced414fe83b4e817d2cfd792a64aef by Dmitry Kazakov. Committed on 12/05/2018 at 09:19. Pushed by dkazakov into branch 'krita/4.0'. Fix crash on OSX because of wrong implementation of KoShape::compareShapeZIndex() Compare function should return false when comparing an item with itself M +8 -0 libs/flake/KoShape.cpp https://commits.kde.org/krita/6ed15803e1ced414fe83b4e817d2cfd792a64aef Git commit b9637823322a2d0e4b88aafedb36ab4d61f61b9f by Dmitry Kazakov. Committed on 12/05/2018 at 09:21. Pushed by dkazakov into branch 'master'. Fix crash on OSX because of wrong implementation of KoShape::compareShapeZIndex() Compare function should return false when comparing an item with itself M +8 -0 libs/flake/KoShape.cpp https://commits.kde.org/krita/b9637823322a2d0e4b88aafedb36ab4d61f61b9f Git commit 0c8d097953fad6a0fa01644bf6d63f50d64e95b3 by Dmitry Kazakov. Committed on 19/05/2018 at 21:03. Pushed by dkazakov into branch 'master'. Fix a crash when copy-pasting data between two different images We shouldn't use makeCloneFromRough() on the devices that belong to the nodes, because it resets the defaultBounds() link of the source. Use KisPainter::copyAreaOptimized() instead. M +2 -0 libs/image/kis_paint_device.cc M +3 -2 libs/ui/actions/KisPasteActionFactory.cpp https://commits.kde.org/krita/0c8d097953fad6a0fa01644bf6d63f50d64e95b3 |