Summary: | KRITA 2.4(b5): CRASH ON WINDOWS 7 WHILE MOVING FAST A LAYER TEXT | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Silvio Grosso <grossosilvio> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla |
Priority: | NOR | ||
Version: | 2.4-snapshots | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Silvio Grosso
2011-12-24 15:14:34 UTC
Ack. THis also happens on Linux: *** glibc detected *** krita: free(): corrupted unsorted chunks: 0x00000000093a3440 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x74c06)[0x7f7f991f4c06] /usr/lib64/libQtCore.so.4(_ZN9QHashData11free_helperEPFvPNS_4NodeEE+0x7e)[0x7f7fa18d875e] /home/boud/kde/inst/lib64/libkritaimage.so.9(+0x232267)[0x7f7fa0c2f267] /home/boud/kde/inst/lib64/libkritaimage.so.9(_ZN20KisMemoryLeakTracker11dereferenceEPKvS1_+0x1de)[0x7f7fa0c2ddce] /home/boud/kde/inst/lib64/libkritaimage.so.9(_ZN22KisRandomConstAccessorD2Ev+0x3a)[0x7f7fa0c6baea] /home/boud/kde/inst/lib64/libkritaimage.so.9(_ZN10KisPainter6bitBltEii12KisSharedPtrI14KisPaintDeviceEiiii+0x85b)[0x7f7fa0afb89b] /home/boud/kde/inst/lib64/libkritaui.so.9(+0x18643c)[0x7f7fa113143c] /home/boud/kde/inst/lib64/libkritaui.so.9(+0x1874f0)[0x7f7fa11324f0] /usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x36a)[0x7f7fa19ba14a] /usr/lib64/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7f7f9a803c34] /usr/lib64/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x121)[0x7f7f9a808ac1] /usr/lib64/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36)[0x7f7f9b516e36] /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f7fa19a381c] /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x338)[0x7f7fa19a6bf8] /usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x40)[0x7f7fa19d13d0] /usr/lib64/libQtGui.so.4(+0x274de8)[0x7f7f9a8a7de8] /usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f7fa19a2a22] /usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x9f)[0x7f7fa19a2c1f] /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)[0x7f7fa19a6de7] /home/boud/kde/inst/lib64/libkdeinit4_krita.so(kdemain+0x22d)[0x7f7fa1cdbd3d] /lib64/libc.so.6(__libc_start_main+0xed)[0x7f7f991a123d] krita[0x400911] Followed by an abort in the memory leak tracker. Git commit 8ab58be502adeecf38b4c532d0afdde0c3b3f0bb by Dmitry Kazakov. Committed on 11/02/2012 at 10:23. Pushed by dkazakov into branch 'shapes-as-node-model-kazakov'. Fix crash on moving shape layers Now we use Qt::AutoConnection signal/slot connection to synchronize UI and Image threads. Above that, we do not move the paint device, because 1) we update the shape anyway and 2) it causes concurrent access to the moving device that causes a crash. M +30 -9 krita/ui/flake/kis_shape_layer.cc M +11 -0 krita/ui/flake/kis_shape_layer.h http://commits.kde.org/calligra/8ab58be502adeecf38b4c532d0afdde0c3b3f0bb |