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

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
theorin
Posts: 5
Joined: Sat Jul 15, 2023 2:13 am

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

Post 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?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

which libheif version do you have?
Pierre.
theorin
Posts: 5
Joined: Sat Jul 15, 2023 2:13 am

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

Post by theorin »

I have libheif version 1.7.0
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

please update to 1.12.0+
Pierre.
theorin
Posts: 5
Joined: Sat Jul 15, 2023 2:13 am

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

Post 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. :?
theorin
Posts: 5
Joined: Sat Jul 15, 2023 2:13 am

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

Post 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.
Post Reply