[krita] [Bug 444516] Crash while painting

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

--- Comment #40 from Dmitry Kazakov  ---
*** Bug 443978 has been marked as a duplicate of this bug. ***

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

[krita] [Bug 444516] Crash while painting

2021-11-25 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

Dmitry Kazakov  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/a12ff2fa2 |hics/krita/commit/ae885d82e
   |74497a2a86fc059942ded11d1a9 |76dfe69c532a5d3da5141029f5a
   |10be|037f

--- Comment #38 from Dmitry Kazakov  ---
Git commit ae885d82e76dfe69c532a5d3da5141029f5a037f by Dmitry Kazakov.
Committed on 25/11/2021 at 11:45.
Pushed by dkazakov into branch 'krita/5.0'.

Fix random memory corruptions when manipulating layers too quickly

It turned out, when the user switches visibility of a layer,
the event loop can be entered recursively (due to KisBusyWaitBroker),
it could lead to memory corruptions due to the broken pointers
to KisNodeDummy stored in QModelIndex objects.

The problem is fixed by forcefully syncing the node manipulation
signals to non-recursive event processing using a new
KisSynchronizedConnection class. See documentation in it for details.

M  +1-0libs/global/CMakeLists.txt
A  +71   -0libs/global/KisMpl.h [License: GPL(v2.0+)]
A  +71   -0libs/global/KisSynchronizedConnection.cpp [License:
GPL(v2.0+)]
A  +214  -0libs/global/KisSynchronizedConnection.h [License:
GPL(v2.0+)]
M  +73   -1libs/ui/KisApplication.cpp
M  +17   -12   libs/ui/flake/kis_dummies_facade_base.cpp
M  +0-4libs/ui/flake/kis_dummies_facade_base.h
M  +5-1libs/ui/kis_node_manager.cpp

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

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

[krita] [Bug 444516] Crash while painting

2021-11-25 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #39 from Dmitry Kazakov  ---
Git commit b0e4f2b0f8087af144abbe86855ff70db5716917 by Dmitry Kazakov.
Committed on 25/11/2021 at 11:45.
Pushed by dkazakov into branch 'krita/5.0'.

Make sure that image-connections in KisView are synchronized

M  +9-18   libs/ui/KisView.cpp
M  +0-4libs/ui/KisView.h

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

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

[krita] [Bug 444516] Crash while painting

2021-11-19 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #37 from David REVOY  ---
Thank you very much @Dmitryk! 
I'll catch a recent 5.0 Krita Plus build asap and test. If I find anything,
I'll open a new ticket.

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

[krita] [Bug 444516] Crash while painting

2021-11-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #36 from Dmitry Kazakov  ---
Git commit fd792caafe2e814451e42362605f77f6c27183ce by Dmitry Kazakov.
Committed on 19/11/2021 at 12:08.
Pushed by dkazakov into branch 'krita/5.0'.

Make sure that image-connections in KisView are synchronized

M  +9-18   libs/ui/KisView.cpp
M  +0-4libs/ui/KisView.h

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

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

[krita] [Bug 444516] Crash while painting

2021-11-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

Dmitry Kazakov  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/f3128cdb8 |hics/krita/commit/a12ff2fa2
   |c6e50f92b5dc7599c4118c3660f |74497a2a86fc059942ded11d1a9
   |ced0|10be

--- Comment #35 from Dmitry Kazakov  ---
Git commit a12ff2fa274497a2a86fc059942ded11d1a910be by Dmitry Kazakov.
Committed on 19/11/2021 at 12:08.
Pushed by dkazakov into branch 'krita/5.0'.

Fix random memory corruptions when manipulating layers too quickly

It turned out, when the user switches visibility of a layer,
the event loop can be entered recursively (due to KisBusyWaitBroker),
it could lead to memory corruptions due to the broken pointers
to KisNodeDummy stored in QModelIndex objects.

The problem is fixed by forcefully syncing the node manipulation
signals to non-recursive event processing using a new
KisSynchronizedConnection class. See documentation in it for details.

M  +1-0libs/global/CMakeLists.txt
A  +71   -0libs/global/KisMpl.h [License: GPL(v2.0+)]
A  +71   -0libs/global/KisSynchronizedConnection.cpp [License:
GPL(v2.0+)]
A  +214  -0libs/global/KisSynchronizedConnection.h [License:
GPL(v2.0+)]
M  +73   -1libs/ui/KisApplication.cpp
M  +17   -12   libs/ui/flake/kis_dummies_facade_base.cpp
M  +0-4libs/ui/flake/kis_dummies_facade_base.h
M  +5-1libs/ui/kis_node_manager.cpp

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

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

[krita] [Bug 444516] Crash while painting

2021-11-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #34 from Dmitry Kazakov  ---
Git commit 210f8c85cb42c0bb64496635d842aaf18870a0b9 by Dmitry Kazakov.
Committed on 19/11/2021 at 11:59.
Pushed by dkazakov into branch 'master'.

Make sure that image-connections in KisView are synchronized

M  +9-18   libs/ui/KisView.cpp
M  +0-4libs/ui/KisView.h

https://invent.kde.org/graphics/krita/commit/210f8c85cb42c0bb64496635d842aaf18870a0b9

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

[krita] [Bug 444516] Crash while painting

2021-11-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

Dmitry Kazakov  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/commit/f3128cdb8
   ||c6e50f92b5dc7599c4118c3660f
   ||ced0

--- Comment #33 from Dmitry Kazakov  ---
Git commit f3128cdb8c6e50f92b5dc7599c4118c3660fced0 by Dmitry Kazakov.
Committed on 19/11/2021 at 11:59.
Pushed by dkazakov into branch 'master'.

Fix random memory corruptions when manipulating layers too quickly

It turned out, when the user switches visibility of a layer,
the event loop can be entered recursively (due to KisBusyWaitBroker),
it could lead to memory corruptions due to the broken pointers
to KisNodeDummy stored in QModelIndex objects.

The problem is fixed by forcefully syncing the node manipulation
signals to non-recursive event processing using a new
KisSynchronizedConnection class. See documentation in it for details.

M  +1-0libs/global/CMakeLists.txt
A  +71   -0libs/global/KisMpl.h [License: GPL(v2.0+)]
A  +71   -0libs/global/KisSynchronizedConnection.cpp [License:
GPL(v2.0+)]
A  +214  -0libs/global/KisSynchronizedConnection.h [License:
GPL(v2.0+)]
M  +73   -1libs/ui/KisApplication.cpp
M  +17   -12   libs/ui/flake/kis_dummies_facade_base.cpp
M  +0-4libs/ui/flake/kis_dummies_facade_base.h
M  +5-1libs/ui/kis_node_manager.cpp

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

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #32 from David REVOY  ---
I just had another crash with ASAN, but with a much shorter output, I'll paste
it here directly:

This one was obtained while 'airbrushing' an area to silhouette a character.

 ~/sources/krita »»» ./krita-5.1.0-prealpha-4807d9c-ASAN-x86_64.appimage
KoColor debug runtime checks are active.
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
QObject::startTimer: Timers cannot have negative intervals
/tmp/.mount_krita-w7SaLX/usr/lib/krita-python-libs/krita added to PYTHONPATH
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Shortcut for action  "isolate_active_layer" " Active Layer" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
WARNING: KisResourceLocator::loadRequiredResources failed to sanity check the
embedded resource:
 parent resource: KoResourceSignature("paintoppresets", "",
"f)_Soft_Rounded_Slightly_Textured.kpp", "f) Soft Rounded Slightly Textured")
 embedded resource: KoResourceSignature("patterns",
"60d910f9257210a55a5923ff11755d21",
"4-paper-soft-grain_testdark-black55.png.pat",
"4-paper-soft-grain_testdark-black55.png")
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
SAFE ASSERT (krita): "m_deselectedMask->active()" in file
/home/appimage/persistent/krita/libs/image/commands/KisDeselectActiveSelectionCommand.cpp,
line 35
AddressSanitizer:DEADLYSIGNAL
=
==9201==ERROR: AddressSanitizer: SEGV on unknown address 0x (pc
0x7f4aaed03fe7 bp 0x7f4aafccbdc0 sp 0x7ffca9295c10 T0)
==9201==The signal is caused by a READ memory access.
==9201==Hint: address points to the zero page.
#0 0x7f4aaed03fe6 in QMetaObject::cast(QObject const*) const
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x290fe6)
#1 0x7f4aaf93eba8 in QMdiArea::eventFilter(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Widgets.so.5+0x2c2ba8)
#2 0x7f4aaecfa0ec in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x2870ec)
#3 0x7f4aaf7de917 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Widgets.so.5+0x162917)
#4 0x7f4aaf7e5f1f in QApplication::notify(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Widgets.so.5+0x169f1f)
#5 0x7f4abc4db8c0 in KisApplication::notify(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libkritaui.so.18+0x1a148c0)
#6 0x7f4aaecfa4a7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x2874a7)
#7 0x7f4aaecfd159 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x28a159)
#8 0x7f4aaed541e2 
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x2e11e2)
#9 0x7f4aac56517c in g_main_context_dispatch
(/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5217c)
#10 0x7f4aac5653ff  (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x523ff)
#11 0x7f4aac5654a2 in g_main_context_iteration
(/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x524a2)
#12 0x7f4aaed537ce in
QEventDispatcherGlib::processEvents(QFlags)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x2e07ce)
#13 0x7f4aaecf8a39 in
QEventLoop::exec(QFlags)
(/tmp/.mount_krita-w7SaLX/usr/bin/../lib/libQt5Core.so.5+0x285a39)
#14 0x7f4aaed017b3 in QCoreApplication::exec()

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #31 from David REVOY  ---
Argh  Good luck with it.
I'll continue here to test with the ASAN appimage build in case I can get more
crashes output with different causes.

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #30 from Dmitry Kazakov  ---
Hi, David!

Thanks for confirmation! :)

Now it is "just" left to fix this bug... which is actually deep in the design
of Krita internals :(

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #29 from David REVOY  ---
Hey Dmitry! 

> Perhaps you changed visibility of some layer and then pressed Ctrl+E to merge 
> them?

BINGO!  I think you found something I do very often, and I think I made a big
cleaning on the layer stack before the last crash, so it is very likely it's
the origin of the crash :-) 

Workflow note: I usually try to improve my paintings by duplicating the layer
I'm working on, and then −after painting a bit− I compare with layer under
(visibility) before merging down (if the change looks good). That's a bit my
'create branch' + 'merge to master' system in layer stack. And I *really* do
that all the time, like every 10 min over all the days.

Reproducability: I tried to reproduce the steps on a new file then on a heavy
comic page, but I couldn't trigger the crash here. Maybe I did the step
wrongly. 

Thank you for investigating this crash.

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #28 from Dmitry Kazakov  ---
Correction, you should click on "layer 1", while "layer 2" is selected.

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #27 from Dmitry Kazakov  ---
I can reproduce this ASAN crash with the following steps:

1) Create to layers, "layer 1" and "layer 2". "layer 2" is above "layer 1"
2) Start clicking on visibility button of "layer 2" in non-stop mode
3) At the same time press Ctrl+E shortcut

Now we just need to confirm that David did somewhat the same steps as I do :)

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

[krita] [Bug 444516] Crash while painting

2021-11-17 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #26 from Dmitry Kazakov  ---
Hi, David!

The backtrace shows that the problem happened when you tried to switch a
visibility (or some other) property of the layer that has been removed (right
before or after that). Do you remember doing something like that? Perhaps you
changed visibility of some layer and then pressed Ctrl+E to merge them?

PS:
This seemingly unrelated issue can really be a cause of the original "crash on
painting" problem, because without ASAN it would corrupt the memory.

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

[krita] [Bug 444516] Crash while painting

2021-11-16 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #25 from David REVOY  ---
Created attachment 143646
  --> https://bugs.kde.org/attachment.cgi?id=143646=edit
Backtrace with ASAN build

Thanks for the appimage @dmitryk, as I told on IRC; this one is not comfortable
to use: glitch with refresh of layers within groups, performances are slow, no
GMIC, and I noticed also my KPL palettes unable to load. Hard to keep it in
production but I do the effort :-P 

Anyway: I could reproduce a crash after probably 8h painting and save the
terminal output, I attached it here. I hope I caught a good fish :-)

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

[krita] [Bug 444516] Crash while painting

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

--- Comment #24 from Dmitry Kazakov  ---
I'm sorry, the package is okay, you can test it :)

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

[krita] [Bug 444516] Crash while painting

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

--- Comment #23 from Dmitry Kazakov  ---
Hi, David!

I'm not sure this AppImage actually has ASAN debugging, please don't spend time
on that until further clearance.

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

[krita] [Bug 444516] Crash while painting

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

--- Comment #22 from Dmitry Kazakov  ---
Hi, David!

Could you please try to reproduce this test with this AppImage?

https://disk.yandex.ru/d/1qQgbrSt8vBmGw

This AppImage has ASAN checks enabled, it means it will crash as soon as any
invalid memory access happens. It will dump the report into the terminal.

Short instructions:

1) Run it in terminal, that is were it will dump the log
2) Do **not** run it under GDB, it has everything embedded into the package
3) When it crashes, copy the log that it dumps into the terminal

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

[krita] [Bug 444516] Crash while painting

2021-11-15 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #21 from Dmitry Kazakov  ---
Hm.. the crash logs look really weird. Here is what I can tell from inspecting
them:

1) "Still unsignalled after processed 129 tiles" should not be related to the
crash. It is just a debug notification, we should probably hide it from the
release.
2) The crash happens in the GUI thread, most probably, due to a memory
corruption (see fluctuations between SIGSEGV and SIGBUS)
3) This memory corruption happens long before the actual crash
4) In at least 4 crashes of 12, the worker tread has been working on ending the
stroke (destroying the brushes and superseded undo commands). That might be
related actually.

I will make a build with ASAN, so David could catch then actual memory
corruption :)

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

[krita] [Bug 444516] Crash while painting

2021-11-15 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #20 from David REVOY  ---
Created attachment 143607
  --> https://bugs.kde.org/attachment.cgi?id=143607=edit
Krita log + command line log

Hey, so I got the crash again and could catch the Krita log and what happened
in the command line (in attachement). 
In short; I had:
   Still unsignalled after processed 129 tiles
   increased number of buffers to 256
   Bus error
Not really useful, I guess.

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

[krita] [Bug 444516] Crash while painting

2021-11-14 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #19 from David REVOY  ---
Hey @Tiar, ok, I'll add the .gdbinit option and see what info I can fish this
way. I'll continue the investigation!  :-) Thanks.

About the frequency; I get here the crash daily in general, or twice. But I'm
also spending more than 14h each day painting (I'll release beta of
Pepper ep36 next week, a massive15 pages episode that end book 4. I
entered in "pre-color" this week, all was penciled, inked,etc... ).

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

[krita] [Bug 444516] Crash while painting

2021-11-13 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=444516

Tiar  changed:

   What|Removed |Added

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

--- Comment #18 from Tiar  ---
@David, to get a more useful console output, please create a file called
`.gdbinit` in your home directory with this line:
`set print thread-events off`
It will remove all those annoying `[New Thread 0x7fff2a37a700 (LWP 284671)]`
and leave just things either Krita or Qt print out, mostly warnings or some
config info. It also shows all asserts and safe asserts.
Safe asserts might also appear in Help -> Show Krita log for bug reports, can
you please check it? You probably should scroll to the very bottom.
---

`Still unsignalled after processed 129 tiles` that actually sounds worrying,
maybe @Dmitry will know what's up with that. 
That line was added only recently, two months ago, in this commit: 
https://invent.kde.org/graphics/krita/-/commit/191e0da9d2a4770f996b89f8e657eef90a79e207
> Proof of concept implementation of multibuffered tile uploading

---
Since it's related to OpenGL, @David does the crash happen every time you
paint, or maybe so often that you'd notice if it doesn't crash? If so, can you
please try 1) without "Use Texture Buffer" in Display -> Canvas Acceleration;
and 2) without Graphics Acceleration altogether, and see if it crashes then as
well?

I'm assigning Dmitry, thoush maybe someone else, like Amyspark or Ivanyossi,
could help too.

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

[krita] [Bug 444516] Crash while painting

2021-11-13 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #17 from David REVOY  ---
I got a crash with a command line only session (no gdb), here is what the full
session prints: 

===

 ~/sources/krita »»» ./krita-5.0.0-beta2-188e619-x86_64.appimage
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
QObject::startTimer: Timers cannot have negative intervals
[RESOURCE] Name: "1. Foreground to Transparent" Version: 0 Filename:
"Foreground to Transparent.svg" MD5: "dd40e1119cf9940cac147d1c07bf69ef" Type:
QPair("gradients","stop_gradients") Valid: true Storage: "memory"
/tmp/.mount_krita-ppP0RH/usr/lib/krita-python-libs/krita added to PYTHONPATH
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Shortcut for action  "isolate_active_layer" " Active Layer" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
[gmic_krita-plugin_qt]./error/ ~GmicProcessor(): There are 1 unfinished filter
threads.
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
[gmic_krita-plugin_qt]./error/ ~GmicProcessor(): There are 1 unfinished filter
threads.
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 

[krita] [Bug 444516] Crash while painting

2021-11-12 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #16 from David REVOY  ---
Created attachment 143486
  --> https://bugs.kde.org/attachment.cgi?id=143486=edit
Another crash while painting (backtrace+info register)

Hey, I paste another one I had a minute ago. The content looks a bit different.

@halla: On the command line, all I see is: 

[Thread 0x7ffec6ffc700 (LWP 72734) exited]
[New Thread 0x7ffec6ffc700 (LWP 72742)]
[Thread 0x7ffec6ffc700 (LWP 72742) exited]
[New Thread 0x7ffec6ffc700 (LWP 72743)]
[Thread 0x7ffec6ffc700 (LWP 72743) exited]
[New Thread 0x7ffec6ffc700 (LWP 72744)]
[New Thread 0x7ffee32b9700 (LWP 72745)]
[New Thread 0x7fff075ff700 (LWP 72746)]
[New Thread 0x7ffee0db6700 (LWP 72747)]
[New Thread 0x7fff06dfe700 (LWP 72748)]
[New Thread 0x7fff05fff700 (LWP 72749)]
[New Thread 0x7fff057fe700 (LWP 72750)]
[New Thread 0x7ffee2ab8700 (LWP 72751)]
[New Thread 0x7ffee22b7700 (LWP 72752)]
[New Thread 0x7ffec77fd700 (LWP 72753)]
[New Thread 0x7ffec67fb700 (LWP 72754)]
[New Thread 0x7ffec57f9700 (LWP 72755)]
[New Thread 0x7ffec4ff8700 (LWP 72756)]
[New Thread 0x7ffe85ffc700 (LWP 72757)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x7fff000b7cd0 in ?? ()
(gdb)

And without GDB, not more information ; here is under a long session, no crash
on this one running the appimage from the command line:

~/sources/krita »»» ./krita-5.0.0-beta2-188e619-x86_64.appimage
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
QObject::startTimer: Timers cannot have negative intervals
[RESOURCE] Name: "1. Foreground to Transparent" Version: 0 Filename:
"Foreground to Transparent.svg" MD5: "b5e1dff7aea49717c7ddf18b686a82c3" Type:
QPair("gradients","stop_gradients") Valid: true Storage: "memory"
/tmp/.mount_krita-wSNSiA/usr/lib/krita-python-libs/krita added to PYTHONPATH
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Shortcut for action  "isolate_active_layer" " Active Layer" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles
increased number of buffers to 128
Still unsignalled after processed 129 tiles
increased number of buffers to 256
Still unsignalled after processed 17 tiles
increased number of buffers to 32
Still unsignalled after processed 33 tiles
increased number of buffers to 64
Still unsignalled after processed 65 tiles

[krita] [Bug 444516] Crash while painting

2021-11-10 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=444516

Halla Rempt  changed:

   What|Removed |Added

 CC||ha...@valdyas.org

--- Comment #15 from Halla Rempt  ---
Is there any output visible on the command line?

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

[krita] [Bug 444516] Crash while painting

2021-11-09 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #14 from David REVOY  ---
Created attachment 143392
  --> https://bugs.kde.org/attachment.cgi?id=143392=edit
Another crash while painting (backtrace+disassemble+info register)

Here is another crash report while painting (I was just filling with brush
shapes, same task since hours).  This time I caught succesfully the disassemble
+ info register (in attachement).

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

[krita] [Bug 444516] Crash while painting

2021-11-08 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #13 from David REVOY  ---
Created attachment 143332
  --> https://bugs.kde.org/attachment.cgi?id=143332=edit
A crash while painting backtrace

Hey, thanks @sh_zam for the tips. I attached a new backtrace here with the
(gdb) command adviced, I hope it will help.

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

[krita] [Bug 444516] Crash while painting

2021-11-08 Thread sh_zam
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #12 from sh_zam  ---
Hi David!

Looks like this crash needs some manual intervention in the gdb to narrow down
the area to debug.

Here’s what I’d do if Krita crashed, to get some insight. It may or may not
help much…

Inside gdb:

(gdb) info registers   # to get info about the state
(gdb) set pagination off   # to print everything without stopping
(gdb) disassemble  # print disassembly of the frame

Note: It is possible that the disassemble output may be way too much, in that
case you may find it convenient to attach it as a file instead :)

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

[krita] [Bug 444516] Crash while painting

2021-11-04 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #11 from David REVOY  ---
@tiar: All the crashes backtrace here are really happening in middle of stroke
of brush with the freehand brush tool. (while penciling or inking). 

I do selection rarely when repositioning things with the transform tool (but
this is happening more at storyboard time); in this case I manage all by
keyboard (a key for the lasso or rectangular tool, Ctrl+T for the transform,
Enter to bake the result, deselect and B to repaint). But I never had a crash
within this type of sequence. 

I also rarely undo while penciling or inking. I use a slot of the Ten Brush
plugin binded to an eraser preset; and I pencil or ink with a preset and toggle
switch with this shortcut to an eraser when I need to clean.  I rarely stop
when a line is bad; I just trace the good one next to it, and switch to eraser
later in the process to do a mass cleaning of "wrong lines". It saves time. 
I'm on 15 pages episode with 84 panels doing similar workflow over and over :-)
I'm inking page 9 right now. 

Fortunately, autosave is doing a good job and I rarely loose more than 3
minutes.

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

[krita] [Bug 444516] Crash while painting

2021-11-04 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #10 from Tiar  ---
Hmm, maybe it was a Global Selection Mask, then? (It doesn't need to show on
the Layer stack, it's hidden by default, but it is there if you have anything
selected). Maybe you were editing a selection and undoing?... How do you
usually change selections?

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

[krita] [Bug 444516] Crash while painting

2021-11-04 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #9 from David REVOY  ---
A new crash while painting (no mask, no undo, just drawing on regular
paint-layer). I'm copying here only the irregular thread output, it will be
shorter and probably better:

===

[New Thread 0x7fff06ffe700 (LWP 95085)]
[New Thread 0x7fff2ae79700 (LWP 95086)]
[New Thread 0x7fff2a678700 (LWP 95087)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x75d958f8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Widgets.so.5
(gdb) thread apply all bt

Thread 1599 (Thread 0x7fff2a678700 (LWP 95087)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x9bc2d04) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x9bc2cb0,
cond=0x9bc2cd8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x9bc2cd8, mutex=0x9bc2cb0) at
pthread_cond_wait.c:638
#3  0x750e0ddb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#4  0x750e1129 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#5  0x750db374 in QReadWriteLock::tryLockForRead(int) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#6  0x750db426 in QReadWriteLock::lockForRead() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#7  0x76e1ab76 in
KisPaintLayer::copyOriginalToProjection(KisSharedPtr,
KisSharedPtr, QRect const&) const () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17 
#8  0x76da03b4 in KisLayer::applyMasks(KisSharedPtr,
KisSharedPtr, QRect const&, KisSharedPtr,
KisSharedPtr) const () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17 
#9  0x76da10d7 in KisLayer::updateProjection(QRect const&,
KisSharedPtr) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#10 0x76da4fc8 in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#11 0x76d49b67 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
() from /tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#12 0x76c0a71d in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#13 0x750dd877 in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#14 0x750d942e in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libQt5Core.so.5
#15 0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#16 0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1598 (Thread 0x7fff2ae79700 (LWP 95086)):
#0  0x76c2290e in
KisMementoManager::resetRevisionHistory(QList >)
() from /tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#1  0x76c24cec in
KisMementoManager::purgeHistory(KisSharedPtr) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#2  0x76e3cd96 in KisTransactionData::~KisTransactionData() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#3  0x76e3d019 in KisTransactionData::~KisTransactionData() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#4  0x7235a360 in KUndo2QStack::clear() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#5  0x7235a53b in KUndo2QStack::~KUndo2QStack() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#6  0x77b12557 in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaui.so.17
#7  0x72360e61 in KisSurrogateUndoStore::~KisSurrogateUndoStore() ()
from /tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#8  0x72360e79 in KisSurrogateUndoStore::~KisSurrogateUndoStore() ()
from /tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#9  0x76e5cf91 in KisSurrogateUndoAdapter::~KisSurrogateUndoAdapter()
() from /tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#10 0x76c86e5c in ?? () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#11 0x76c84a4d in KisSavedMacroCommand::~KisSavedMacroCommand() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#12 0x76c84a79 in KisSavedMacroCommand::~KisSavedMacroCommand() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#13 0x7235a1e6 in KUndo2QStack::checkUndoLimit() () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#14 0x7235d0a7 in KUndo2QStack::push(KUndo2Command*) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritacommand.so.17
#15 0x76e5d9b3 in
KisPostExecutionUndoAdapter::addCommand(QSharedPointer) () from
/tmp/.mount_krita-hdj247/usr/bin/../lib/libkritaimage.so.17
#16 0x76c43dc6 in

[krita] [Bug 444516] Crash while painting

2021-11-04 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #8 from David REVOY  ---
> Could you please try painting without masks, if it's possible (to see if it 
> will still crash so often)?

@Tiar: Mmm, my layer stacks on my comic pages doesn't contain any masks. I have
a vector layer (on top for the panel, just rectangle filled with white), and I
also have a File Layer on top that display an external PNG export of the
speechbubbles/txt done with Inkscape. Execpt that, I have a root group layer /,
and usual paint-layer.

I'll keep an eyes on the layer stack if I have new crashes in the middle of
drawing.

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

[krita] [Bug 444516] Crash while painting

2021-11-03 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=444516

Tiar  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||tamtamy.tym...@gmail.com
   Keywords||regression, release_blocker

--- Comment #7 from Tiar  ---
What I noticed is "copyOriginalToProjection" and "applyMasks". @David can you
please tell what kind of masks are you using? Could you please try painting
without masks, if it's possible (to see if it will still crash so often)?

Also it mentions undo, It looks a bit as if one thread tried to lock the
painting because it's undoing stuff, and another thread tries to lock the
painting because it's trying to apply the mask. Can you please say if it's
possible that the crash happens when you undo while painting on a mask?

I wonder if it wouldn't be Emmet & Eoin's regression because they were playing
with the order of writing stuff in and out because of changes in animation.

PS. @David, if you report something important, like a crash that happens often,
something we couldn't possibly release Krita with, please add "regression" (if
it's a regression) and "release_blocker" keywords (if you can. If you can't,
I'll talk to halla if you couldn't have higher permissions). Otherwise it might
get lost/forgotten :/ If you make a mistake and the bug is not as important,
that's not a problem, someone can change it back. But if something important is
forgotten, that's a more serious issue.

Also I'm confirming because there is plenty of backtraces here.

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

[krita] [Bug 444516] Crash while painting

2021-11-03 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #6 from David REVOY  ---
A new one , where one paragraph being way larger than other:

[New Thread 0x7ffef76f3700 (LWP 40867)]
[New Thread 0x7fff26bfd700 (LWP 40868)]
[New Thread 0x7fff273fe700 (LWP 40869)]
[New Thread 0x7fff493b3700 (LWP 40870)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x16339ad0 in ?? ()
(gdb) thread apply all bt

Thread 14298 (Thread 0x7fff493b3700 (LWP 40870)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff493b2ba0, clockid=, expected=0,
futex_word=0x7ffed802a230) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff493b2ba0, clockid=, mutex=0x7ffed802a1e0, cond=0x7ffed802a208) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffed802a208, mutex=0x7ffed802a1e0,
abstime=0x7fff493b2ba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14297 (Thread 0x7fff273fe700 (LWP 40869)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0xa40aa64) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xa40aa10,
cond=0xa40aa38) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0xa40aa38, mutex=0xa40aa10) at
pthread_cond_wait.c:638
#3  0x750e0ddb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#4  0x750e1129 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#5  0x750db374 in QReadWriteLock::tryLockForRead(int) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#6  0x750db426 in QReadWriteLock::lockForRead() () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#7  0x76e1ab76 in
KisPaintLayer::copyOriginalToProjection(KisSharedPtr,
KisSharedPtr, QRect const&) const () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17 
#8  0x76da03b4 in KisLayer::applyMasks(KisSharedPtr,
KisSharedPtr, QRect const&, KisSharedPtr,
KisSharedPtr) const () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17 
#9  0x76da10d7 in KisLayer::updateProjection(QRect const&,
KisSharedPtr) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17
#10 0x76da4fc8 in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17
#11 0x76d49b67 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
() from /tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17
#12 0x76c0a71d in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libkritaimage.so.17
#13 0x750dd877 in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#14 0x750d942e in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#15 0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#16 0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14296 (Thread 0x7fff26bfd700 (LWP 40868)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff26bfcba0, clockid=, expected=0,
futex_word=0x7ffed9986814) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff26bfcba0, clockid=, mutex=0x7ffed99867c0, cond=0x7ffed99867e8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffed99867e8, mutex=0x7ffed99867c0,
abstime=0x7fff26bfcba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-1jqc0Z/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14295 (Thread 0x7ffef76f3700 (LWP 40867)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0xa40a8a4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, 

[krita] [Bug 444516] Crash while painting

2021-11-01 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #5 from David REVOY  ---
A new one: 
=


[Thread 0x7fff1f5ff700 (LWP 22155) exited]
[Thread 0x7ffef77fe700 (LWP 22152) exited]
[Thread 0x7ffeff7fe700 (LWP 22161) exited]
[Thread 0x7fff1edfe700 (LWP 22156) exited]
[Thread 0x7fff39b2e700 (LWP 22151) exited]
[Thread 0x7fff1ddfc700 (LWP 22158) exited]
[Thread 0x7ffefccb5700 (LWP 22153) exited]
[Thread 0x7ffef700 (LWP 22160) exited]
[Thread 0x7ffefeffd700 (LWP 22162) exited]
[Thread 0x7ffef7fff700 (LWP 22164) exited]
[Thread 0x7fff1e5fd700 (LWP 22157) exited]
[Thread 0x7ffefdffb700 (LWP 22163) exited]
[Thread 0x7ffecdffe700 (LWP 22165) exited]
[Thread 0x7fff3a72f700 (LWP 22154) exited]
[New Thread 0x7fff3a72f700 (LWP 22167)]
[New Thread 0x7ffecdffe700 (LWP 22168)]
[New Thread 0x7ffefdffb700 (LWP 22169)]
[New Thread 0x7fff1e5fd700 (LWP 22170)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x7fff4c055880 in ?? ()
(gdb) thread apply all bt

Thread 12348 (Thread 0x7fff1e5fd700 (LWP 22170)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff1e5fcba0, clockid=, expected=0,
futex_word=0x7fff20091584) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff1e5fcba0, clockid=, mutex=0x7fff20091530, cond=0x7fff20091558) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fff20091558, mutex=0x7fff20091530,
abstime=0x7fff1e5fcba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12347 (Thread 0x7ffefdffb700 (LWP 22169)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7ffefdffaba0, clockid=, expected=0,
futex_word=0x7fff20693464) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ffefdffaba0, clockid=, mutex=0x7fff20693410, cond=0x7fff20693438) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fff20693438, mutex=0x7fff20693410,
abstime=0x7ffefdffaba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12346 (Thread 0x7ffecdffe700 (LWP 22168)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7ffecdffdba0, clockid=, expected=0,
futex_word=0x7fff20254ce4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ffecdffdba0, clockid=, mutex=0x7fff20254c90, cond=0x7fff20254cb8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fff20254cb8, mutex=0x7fff20254c90,
abstime=0x7ffecdffdba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12345 (Thread 0x7fff3a72f700 (LWP 22167)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff3a72eba0, clockid=, expected=0,
futex_word=0xa836f10) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff3a72eba0, clockid=, mutex=0xa836ec0, cond=0xa836ee8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0xa836ee8, mutex=0xa836ec0,
abstime=0x7fff3a72eba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-Pat0ld/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from

[krita] [Bug 444516] Crash while painting

2021-10-31 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #4 from David REVOY  ---
A fresh new one :)
===

[New Thread 0x7fff27fff700 (LWP 101154)]
[New Thread 0x7ffe6b1fe700 (LWP 101155)]
[Thread 0x7fff27fff700 (LWP 101154) exited]
[Thread 0x7ffe6b1fe700 (LWP 101155) exited]
[New Thread 0x7ffe6b1fe700 (LWP 101156)]
[New Thread 0x7fff27fff700 (LWP 101157)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x7ffd5c042910 in ?? ()
(gdb) thread apply all bt

Thread 70819 (Thread 0x7fff27fff700 (LWP 101157)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff27ffeba0, clockid=, expected=0,
futex_word=0x7ffcb00734e0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff27ffeba0, clockid=, mutex=0x7ffcb0073490, cond=0x7ffcb00734b8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffcb00734b8, mutex=0x7ffcb0073490,
abstime=0x7fff27ffeba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 70818 (Thread 0x7ffe6b1fe700 (LWP 101156)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7ffe6b1fdba0, clockid=, expected=0,
futex_word=0x18f90f04) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ffe6b1fdba0, clockid=, mutex=0x18f90eb0, cond=0x18f90ed8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x18f90ed8, mutex=0x18f90eb0,
abstime=0x7ffe6b1fdba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-bP5IJZ/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 176 (Thread 0x7ffe30fef700 (LWP 4812)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x13c0b754) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x13c0b700,
cond=0x13c0b728) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x13c0b728, mutex=0x13c0b700) at
pthread_cond_wait.c:638
#3  0x7fffe629be7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x7fffe629ba7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#6  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 160 (Thread 0x7ffe6a7fc700 (LWP 4796)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x1a8af480) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x1a8af430,
cond=0x1a8af458) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x1a8af458, mutex=0x1a8af430) at
pthread_cond_wait.c:638
#3  0x7fffe629be7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x7fffe629ba7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#6  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 159 (Thread 0x7ffe827e8700 (LWP 4795)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x188434f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x188434a0,
cond=0x188434c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x188434c8, mutex=0x188434a0) at
pthread_cond_wait.c:638
#3  0x7fffe629be7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x7fffe629ba7b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#6  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 121 (Thread 0x7ffef2f8a700 (LWP 4757)):
#0  0x74d34aff in __GI___poll (fds=0x7ffee80029e0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7fffee98f36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  

[krita] [Bug 444516] Crash while painting

2021-10-29 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #3 from David REVOY  ---
Hi @Sh_Zam, thanks for having a look.

As I continue to get crash, I'll continue to paste them here, maybe the
backtrace of one will be a bit more talkative than previous ones. Here the one
I just get while drawing:

[New Thread 0x7fff0a7fc700 (LWP 44350)]
[New Thread 0x7fff0bfff700 (LWP 44351)]
[New Thread 0x7fff2d7ce700 (LWP 44352)]
[New Thread 0x7fff2fdff700 (LWP 44353)]
[New Thread 0x7fff2f5fe700 (LWP 44354)]
[Thread 0x7fff2f5fe700 (LWP 44354) exited]
[Thread 0x7fff2d7ce700 (LWP 44352) exited]
[Thread 0x7fff0bfff700 (LWP 44351) exited]
[Thread 0x7fff0a7fc700 (LWP 44350) exited]
[Thread 0x7fff2fdff700 (LWP 44353) exited]
[New Thread 0x7fff2fdff700 (LWP 44355)]
[New Thread 0x7fff0a7fc700 (LWP 44356)]
[New Thread 0x7fff2d7ce700 (LWP 44357)]
[New Thread 0x7fff0bfff700 (LWP 44358)]
[New Thread 0x7fff2f5fe700 (LWP 44359)]
[New Thread 0x7fff0b7fe700 (LWP 44360)]
[New Thread 0x7fff0affd700 (LWP 44361)]
[New Thread 0x7fff09ffb700 (LWP 44362)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x7ffeb4f4f0f0 in ?? ()
(gdb) thread apply all bt

Thread 29956 (Thread 0x7fff09ffb700 (LWP 44362)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x934f510) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x934f4c0,
cond=0x934f4e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x934f4e8, mutex=0x934f4c0) at
pthread_cond_wait.c:638
#3  0x750e0ddb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#4  0x750e1129 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#5  0x750db374 in QReadWriteLock::tryLockForRead(int) () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#6  0x750db426 in QReadWriteLock::lockForRead() () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#7  0x76e1ab76 in
KisPaintLayer::copyOriginalToProjection(KisSharedPtr,
KisSharedPtr, QRect const&) const () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17 
#8  0x76da03b4 in KisLayer::applyMasks(KisSharedPtr,
KisSharedPtr, QRect const&, KisSharedPtr,
KisSharedPtr) const () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17 
#9  0x76da10d7 in KisLayer::updateProjection(QRect const&,
KisSharedPtr) () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17
#10 0x76da4fc8 in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17
#11 0x76d49b67 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
() from /tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17
#12 0x76c0a71d in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17
#13 0x750dd877 in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#14 0x750d942e in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#15 0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#16 0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 29955 (Thread 0x7fff0affd700 (LWP 44361)):
#0  0x750e0a12 in QWaitCondition::wakeAll() () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#1  0x750dbf74 in QReadWriteLock::unlock() () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#2  0x76da4d2c in
KisIndirectPaintingSupport::mergeToLayer(KisSharedPtr,
KisPostExecutionUndoAdapter*, KUndo2MagicString const&, int) () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17 
#3  0x77936ee4 in KisPainterBasedStrokeStrategy::finishStrokeCallback()
() from /tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaui.so.17
#4  0x76c0a5b4 in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libkritaimage.so.17
#5  0x750dd877 in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-tOez02/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 29954 (Thread 0x7fff0b7fe700 (LWP 44360)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff0b7fdba0, clockid=, expected=0,
futex_word=0x7ffeec0d7c10) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff0b7fdba0, clockid=, mutex=0x7ffeec0d7bc0, cond=0x7ffeec0d7be8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffeec0d7be8, mutex=0x7ffeec0d7bc0,
abstime=0x7fff0b7fdba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from

[krita] [Bug 444516] Crash while painting

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

sh_zam  changed:

   What|Removed |Added

 CC||sh...@sdf.org
   Keywords||triaged

--- Comment #2 from sh_zam  ---
Hi!

The crash in both cases seem to happen inside Qt, which sadly doesn't give any
idea what might be the reason :(

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

[krita] [Bug 444516] Crash while painting

2021-10-28 Thread David REVOY
https://bugs.kde.org/show_bug.cgi?id=444516

--- Comment #1 from David REVOY  ---
Another random one, in the middle of inking a line:

[New Thread 0x7fff2bbff700 (LWP 32912)]
[New Thread 0x7fff0bfff700 (LWP 32913)]
[New Thread 0x7fff2b3fe700 (LWP 32914)]
[New Thread 0x7fff28ecc700 (LWP 32915)]
[New Thread 0x7fff0a4ce700 (LWP 32916)]
[New Thread 0x7fff09ccd700 (LWP 32917)]
--Type  for more, q to quit, c to continue without paging--

Thread 1 "AppRun" received signal SIGBUS, Bus error.
0x752b8434 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
(gdb) thread apply all bt

Thread 21135 (Thread 0x7fff09ccd700 (LWP 32917)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff09cccba0, clockid=, expected=0,
futex_word=0x7fff0c8570e4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff09cccba0, clockid=, mutex=0x7fff0c857090, cond=0x7fff0c8570b8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fff0c8570b8, mutex=0x7fff0c857090,
abstime=0x7fff09cccba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21134 (Thread 0x7fff0a4ce700 (LWP 32916)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff0a4cdba0, clockid=, expected=0,
futex_word=0x7fff0c890a80) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff0a4cdba0, clockid=, mutex=0x7fff0c890a30, cond=0x7fff0c890a58) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fff0c890a58, mutex=0x7fff0c890a30,
abstime=0x7fff0a4cdba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21133 (Thread 0x7fff28ecc700 (LWP 32915)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff28ecbba0, clockid=, expected=0,
futex_word=0x7ffe4809b500) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff28ecbba0, clockid=, mutex=0x7ffe4809b4b0, cond=0x7ffe4809b4d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffe4809b4d8, mutex=0x7ffe4809b4b0,
abstime=0x7fff28ecbba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21132 (Thread 0x7fff2b3fe700 (LWP 32914)):
#0  futex_abstimed_wait_cancelable (private=,
abstime=0x7fff2b3fdba0, clockid=, expected=0,
futex_word=0x7ffee002fce0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fff2b3fdba0, clockid=, mutex=0x7ffee002fc90, cond=0x7ffee002fcb8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7ffee002fcb8, mutex=0x7ffee002fc90,
abstime=0x7fff2b3fdba0) at pthread_cond_wait.c:656
#3  0x750e0d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#4  0x750e10f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#5  0x750ddb28 in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#6  0x750d942e in ?? () from
/tmp/.mount_krita-l0sJbE/usr/bin/../lib/libQt5Core.so.5
#7  0x7fffef5b1609 in start_thread (arg=) at
pthread_create.c:477
#8  0x74d41293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21131 (Thread