Page 1 of 1

Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 2:28 am
by theorin
I am trying to run .tgz installation on almalinux in order to get support for .heic files as oposed to flatpak installation I have been using up until now.
XnView starts and runs normally, however when opening a folder with .heic files, XnView crashes.

This is my terminal output:

Code: Select all

## onItemPressed
setPathname </run/media/martin/DATA_3T/PHOTO/iPhone/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3a77a30 
CHECK <0> 
######ThumbLoaderThread :: forever : 3a77a30 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  0
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
BitmapLoadThread :: stop()
Create children /run/media/martin/DATA_3T/PHOTO/iPhone/
## OPEN FOLDER done  1
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(20)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3a77a30 
CHECK <19> 
sizeHints : 241 
### START 20 
######ThumbLoaderThread :: start : 19     -1 -1
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
BitmapLoadThread :: stop()
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
sizeHints : 241 
 CHECK : <IMG_7001.HEIC>
LOAD BITMAP </run/media/martin/DATA_3T/PHOTO/iPhone/117APPLE/IMG_7001.HEIC>
Segmentation fault (core dumped)
Any ideas what might be the problem?

Re: Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 5:33 am
by xnview
which libheif version do you have?

Re: Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 1:27 pm
by theorin
I have libheif version 1.7.0

Re: Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 3:00 pm
by xnview
please update to 1.12.0+

Re: Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 3:34 pm
by theorin
I am afraid there is no repository providing higher version than 1.7.0 for any RHEL 8 distribution.
I can try to install it manually from a Fedora .rpm file and see how that goes. I am just not sure if it's a good idea. :?

Re: Segmentation fault (core dumped) when viewing a .HEIC file

Posted: Sat Jul 15, 2023 4:09 pm
by theorin
Manual installation didn't go through.
I tried copying libheif.so.1.16.2 directly to the XnView/lib folder and creatinf simlinks libheif.so and libheif.so.1 within that folder as well.
Interestingly enough doing so removed the heic format from About/Formats. Without me removing libheif library from the system.