[krita] [Bug 405943] Crash when saving file with vector layer. (Only with an ASAN build)

2019-04-04 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=405943

--- Comment #6 from wolthera  ---
Yes, this works :)

Strangely enough, don't get a safe assert warning now either, so I guess that's
fixed too...

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

[krita] [Bug 405943] Crash when saving file with vector layer. (Only with an ASAN build)

2019-04-04 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=405943

Dmitry Kazakov  changed:

   What|Removed |Added

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

--- Comment #5 from Dmitry Kazakov  ---
The crash should be fixed in 
https://phabricator.kde.org/R37:bf4cbcbf3bbdbf584e91ab4092f6ed0e0fadc441

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

[krita] [Bug 405943] Crash when saving file with vector layer. (Only with an ASAN build)

2019-04-04 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=405943

Boudewijn Rempt  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||b...@valdyas.org

--- Comment #4 from Boudewijn Rempt  ---
Actually, I've seen a very similar crash in the kis_shape_layer_test this
morning: 

Thread 1 (Thread 0x7f3110c57e80 (LWP 6994)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x7f310aad7801 in __GI_abort () at abort.c:79
#8  0x7f310b4ace7b in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7f310b4ac671 in qt_assert(char const*, char const*, int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x7f310ce1a6aa in KisRelaxedTimer::setInterval (this=,
interval=interval@entry=25) at
/home/boud/dev/krita/libs/global/kis_relaxed_timer.cpp:33
#11 0x7f310ce1a9a9 in KisSignalCompressor::setDelay (this=,
delay=delay@entry=25) at
/home/boud/dev/krita/libs/global/kis_signal_compressor.cpp:69
#12 0x7f310f54e798 in KisShapeLayerCanvas::updateUpdateCompressorDelay
(this=0x55f9ad846ae0) at
/home/boud/dev/krita/libs/ui/flake/kis_shape_layer_canvas.cpp:360
#13 KisShapeLayerCanvas::slotImageSizeChanged (this=0x55f9ad846ae0) at
/home/boud/dev/krita/libs/ui/flake/kis_shape_layer_canvas.cpp:275
#14 0x7f310b6d8e25 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x7f310e39290a in KisImage::sigSizeChanged (this=,
_t1=..., _t2=...) at
/home/boud/dev/b-krita/libs/image/kritaimage_autogen/EWIEGA46WW/moc_kis_image.cpp:677
#16 0x7f310e395366 in KisImage::qt_static_metacall (_o=,
_c=, _id=, _a=0x7fff5f87df00) at
/home/boud/dev/b-krita/libs/image/kritaimage_autogen/EWIEGA46WW/moc_kis_image.cpp:311
#17 0x7f310b6d8e25 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x7f310e39308a in KisImageSignalRouter::sigSizeChanged
(this=this@entry=0x55f9ad7d7918, _t1=..., _t2=...) at
/home/boud/dev/b-krita/libs/image/kritaimage_autogen/EWIEGA46WW/moc_kis_image_signal_router.cpp:342
#19 0x7f310e1bbb17 in KisImageSignalRouter::slotNotification
(this=this@entry=0x55f9ad7d7918, type=...) at
/home/boud/dev/krita/libs/image/kis_image_signal_router.cpp:150
#20 0x7f310e395dc5 in KisImageSignalRouter::qt_static_metacall
(_o=0x55f9ad7d7918, _c=, _id=, _a=) at
/home/boud/dev/b-krita/libs/image/kritaimage_autogen/EWIEGA46WW/moc_kis_image_signal_router.cpp:160
#21 0x7f310b6d9992 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x7f310c49f83c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x7f310c4a6dd0 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x7f310b6a9328 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x7f310b6abe87 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x7f310b706b23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x7f3103ac1387 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x7f3103ac15c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x7f3103ac164c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x7f310b70613f in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x55f9aa8ac6ef in TestUtil::MaskParent::waitForImageAndShapeLayers
(this=0x7fff5f87e780) at /home/boud/dev/krita/sdk/tests/testutil.h:398
#32 0x55f9aa8a6782 in testMergeDownImpl (useImageTransformations=) at /home/boud/dev/krita/libs/ui/tests/kis_shape_layer_test.cpp:113
#33 0x7f310b6ba645 in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x7f310e6c590a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Test.so.5
#35 0x7f310e6c667d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Test.so.5
#36 0x7f310e6c6be1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Test.so.5
#37 0x7f310e6c707b in QTest::qRun() () from
/usr/lib/x86_64-linux-gnu/libQt5Test.so.5
#38 0x7f310e6c738b in QTest::qExec(QObject*, int, char**) () from
/usr/lib/x86_64-linux-gnu/libQt5Test.so.5
#39 0x55f9aa8a516d in main (argc=, argv=0x7fff5f87f328) at
/home/boud/dev/krita/libs/ui/

[krita] [Bug 405943] Crash when saving file with vector layer. (Only with an ASAN build)

2019-04-02 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=405943

wolthera  changed:

   What|Removed |Added

Summary|Crash when saving file with |Crash when saving file with
   |vector layer.   |vector layer. (Only with an
   ||ASAN build)

--- Comment #3 from wolthera  ---
So, this only seems to happen with a build with an address sanitizer enabled,
but it does not give an address sanitizer backtrace?

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