Crashes on video

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

Moderators: helmut, XnTriq, xnview

Post Reply
olmaverick
Posts: 2
Joined: Thu Aug 21, 2025 6:11 pm

Crashes on video

Post by olmaverick »

Hi, I've been trying to track down an issue that's been affecting me for a few weeks now, trying to click on a video crashes XnViewMP.
  • type of video doens't seem to matter, I've tried mp4, webm and mkv and all are affected
  • I've tried purging my cache and it doesn't seem to matter
  • autoplay or loop options don't seem to change anything
  • both flatpak and appimage versions are affected, at least (as those are the only ones I can easily try)
  • versions from current back to at least 1.88 are affected, which makes me think this may be something in xnview that was affected by a system update, as it was at least playing video up to a month ago or so.
  • OS: Fedora Kinoite(Silverblue) 42
  • Other tools (gwenview, smplayer, vlc, etc.) seem to be unaffected.
When I use the flatpak version, it crashes with no error message; the AppImage crashes with the error:

Code: Select all

/tmp/.mount_XnViewGopDMJ/usr/bin//xnviewmp: line 5: 57943 Segmentation fault      (core dumped) "$usr/XnView/XnView" "$@"
Any suggestions/ideas for other things I can try?
User avatar
xnview
Author of XnView
Posts: 46561
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes on video

Post by xnview »

please try to start xnview from a terminal to see logs
Pierre.
olmaverick
Posts: 2
Joined: Thu Aug 21, 2025 6:11 pm

Re: Crashes on video

Post by olmaverick »

I did that, but the only useful output when it crashed was the single line that I put in the post above. Here's what seems to be the point when it loads a video to the point where it crashes:

Code: Select all

### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4 
BitmapLoadThread :: stop()
## MyView::onLoaded </var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4> </var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4> </var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4> (0) 
## MyView::onLoaded ok 
@@ BitmapResizeThread:: clear
######ThumbLoaderThread :: forever 2 : 3e7f9630 
CHECK <0> 
######ThumbLoaderThread :: forever : 3e7f9630 
 ** start condition wait
MyView::change /var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4 
OPEN player /var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4
X11 display: 0x3e4889e0
QMDKWidget setMedia /var/home/mav/Nextcloud/MEEMS/JIFS/supernatural-spn.mp4 


############################################ InfoPropertiesView

resizeGL>>>>>dpr: 2.000000, logical dpi: (96.000000,96.000000), phy dpi: (129.615947,129.702128)


############################################ InfoPropertiesView

######### CategoryModel :: checkAndSave()
###  checkChanged : 1
######### CategoryModel :: checkAndSave()
/tmp/.mount_XnViewEnokjd/usr/bin//xnviewmp: line 5: 162602 Segmentation fault      (core dumped) "$usr/XnView/XnView" "$@"
It says it's dumping core but I'm not sure where it's putting the dump, it doesn't seem to be in /tmp or in my home directory.
User avatar
xnview
Author of XnView
Posts: 46561
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes on video

Post by xnview »

i've tried on a clean Fedora 42, and no problem to play mp4 files
Please change debug=2 in your xnview.ini
Pierre.
Post Reply