https://bugs.kde.org/show_bug.cgi?id=435660

--- Comment #23 from Loic <loickern...@gmail.com> ---
I've done some further investigations on this issue and found what's going
wrong. Basically, it comes down to the version of ffmpeg libraries used to run
(not necessarily build) digikam, and among the various libraries, only
libswscale raises an issue.

Practically, if I downgrade libswscale.so.5 to libswscale.so.5.5.100 and older
(which is ffmpeg version 4.2.2 and older), I don't have any crash when running
digikam. If I use libswscale.so.5.7.100 and newer (which is ffmpeg version
4.3.2 and newer), I can reproduce the crashes described in this bug report.

This is confirmed on both virtual machines, and and old pc with nouveau driver,
whatever the distribution is. By the way, if I understand well, you are
building the appimages on a mageia 7 setup, which is ffmpeg 4.1.x series, and
therefore doesn't crash (It would be interesting to have one image built on
mageia 8 and see what's happening).

I found that a workaround for me is then simply to install one
libswscale.so.5.5.100 binary somewhere in my system, in parallel to the
ordinary libswscale.so.xxx provided by the distribution, and run digikam with
the LD_PRELOAD=/whateverpath/libswscale.so.5.5.100 /usr/bin/digikam command.

At this point, I cannot say what's wrong: a regression in libswscale or an
inconsistency in the way it is called (presumabely in
core/libs/threadimageio/video/videodecoder_p.h). I'm leaving that for you :).

Regards,
Loïc

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

Reply via email to