[digikam] [Bug 456688] Some HEIC pictures cannot be displayed in digiKam 7.7 while it works for the same picture in version 7.6.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Sep 4 08:21:52 BST 2022


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

--- Comment #12 from caulier.gilles at gmail.com ---
Maik,

For testing, i cleaned my sqlite database and rescan the whole collection with
my HEIF files (Iphone 7). For each item, it crash. Kunbutu 22.04 is used here,
with libheif 1.12.0 (offcial package).

Thread 4 "Digikam::ScanCo" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc4e4a640 (LWP 799234)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140736496707136) at
./nptl/pthread_kill.c:44
44      ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736496707136)
at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140736496707136) at
./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140736496707136, signo=signo at entry=6) at
./nptl/pthread_kill.c:89
#3  0x00007ffff45e8476 in __GI_raise (sig=sig at entry=6) at
../sysdeps/posix/raise.c:26
#4  0x00007ffff45ce7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff45ce71b in __assert_fail_base
    (fmt=0x7ffff4783150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x7fffefdea89c "success", file=0x7fffefde569a "box.cc", line=1114,
function=<optimized out>) at ./assert/assert.c:92
#6  0x00007ffff45dfe96 in __GI___assert_fail
    (assertion=0x7fffefdea89c "success", file=0x7fffefde569a "box.cc",
line=1114, function=0x7fffefdea4a8 "heif::Error heif::Box_iloc::read_data(const
heif::Box_iloc::Item&, std::shared_ptr<heif::StreamReader>, const
std::shared_ptr<heif::Box_idat>&, std::vector<unsigned char>*) const") at
./assert/assert.c:101
#7  0x00007fffefddfa8a in  () at /lib/x86_64-linux-gnu/libheif.so.1
#8  0x00007fffefdb1b57 in  () at /lib/x86_64-linux-gnu/libheif.so.1
#9  0x00007fffefdc206f in  () at /lib/x86_64-linux-gnu/libheif.so.1
#10 0x00007fffefdb5860 in heif_context_read_from_reader () at
/lib/x86_64-linux-gnu/libheif.so.1
#11 0x00007fffd0035ecd in Digikam::DImgHEIFLoader::load(QString const&,
Digikam::DImgLoaderObserver*)
    (this=0x7fffb80beef0, filePath=..., observer=0x0)
    at
/home/gilles/Devel/8.x/core/dplugins/dimg/heif/dimgheifloader_load.cpp:146
#12 0x00007ffff63b3f79 in Digikam::DImg::load(QString const&, int,
Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&)
(this=0x7fffb8112c28, filePath=..., loadFlagsInt=1, observer=0x0,
rawDecodingSettings=...)
    at /home/gilles/Devel/8.x/core/libs/dimg/dimg_fileio.cpp:132
#13 0x00007ffff63b3912 in Digikam::DImg::loadItemInfo(QString const&, bool,
bool, bool, bool)
    (this=0x7fffb8112c28, filePath=..., loadMetadata=false, loadICCData=false,
loadUniqueHash=false, loadImageHistory=false) at
/home/gilles/Devel/8.x/core/libs/dimg/dimg_fileio.cpp:55
#14 0x00007ffff7343ea0 in Digikam::ItemScanner::loadFromDisk()
(this=0x7fffc4e476a0)
    at
/home/gilles/Devel/8.x/core/libs/database/item/scanner/itemscanner.cpp:135
#15 0x00007ffff734af9f in Digikam::ItemScanner::newFile(int)
(this=0x7fffc4e476a0, albumId=1)
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) y

If i use 7.8.0 appimage, there is no crash (we use libheif from git/master, so
1.12.0++)

Gilles

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



More information about the kde-mac mailing list