[krita] [Bug 459252] Filter layers crashes on large files

2022-09-20 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

Halla Rempt  changed:

   What|Removed |Added

 CC||intu...@protonmail.com

--- Comment #12 from Halla Rempt  ---
*** Bug 459436 has been marked as a duplicate of this bug. ***

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=459252

Dmitry Kazakov  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/29cb91798 |hics/krita/commit/de6a3701a
   |4e030607d908b40fb63c47003aa |83266130c7b766a6eaef7753ad0
   |5980|2eb6

--- Comment #11 from Dmitry Kazakov  ---
Git commit de6a3701a83266130c7b766a6eaef7753ad02eb6 by Dmitry Kazakov.
Committed on 19/09/2022 at 12:50.
Pushed by dkazakov into branch 'krita/5.1'.

Fix a crash when trying to save an image with a fill layer


(cherry picked from commit 29cb917984e030607d908b40fb63c47003aa5980)

M  +0-2libs/image/kis_selection_based_layer.cpp

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

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-19 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=459252

Dmitry Kazakov  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/commit/29cb91798
   ||4e030607d908b40fb63c47003aa
   ||5980
 Resolution|--- |FIXED

--- Comment #10 from Dmitry Kazakov  ---
Git commit 29cb917984e030607d908b40fb63c47003aa5980 by Dmitry Kazakov.
Committed on 19/09/2022 at 12:50.
Pushed by dkazakov into branch 'master'.

Fix a crash when trying to save an image with a fill layer

M  +0-2libs/image/kis_selection_based_layer.cpp

https://invent.kde.org/graphics/krita/commit/29cb917984e030607d908b40fb63c47003aa5980

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

Halla Rempt  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|WAITINGFORINFO  |---
   Assignee|krita-bugs-n...@kde.org |dimul...@gmail.com
 Status|NEEDSINFO   |ASSIGNED

--- Comment #9 from Halla Rempt  ---
Freya says this is the breaking commit:

https://invent.kde.org/graphics/krita/-/commit/ed757644f27d4f1507b5e8c294b48529545a85cf

Dmitry, please take a look?

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

Halla Rempt  changed:

   What|Removed |Added

 CC||i...@ralek.art

--- Comment #8 from Halla Rempt  ---
*** Bug 459365 has been marked as a duplicate of this bug. ***

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #7 from Halla Rempt  ---
Thanks! I still cannot reproduce this, but I'll discuss this issue during the
meeting tomorrow. Maybe other people have a clue what might be going on...

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Razvan Radulescu
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #6 from Razvan Radulescu  ---
(In reply to Halla Rempt from comment #5)
> Could you type "thread apply 1 bt" in the gdb window to get more of the
> backtrace? I still cannot reproduce this, so it might be worth trying this
> with a clean config/share folder, too. (Make backups, though, of
> .config/krita* and .local/share/krita*.)

So this run is with fresh `~/.config/krita*` & `~/.local/share/krita` files and
folders.

❯ gdb ./krita-5.1.1-4126e6dde4-x86_64.appimage
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./krita-5.1.1-4126e6dde4-x86_64.appimage...
(No debugging symbols found in ./krita-5.1.1-4126e6dde4-x86_64.appimage)
(gdb) r
Starting program:
/home/razcore-rad/Downloads/krita-5.1.1-4126e6dde4-x86_64.appimage 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 141515]
process 141472 is executing new program: /tmp/.mount_krita-kF1Bf2/AppRun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 141472 is executing new program: /tmp/.mount_krita-kF1Bf2/usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe31ff640 (LWP 141522)]
[New Thread 0x7fffe29fe640 (LWP 141523)]
[Thread 0x7fffe31ff640 (LWP 141522) exited]
[New Thread 0x7fffe31ff640 (LWP 141525)]
[Thread 0x7fffe31ff640 (LWP 141525) exited]
[New Thread 0x7fffe31ff640 (LWP 141526)]
[Thread 0x7fffe31ff640 (LWP 141526) exited]
[New Thread 0x7fffe31ff640 (LWP 141527)]
krita.lib.resources: Created table "version_information"
krita.lib.resources: Created table "storage_types"
krita.lib.resources: Created table "resource_types"
krita.lib.resources: Created table "storages"
krita.lib.resources: Created table "tags"
krita.lib.resources: Created table "resources"
krita.lib.resources: Created table "versioned_resources"
krita.lib.resources: Created table "resource_tags"
krita.lib.resources: Created table "metadata"
krita.lib.resources: Created table "tags_storages"
krita.lib.resources: Created table "tag_translations"
krita.lib.resources: Created table "storages"
krita.lib.resources: Created table "versioned_resources"
krita.lib.resources: Created table "tags"
krita.lib.resources: Created table "resources"
krita.lib.resources: Created table "tag_translations"
krita.lib.resources: Created table "resource_tags"
krita.lib.resources: Created table "resources_signature"
krita.lib.resources: Filled lookup table storage_types
krita.lib.resources: Filled lookup table resource_types
krita.lib.resources: Filled version table
[New Thread 0x7fffb31ff640 (LWP 141531)]
QObject::startTimer: Timers cannot have negative intervals
[New Thread 0x7fffb29fe640 (LWP 141532)]
[New Thread 0x7fffb21fd640 (LWP 141533)]
[Thread 0x7fffb29fe640 (LWP 141532) exited]
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
/tmp/.mount_krita-kF1Bf2/usr/lib/krita-python-libs/krita added to PYTHONPATH
[New Thread 0x7fffb29fe640 (LWP 141536)]
[New Thread 0x7fff9a3ff640 (LWP 141537)]
qt.qpa.xkeyboard: QXcbKeyboard::handleKeyEvent: key pressed, but it is already
present in the registry code 64 qtcode 16777251 registered qtcode 16777251
[New Thread 0x7fff9948d640 (LWP 141552)]
[New Thread 0x7fff98c8c640 (LWP 141553)]
[New Thread 0x7fff8bfff640 (LWP 141554)]
[New Thread 0x7fff8b7fe640 (LWP 141555)]
[New Thread 0x7fff8affd640 (LWP 141556)]
[New Thread 0x7fff8a7fc640 (LWP 141557)]
[New Thread 0x7fff89ffb640 (LWP 141558)]
[New Thread 0x7fff897fa640 (LWP 141559)]
[New Thread 0x7fff88ff9640 (LWP 141560)]
[New Thread 0x7fff63fff640 (LWP 141561)]
[New Thread 0x7fff6bfff640 (LWP 141562)]
[New Thread 0x7fff6b7fe640 (LWP 141563)]
[New Thread 0x7fff4bffd640 (LWP 141577)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x767e5220 in KisNode::graphListener() const () from
/tmp/.mount_krita-kF1Bf2/usr/bin/../lib/libkritaimage.so.18
(gdb) thread apply 1 bt

Thread 1 (Thread 0x76338800 (LWP 141472) "krita"):
#0  0x767e5220 in KisNode::graphListener() const () from

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #5 from Halla Rempt  ---
Could you type "thread apply 1 bt" in the gdb window to get more of the
backtrace? I still cannot reproduce this, so it might be worth trying this with
a clean config/share folder, too. (Make backups, though, of .config/krita* and
.local/share/krita*.)

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Razvan Radulescu
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #4 from Razvan Radulescu  ---
I don't know if this helps or not, but this is the run with GDB, I didn't know
it outputs more stuff even with the appimage...

❯ gdb ./krita-5.1.1-4126e6dde4-x86_64.appimage 
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./krita-5.1.1-4126e6dde4-x86_64.appimage...
(No debugging symbols found in ./krita-5.1.1-4126e6dde4-x86_64.appimage)
(gdb) r
Starting program:
/home/razcore-rad/Downloads/krita-5.1.1-4126e6dde4-x86_64.appimage 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 139098]
process 139056 is executing new program: /tmp/.mount_krita-eEYXdU/AppRun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 139056 is executing new program: /tmp/.mount_krita-eEYXdU/usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe31ff640 (LWP 139103)]
[New Thread 0x7fffe29fe640 (LWP 139104)]
[Thread 0x7fffe31ff640 (LWP 139103) exited]
[New Thread 0x7fffe31ff640 (LWP 139106)]
[Thread 0x7fffe31ff640 (LWP 139106) exited]
[New Thread 0x7fffe31ff640 (LWP 139107)]
[Thread 0x7fffe31ff640 (LWP 139107) exited]
[New Thread 0x7fffe31ff640 (LWP 139108)]
[New Thread 0x7fffb31ff640 (LWP 139109)]
QObject::startTimer: Timers cannot have negative intervals
[Detaching after fork from child process 139110]
[New Thread 0x7fffb29fe640 (LWP 139118)]
[New Thread 0x7fffb21fd640 (LWP 139119)]
[Thread 0x7fffb29fe640 (LWP 139118) exited]
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
/tmp/.mount_krita-eEYXdU/usr/lib/krita-python-libs/krita added to PYTHONPATH
[New Thread 0x7fffb29fe640 (LWP 139126)]
[New Thread 0x7fff9a3ff640 (LWP 139127)]
qt.svg: Cannot open file '/:16_dark_tab-close.svg', because: No such file or
directory
qt.svg: Cannot open file '/:16_dark_tab-close.svg', because: No such file or
directory
[New Thread 0x7fff99bfe640 (LWP 139128)]
[New Thread 0x7fff993fd640 (LWP 139129)]
[New Thread 0x7fff8bfff640 (LWP 139130)]
[New Thread 0x7fff8a999640 (LWP 139131)]
[New Thread 0x7fff8b7fe640 (LWP 139139)]
[New Thread 0x7fff8a198640 (LWP 139140)]
[New Thread 0x7fff89997640 (LWP 139141)]
[New Thread 0x7fff89196640 (LWP 139142)]
[New Thread 0x7fff88995640 (LWP 139143)]
[New Thread 0x7fff67fff640 (LWP 139144)]
[New Thread 0x7fff677fe640 (LWP 139145)]
[New Thread 0x7fff66ffd640 (LWP 139146)]
[New Thread 0x7fff667fc640 (LWP 139147)]
[New Thread 0x7fff65ffb640 (LWP 139148)]
[New Thread 0x7fff657fa640 (LWP 139149)]
[New Thread 0x7fff64ff9640 (LWP 139150)]
[New Thread 0x7fff47bff640 (LWP 139168)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x767e5220 in KisNode::graphListener() const () from
/tmp/.mount_krita-eEYXdU/usr/bin/../lib/libkritaimage.so.18

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

Halla Rempt  changed:

   What|Removed |Added

   Platform|Other   |Appimage

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Razvan Radulescu
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #3 from Razvan Radulescu  ---
(In reply to Halla Rempt from comment #1)
> I cannot reproduce a crash. Is this 100% reproducible for you? 
> 
> Do you see any interesting messages about asserts on the terminal if you
> start Krita from there? Do you get a backtrace if you run Krita in GDB?

I use the appimage so I can't get the backlog, it's a bit too much work to
compile it locally. I attached a video with the exact steps and maybe there's
other differences in the new file created by me. I'm not sure. Anyway, yes,
following these steps it crashes 100% of the time on my PC with SIGSEGV.

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-18 Thread Razvan Radulescu
https://bugs.kde.org/show_bug.cgi?id=459252

--- Comment #2 from Razvan Radulescu  ---
Created attachment 152181
  --> https://bugs.kde.org/attachment.cgi?id=152181=edit
Video Steps to Crash

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

[krita] [Bug 459252] Filter layers crashes on large files

2022-09-17 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=459252

Halla Rempt  changed:

   What|Removed |Added

 CC||ha...@valdyas.org
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Halla Rempt  ---
I cannot reproduce a crash. Is this 100% reproducible for you? 

Do you see any interesting messages about asserts on the terminal if you start
Krita from there? Do you get a backtrace if you run Krita in GDB?

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