Page 1 of 1
Crashes on video
Posted: Thu Aug 21, 2025 6:27 pm
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?
Re: Crashes on video
Posted: Sat Aug 23, 2025 6:19 am
by xnview
please try to start xnview from a terminal to see logs
Re: Crashes on video
Posted: Sat Aug 23, 2025 4:23 pm
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.
Re: Crashes on video
Posted: Sun Aug 24, 2025 7:27 am
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
Re: Crashes on video
Posted: Thu Sep 11, 2025 9:10 pm
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
Re: Crashes on video
Posted: Fri Sep 12, 2025 4:53 pm
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.
Re: Crashes on video
Posted: Thu Sep 25, 2025 7:50 am
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?
Re: Crashes on video
Posted: Wed Oct 01, 2025 3:04 pm
by olmaverick
I'll try again.
Re: Crashes on video
Posted: Sat Oct 04, 2025 9:12 am
by xnview
Re: Crashes on video
Posted: Thu Oct 09, 2025 9:54 pm
by olmaverick
I set that environment variable and tried the standalone binary version again, but it still crashes. Output attached.
Re: Crashes on video
Posted: Sun Oct 12, 2025 8:10 pm
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