Summary: | Crash when exporting animation to jxl | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Alvin Wong <alvin> |
Component: | Animation | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amy, emmetoneill.pdx |
Priority: | NOR | ||
Version First Reported In: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/f32449d635f18548cf26532e3fda07386778e7d7 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
crash backtrace
test file crash backtrace with line numbers |
Your file has a strange state; the image claims that it's animated yet its projection lacks a keyframe channel, so it cannot be rendered. Emmet, is this something expected? Created attachment 149779 [details]
test file
Here is a very simple file that crashes when exporting to jxl.
Created attachment 149780 [details]
crash backtrace with line numbers
Backtrace with line numbers in case you need it (this is with nightly 93e3db259c)
(In reply to Alvin Wong from comment #3) > Created attachment 149780 [details] > crash backtrace with line numbers > > Backtrace with line numbers in case you need it (this is with nightly > 93e3db259c) Yeah, it's exactly as I expected. The file claims to be animated but the keyframe channel of the projection (JXL can't take layers) doesn't exist. Git commit 6ec76fd7917f1160dbb7301404f0cf5812fe9092 by L. E. Segovia. Committed on 17/06/2022 at 01:25. Pushed by lsegovia into branch 'master'. JPEG-XL: fix export of multi-layer animations M +8 -2 plugins/impex/jxl/JPEGXLExport.cpp https://invent.kde.org/graphics/krita/commit/6ec76fd7917f1160dbb7301404f0cf5812fe9092 Git commit 36109032410e9c249b8e579a3eb51c1e3f7e96d2 by L. E. Segovia. Committed on 17/06/2022 at 01:25. Pushed by lsegovia into branch 'krita/5.1'. JPEG-XL: fix export of multi-layer animations (cherry picked from commit 6ec76fd7917f1160dbb7301404f0cf5812fe9092) M +8 -2 plugins/impex/jxl/JPEGXLExport.cpp https://invent.kde.org/graphics/krita/commit/36109032410e9c249b8e579a3eb51c1e3f7e96d2 Git commit c771be4d29190a594c7f7110e3432dfdb810ee15 by L. E. Segovia. Committed on 28/06/2022 at 17:31. Pushed by lsegovia into branch 'master'. JPEG XL: fix retrieval of the projection After flattening, the projection is the first node. Assert that it's animated and has a paint device. M +5 -1 plugins/impex/jxl/JPEGXLExport.cpp https://invent.kde.org/graphics/krita/commit/c771be4d29190a594c7f7110e3432dfdb810ee15 Git commit f32449d635f18548cf26532e3fda07386778e7d7 by L. E. Segovia. Committed on 28/06/2022 at 18:51. Pushed by lsegovia into branch 'krita/5.1'. JPEG XL: fix retrieval of the projection After flattening, the projection is the first node. Assert that it's animated and has a paint device. (cherry picked from commit c771be4d29190a594c7f7110e3432dfdb810ee15) M +5 -1 plugins/impex/jxl/JPEGXLExport.cpp https://invent.kde.org/graphics/krita/commit/f32449d635f18548cf26532e3fda07386778e7d7 |
Created attachment 149754 [details] crash backtrace Got a crash when exporting an animation with animated transform mask. I can't exactly share the file I have, but I can try to make a reproducer later if needed. Nightly d51784a501