Crashes on video

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

Moderators: helmut, xnview

Post Reply
olmaverick
Posts: 5
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: 46739
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: 5
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: 46739
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.
BlackOverlord
Posts: 1
Joined: Thu Sep 11, 2025 8:43 pm

Re: Crashes on video

Post by BlackOverlord »

I have the same issue on Bazzite. The app crashes whenever I select a video file in the file browser (apparently it tries to load a preview)
OS version: Bazzite 42.20250908
App version: XnView MP 1.9.3 (flatpak version)
Logs are attached (with debug=2 in the config)
Here is a core dump: https://mega.nz/file/w4MDDaCB#JADp2ed36 ... dI-PbJvvns

I hope this helps fixing the issue
Attachments
xnview.log.7z
(8.52 KiB) Downloaded 1889 times
olmaverick
Posts: 5
Joined: Thu Aug 21, 2025 6:11 pm

Re: Crashes on video

Post by olmaverick »

I set debugging on as requested and here is the output. I also have a core dump for this same crash if it would be helpful.
Attachments
output.tgz
Output log on crash
(40 KiB) Downloaded 2063 times
User avatar
xnview
Author of XnView
Posts: 46739
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes on video

Post by xnview »

olmaverick wrote: Fri Sep 12, 2025 4:53 pm I set debugging on as requested and here is the output. I also have a core dump for this same crash if it would be helpful.
Thanks, the output txt seems to be incomplete?
Pierre.
olmaverick
Posts: 5
Joined: Thu Aug 21, 2025 6:11 pm

Re: Crashes on video

Post by olmaverick »

I'll try again.
Attachments
xnview-output.tgz
(30 KiB) Downloaded 695 times
User avatar
xnview
Author of XnView
Posts: 46739
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crashes on video

Post by xnview »

Try to set

Code: Select all

QT_XCB_GL_INTEGRATION=xcb_egl
Pierre.
olmaverick
Posts: 5
Joined: Thu Aug 21, 2025 6:11 pm

Re: Crashes on video

Post by olmaverick »

I set that environment variable and tried the standalone binary version again, but it still crashes. Output attached.
Attachments
xnview-output.tgz
(20 KiB) Downloaded 1276 times
dandv
Posts: 48
Joined: Sat Nov 08, 2008 10:46 pm
Location: Digital Nomad
Contact:

Re: Crashes on video

Post by dandv »

v1.9.4 crashing as well on Ubuntu 25.04, KDE Plasma 6.3.4, Wayland.

Intel® Iris® Xe Graphics & NVIDIA GeForce RTX 3050 Ti Laptop GPU
$ QT_XCB_GL_INTEGRATION=xcb_egl ./XnView_MP_1.9.4.AppImage
0.33.1 (git 8da6cdd) - Multimedia Development Kit. Copyright (c) 2016-2025 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: ubuntu/25.04 4KB x86_64; glibc2.24/2.41 libc++210000; Clang21.0.0 (++20250702083737+272576543246-1~exp1~20250702203908.1008); 15:48:47 Jul 5 2025.
==> 2.000000 2.000000 151.218605 96.000000 (1)
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1594 984
ARG[] = /tmp/.mount_XnViewMOEJjM/usr/XnView/XnView
QObject::connect: No such signal InfoPropertiesView::itemDoubleClicked(QTreeWidgetItem*,int)
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
BookmarkNode::BookmarkNode : 0x36d98cf0
TAGS : 168
: 168
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
BLOB length 75
## onItemPressed
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
#### onCurrentChanged 27
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
## BaseViewWindow :: ~BaseViewWindow()
QMutex: destroying locked mutex
## BaseViewWindow :: ~BaseViewWindow() ok
X11 display: 0x36a3ec40
QMDKWidget setMedia /media/dandv/SD_Card/DCIM/DJI_001/DJI_20251012235820_0046_D.MP4
resizeGL>>>>>dpr: 2.000000, logical dpi: (96.000000,96.000000), phy dpi: (151.218605,151.218605)
Segmentation fault (core dumped)
I posted a related thread in July 2024: Crash when opening any DJI drone MP4 file
Post Reply