[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #20 from philip_ram...@hotmail.com ---
Hi Giles

I've just tried with the latest (digiKam-8.2.0-20231020T145742-Win64) version
and I'm happy to report that the .AVIF file which was previously causing
problems displays correctly (and does not cause DigiKam to crash on startup).

(Very many thanks for all your hard work identifying and resolving this issue.
It's very much appreciated).

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #19 from caulier.gil...@gmail.com ---
philip,

Can you test the last build from this evening to see if it crash ? I enabled 2
options in libaom : MMX and SSE support

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #18 from caulier.gil...@gmail.com ---
Git commit 2238609f510f2cc673ca189439347d15e413a4ca by Gilles Caulier.
Committed on 20/10/2023 at 16:43.
Pushed by cgilles into branch 'master'.

libaom under Windows : enable SSE and MMX only

M  +2-2project/bundles/3rdparty/ext_libaom/CMakeLists.txt

https://invent.kde.org/graphics/digikam/-/commit/2238609f510f2cc673ca189439347d15e413a4ca

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #17 from caulier.gil...@gmail.com ---
Hi Maik,

I think the MMX and SSE option are safe to enable. For other one, i don't
know... We need runtime tests.

set(AOM_Conf ${AOM_Conf}
   -DAOM_TARGET_CPU=x86_64
   -DAOM_TARGET_SYSTEM=Windows
   -DENABLE_MMX=OFF
   -DENABLE_SSE=OFF
   -DENABLE_SSE2=OFF
   -DENABLE_SSE3=OFF
   -DENABLE_SSE4_1=OFF
   -DENABLE_SSE4_2=OFF
   -DENABLE_SSSE3=OFF
)

Gilles

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #16 from Maik Qualmann  ---
We should try to reactivate some SSE optimizations so as not to cause a
significant drop in performance.

Maik

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||8.2.0
 Status|REPORTED|RESOLVED

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #15 from philip_ram...@hotmail.com ---
I'm happy to report that bug report 471797 appears to be resolved in
digiKam-8.2.0-20231019T170231-Win64.exe.

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #14 from caulier.gil...@gmail.com ---
Hi,

The new digiKam 8.2.0 pre-release with the last fixes to test :

https://files.kde.org/digikam/

Best

Gilles Caulier

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

dnovome...@gmail.com changed:

   What|Removed |Added

 CC||dnovome...@gmail.com

--- Comment #13 from dnovome...@gmail.com ---
My crash using digiKam-8.2.0-20231017T044001-Win64-debug.exe in
libaom!aom_codec_av1_cx is because vmovdqa instruction.

That instruction probably requires aligned data and I saw that lot of people
using Mingw compiler complained that generated code crashes.

(gdb) bt
#0  0x7ffc7ccd726e in libaom!aom_codec_av1_cx () from C:\Program
Files\digiKam\libaom.dll
#1  0x7ffc7ccdbbbd in libaom!aom_codec_av1_cx () from C:\Program
Files\digiKam\libaom.dll
#2  0x7ffc7cac9bd1 in libaom!aom_free () from C:\Program
Files\digiKam\libaom.dll
#3  0x7ffc7cac8350 in libaom!aom_free () from C:\Program
Files\digiKam\libaom.dll
#4  0x7ffc7caeb907 in libaom!av1_resize_frame420 () from C:\Program
Files\digiKam\libaom.dll
#5  0x7ffc7caae738 in libaom!aom_free () from C:\Program
Files\digiKam\libaom.dll
#6  0x7ffcd0ba4d33 in pthread_create_wrapper () from C:\Program
Files\digiKam\libwinpthread-1.dll
#7  0x7ffcdd0eaf5a in msvcrt!_beginthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#8  0x7ffcdd0eb02c in msvcrt!_endthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#9  0x7ffcde537344 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\System32\kernel32.dll
#10 0x7ffcde8a26b1 in ntdll!RtlUserThreadStart () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#11 0x in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

> 0x7ffc7ccd726e vmovdqa %ymm0,(%rcx)
  0x7ffc7ccd7272 vmovdqu %xmm1,(%r9)
  0x7ffc7ccd7277 vzeroupper
  0x7ffc7ccd727a vmovaps
0x260(%rsp),%xmm6
  0x7ffc7ccd7283 vmovaps
0x270(%rsp),%xmm7
  0x7ffc7ccd728c vmovaps
0x280(%rsp),%xmm8
  0x7ffc7ccd7295 vmovaps
0x290(%rsp),%xmm9
  0x7ffc7ccd729e vmovaps
0x2a0(%rsp),%xmm10
  0x7ffc7ccd72a7 vmovaps
0x2b0(%rsp),%xmm11
  0x7ffc7ccd72b0 vmovaps
0x2c0(%rsp),%xmm12
  0x7ffc7ccd72b9 vmovaps
0x2d0(%rsp),%xmm13
  0x7ffc7ccd72c2 vmovaps
0x2e0(%rsp),%xmm14
  0x7ffc7ccd72cb vmovaps
0x2f0(%rsp),%xmm15
  0x7ffc7ccd72d4 add$0x308,%rsp
  0x7ffc7ccd72db ret

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #12 from caulier.gil...@gmail.com ---
Git commit facf389c1f941ef19fb93fe5ac0ba9f276a193b1 by Gilles Caulier.
Committed on 18/10/2023 at 11:43.
Pushed by cgilles into branch 'master'.

MXE libaom build for Windows : disabme SSE +MMX optimizations

M  +7-0project/bundles/3rdparty/ext_libaom/CMakeLists.txt

https://invent.kde.org/graphics/digikam/-/commit/facf389c1f941ef19fb93fe5ac0ba9f276a193b1

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #11 from Maik Qualmann  ---
The main problem is that I cannot reproduce the crash on 3 different Windows
(AMD/Intel) computers. The library does not use GPU acceleration. So it can
only be due to some SSE options.

Maik

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #10 from caulier.gil...@gmail.com ---
Strange.

The patch from Maik is now applied the the last Windows build and libaom have
been also updated.

Maik, perhaps it miss some optional dependencies to libaom ?

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/3rdparty/ext_libaom/CMakeLists.txt?ref_type=heads

List of build options from aommedia from git/master:

ENABLE_ARM_CRC32:BOOL=ON
ENABLE_AVX:BOOL=ON
ENABLE_AVX2:BOOL=ON
ENABLE_CCACHE:BOOL=OFF
ENABLE_DECODE_PERF_TESTS:BOOL=OFF
ENABLE_DISTCC:BOOL=OFF
ENABLE_DOCS:BOOL=ON
ENABLE_ENCODE_PERF_TESTS:BOOL=OFF
ENABLE_EXAMPLES:BOOL=ON
ENABLE_GOMA:BOOL=OFF
ENABLE_IDE_TEST_HOSTING:BOOL=OFF
ENABLE_MMX:BOOL=ON
ENABLE_NASM:BOOL=OFF
ENABLE_NEON:BOOL=ON
ENABLE_NEON_DOTPROD:BOOL=ON
ENABLE_NEON_I8MM:BOOL=ON
ENABLE_SSE:BOOL=ON
ENABLE_SSE2:BOOL=ON
ENABLE_SSE3:BOOL=ON
ENABLE_SSE4_1:BOOL=ON
ENABLE_SSE4_2:BOOL=ON
ENABLE_SSSE3:BOOL=ON
ENABLE_SVE:BOOL=ON
ENABLE_TESTDATA:BOOL=ON
ENABLE_TESTS:BOOL=ON
ENABLE_TOOLS:BOOL=ON
ENABLE_VSX:BOOL=ON
ENABLE_WERROR:BOOL=OFF

Gilles

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #9 from philip_ram...@hotmail.com ---
In case it helps, I can also confirm that the file attached to bug report
471797 is still causing the same issues in
digiKam-8.2.0-20231014T165117-Win64.exe.

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-10-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #8 from caulier.gil...@gmail.com ---
@SA,

This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-08-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #7 from philip_ram...@hotmail.com ---
If it's of any help, the .AVIF file which I had attached to bug report 471797
still crashes DigiKam, even when using the latest (8.2.0) version.

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-08-02 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #6 from Maik Qualmann  ---
The latest changes are only in digiKam-8.2.0, please try this version from
here:

https://files.kde.org/digikam/

Maik

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-08-02 Thread SA
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #5 from SA  ---
(In reply to Maik Qualmann from comment #1)
> Can you please test and report whether the problem can still be reproduced
> with the upcoming digiKam-8.1.0 release.
> 
> digiKam-8.1.0 download: https://files.kde.org/digikam/
> 
> Maik

Hello Maik
I have just tested 8.1.0 release, and the bug still remains.
digiKam crashes with .avif files in the source folder when scanning for new
items.
No crash when all .avif files are removed.

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-07-22 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #4 from Maik Qualmann  ---
Git commit ab3e2e5adb8d9e51cda6973e57828569dff21141 by Maik Qualmann.
Committed on 23/07/2023 at 07:46.
Pushed by mqualmann into branch 'master'.

try new settings to compile libaom
Related: bug 471797, bug 472508

M  +2-1project/bundles/3rdparty/ext_libaom/CMakeLists.txt

https://invent.kde.org/graphics/digikam/-/commit/ab3e2e5adb8d9e51cda6973e57828569dff21141

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-07-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

Maik Qualmann  changed:

   What|Removed |Added

 CC||philip_ram...@hotmail.com

--- Comment #3 from Maik Qualmann  ---
*** Bug 471797 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-06-22 Thread SA
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #2 from SA  ---
(In reply to Maik Qualmann from comment #1)
> Can you please test and report whether the problem can still be reproduced
> with the upcoming digiKam-8.1.0 release.
> 
> digiKam-8.1.0 download: https://files.kde.org/digikam/
> 
> Maik

Sure, will do as soon as I get it. Thank you for looking into it.

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-06-21 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

--- Comment #1 from Maik Qualmann  ---
Can you please test and report whether the problem can still be reproduced with
the upcoming digiKam-8.1.0 release.

digiKam-8.1.0 download: https://files.kde.org/digikam/

Maik

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-06-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471269

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com
   Severity|critical|crash

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

[digikam] [Bug 471269] Application crashes when album contains avif file

2023-06-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471269

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|Albums-MainView |Thumbs-Video
 CC||caulier.gil...@gmail.com

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