[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-06-09 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/a72809244 |hics/krita/commit/2832ac86b
   |7bb6fe5923a028b82bcd56ab58f |d5a44ce2ba27918cf893b14e319
   |fcce|5c02

--- Comment #12 from amyspark  ---
Git commit 2832ac86bd5a44ce2ba27918cf893b14e3195c02 by L. E. Segovia.
Committed on 09/06/2022 at 13:46.
Pushed by lsegovia into branch 'krita/5.1'.

libjxl: update to latest 0.7.0 master
(cherry picked from commit a728092447bb6fe5923a028b82bcd56ab58ffcce)

D  +0-32  
3rdparty/ext_jpegxl/0001-Make-gflags-an-IMPORTED-GLOBAL-library.patch
M  +2-33rdparty/ext_jpegxl/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/2832ac86bd5a44ce2ba27918cf893b14e3195c02

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

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

Dmitry Kazakov  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/commit/a72809244
   ||7bb6fe5923a028b82bcd56ab58f
   ||fcce

--- Comment #11 from Dmitry Kazakov  ---
Git commit a728092447bb6fe5923a028b82bcd56ab58ffcce by Dmitry Kazakov, on
behalf of L. E. Segovia.
Committed on 09/06/2022 at 07:23.
Pushed by dkazakov into branch 'master'.

libjxl: update to latest 0.7.0 master

D  +0-32  
3rdparty/ext_jpegxl/0001-Make-gflags-an-IMPORTED-GLOBAL-library.patch
M  +2-33rdparty/ext_jpegxl/CMakeLists.txt

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

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-06-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=453746

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED

--- Comment #10 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/krita/-/merge_requests/1469

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-06-07 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|UPSTREAM|---
   Version Fixed In||5.1.0

--- Comment #9 from amyspark  ---
Fixed in https://github.com/libjxl/libjxl/pull/1481. Reopening for scheduling a
library update.

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-06-07 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

URL|https://github.com/libjxl/l |https://github.com/libjxl/l
   |ibjxl/issues/1424   |ibjxl/pull/1481

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-23 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |UPSTREAM

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-20 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-18 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

--- Comment #8 from amyspark  ---
> I find it a bit concerning that libjxl will assert and abort like this when 
> used as a library. Normally I would expect the library return a failure or 
> throw an exception, rather than bringing down the whole process. Is there 
> anything we can do to make libjxl stop gracefully?

I had thought you were referring to my changes to error logging (see
https://invent.kde.org/graphics/krita/-/blob/master/3rdparty/ext_jpegxl/CMakeLists.txt#L47)
but JXL_ASSERT is definitely *not* enabled by my changes, it gets defined
automatically in all cases. I'll disable it in our 3rdparty builds now.

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-18 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=453746

--- Comment #7 from Alvin Wong  ---
I find it a bit concerning that libjxl will assert and abort like this when
used as a library. Normally I would expect the library return a failure or
throw an exception, rather than bringing down the whole process. Is there
anything we can do to make libjxl stop gracefully?

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-16 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
URL||https://github.com/libjxl/l
   ||ibjxl/issues/1424
 Ever confirmed|0   |1

--- Comment #6 from amyspark  ---
Sent the report upstream.

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-13 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=453746

--- Comment #5 from Alvin Wong  ---
Ah, I found the trigger: "Low resolution DC" was set to "512x512 + 64x64"
(must've changed that some time when scrolling). Other options are default.

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-13 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=453746

Alvin Wong  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #4 from Alvin Wong  ---
It crashes on a blank new 8-bit A4 300dpi document. Note that this crash is an
abort from JXL_CHECK, not actually from an illegal instruction within actual
code. If you want to know it's a Kaby Lake i5-7300U (Surface Pro 5).

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-13 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=453746

amyspark  changed:

   What|Removed |Added

   Assignee|krita-bugs-n...@kde.org |a...@amyspark.me
 Resolution|--- |WAITINGFORINFO
 CC||a...@amyspark.me
 Status|REPORTED|NEEDSINFO

--- Comment #3 from amyspark  ---
I need the KRA you were trying to export, also (if you can) tell me what
instruction sets your computer support. You can try the xsimd branch if you
want, that one has this information embedded in the bug reporter.

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-13 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=453746

--- Comment #2 from Alvin Wong  ---
Abort called from:

./lib/jxl/enc_adaptive_quantization.cc:907: JXL_CHECK:
enc_state->shared.frame_header.color_transform == ColorTransform::kXYB

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

[krita] [Bug 453746] Crash when exporting lossy JPEG XL

2022-05-13 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=453746

--- Comment #1 from Alvin Wong  ---
Created attachment 148800
  --> https://bugs.kde.org/attachment.cgi?id=148800=edit
Backtrace with line numbers

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