[krita] [Bug 419021] Crash on closing a document

2021-06-01 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=419021

Dmitry Kazakov  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/87175ca76 |hics/krita/commit/fd21c4a8c
   |7bf6ed2c8738f81a9b957faaf84 |e2cdc9e2594c4e0899aa509fe82
   |e7db|ce6d

--- Comment #6 from Dmitry Kazakov  ---
Git commit fd21c4a8ce2cdc9e2594c4e0899aa509fe82ce6d by Dmitry Kazakov.
Committed on 01/06/2021 at 12:06.
Pushed by dkazakov into branch 'krita/4.3'.

Fix crash when closing Krita too quickly while some stroke is still rendering

KisCanvas2 is directly connected to the image, therefore, it should not
be destroyed before the the connection is removed and all the callers
has completed their requests.

# Conflicts:
#   libs/ui/KisView.cppgit

M  +6-0libs/ui/KisView.cpp
M  +16   -0libs/ui/canvas/kis_canvas2.cpp
M  +1-0libs/ui/canvas/kis_canvas2.h

https://invent.kde.org/graphics/krita/commit/fd21c4a8ce2cdc9e2594c4e0899aa509fe82ce6d

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

[krita] [Bug 419021] Crash on closing a document

2021-05-21 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=419021

Dmitry Kazakov  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/commit/87175ca76
   ||7bf6ed2c8738f81a9b957faaf84
   ||e7db

--- Comment #5 from Dmitry Kazakov  ---
Git commit 87175ca767bf6ed2c8738f81a9b957faaf84e7db by Dmitry Kazakov.
Committed on 21/05/2021 at 08:27.
Pushed by dkazakov into branch 'master'.

Fix crash when closing Krita too quickly while some stroke is still rendering

KisCanvas2 is directly connected to the image, therefore, it should not
be destroyed before the the connection is removed and all the callers
has completed their requests.

M  +6-1libs/ui/KisView.cpp
M  +16   -0libs/ui/canvas/kis_canvas2.cpp
M  +1-0libs/ui/canvas/kis_canvas2.h

https://invent.kde.org/graphics/krita/commit/87175ca767bf6ed2c8738f81a9b957faaf84e7db

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

[krita] [Bug 419021] Crash on closing a document

2021-05-20 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=419021

--- Comment #4 from Dmitry Kazakov  ---
Okay, the crash happens because KisOpenGLCanvas2 object is being destroyed
while KisImage is still sending updates to it. I need to do the inventory of
the object ownership in the canvas code.

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

[krita] [Bug 419021] Crash on closing a document

2021-05-20 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=419021

Dmitry Kazakov  changed:

   What|Removed |Added

   Assignee|krita-bugs-n...@kde.org |dimul...@gmail.com
 CC||dimul...@gmail.com

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

[krita] [Bug 419021] Crash on closing a document

2020-04-24 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=419021

wolthera  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||griffinval...@gmail.com

--- Comment #3 from wolthera  ---
Since we have a backtrace, I'll set to confirmed.

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

[krita] [Bug 419021] Crash on closing a document

2020-03-19 Thread Tymond
https://bugs.kde.org/show_bug.cgi?id=419021

--- Comment #2 from Tymond  ---
Created attachment 126891
  --> https://bugs.kde.org/attachment.cgi?id=126891=edit
gdb backtrace - thread apply all bt full

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

[krita] [Bug 419021] Crash on closing a document

2020-03-19 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=419021

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #1 from Boudewijn Rempt  ---
This is the only relevant bit of the backtrace

Thread 2738 (Thread 0x7fff8bb05700 (LWP 5864)):
#0  0x0064 in  ()
#1  0x76c33fec in
KisCanvasUpdatesCompressor::putUpdateInfo(KisSharedPtr)
(this=0x6f4d9a10, info=...) at
/home/tymon/kritadev/krita/libs/global/kis_shared_ptr.h:179
#2  0x76c2b174 in KisCanvas2::startUpdateCanvasProjection(QRect const&)
(this=0x76fb64a8, rc=...) at /usr/include/c++/8/bits/atomic_base.h:295
#3  0x748e86db in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x75eee4c2 in KisImage::sigImageUpdated(QRect const&)
(this=this@entry=0x82de9ff0, _t1=...) at
/home/tymon/kritadev/build/libs/image/kritaimage_autogen/EWIEGA46WW/moc_kis_image.cpp:702
#5  0x75ce1005 in KisImage::notifyProjectionUpdated(QRect const&)
(rc=..., this=0x82de9ff0) at
/home/tymon/kritadev/krita/libs/image/kis_image.cc:2013
#6  0x75ce1005 in KisImage::notifyProjectionUpdated(QRect const&)
(this=0x82de9ff0, rc=...) at
/home/tymon/kritadev/krita/libs/image/kis_image.cc:2003
#7  0x75cc271e in KisUpdateScheduler::continueUpdate(QRect const&)
(this=, rect=...) at
/home/tymon/kritadev/krita/libs/image/kis_update_scheduler.cpp:457
#8  0x75ef5b1b in non-virtual thunk to KisUpdateJobItem::run() () at
/usr/include/c++/8/bits/atomic_base.h:295
#9  0x7470ef71 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x74716c87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x71992164 in start_thread (arg=) at
pthread_create.c:486
#12 0x73fe3def in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

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