Crashes on video

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

Moderator: xnview

User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crashes on video

Post by xnview »

biley wrote: Thu Feb 19, 2026 7:34 am Please let me know if you would like me to test anything.
do you have tried to set

Code: Select all

QT_XCB_GL_INTEGRATION=xcb_egl
Pierre.
biley
Posts: 5
Joined: Thu Feb 19, 2026 5:57 am

Re: Crashes on video

Post by biley »

xnview wrote: Thu Feb 19, 2026 7:57 am
biley wrote: Thu Feb 19, 2026 7:34 am Please let me know if you would like me to test anything.
do you have tried to set

Code: Select all

QT_XCB_GL_INTEGRATION=xcb_egl
When I launch the program with "QT_XCB_GL_INTEGRATION=xcb_egl xnviewmp" - I still get the same crashes.

Latest log is attached.
You do not have the required permissions to view the files attached to this post.
biley
Posts: 5
Joined: Thu Feb 19, 2026 5:57 am

Re: Crashes on video

Post by biley »

1.10.1 still crashes on videos for me, both with and without xcb_egl being set. Logs are attached. With this version, it doesn't get to the sound playing, the program just terminates immediately when a video is run.

1.9.2 still works at playing videos. 1.9.2 does have a graphical glitch in the areas where the xnviewmp window is larger than the video being displayed. I get a weird 'echo' of past images/videos or underlying windows. It is just a cosmetic glitch, but it may be relevant to tracking down why videos are causing crashes in later versions.
You do not have the required permissions to view the files attached to this post.
argumon
Posts: 50
Joined: Sun Mar 10, 2013 9:02 pm

Re: Crashes on video

Post by argumon »

I also have crashes on any video I tried, Manjaro KDE.
Command line output is

Code: Select all

0.35.0 (git 2dd615b) - Multimedia Development Kit. Copyright (c) 2016-2025 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: manjaro/ 6.19.2-1-MANJARO 4KB x86_64; glibc2.24/2.43 libc++220000; Clang22.0.0 (++20250929081746+eef7a7663d27-1~exp1~20250929201945.1197); 03:47:23 Sep 30 2025. 
==> 2,000000  2,000000  125,864833  96,000000  (1)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 850 620 
ARG[] = /home/arne/bin/XnView/XnView
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
QPngHandler: Failed to parse ICC profile
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'
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'
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'
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'
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
QPngHandler: Failed to parse ICC profile
## updateCount ===>   12ms 
## updateCount ===>   12ms ok
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
QPngHandler: Failed to parse ICC profile
## updateCount ===>   3ms 
## updateCount ===>   3ms ok
IPTC GET <IMG-20241220-WA0000.jpg>
X11 display: 0x1ef11610
QMDKWidget setMedia /mnt/data/Users/Public/Videos/Tanzen/1 SW/2010-06-11 SW.mp4 
QMDKWidget play
resizeGL>>>>>dpr: 2.000000, logical dpi: (96.000000,96.000000), phy dpi: (125.674783,126.054884)
zsh: segmentation fault (core dumped)  ./xnview.sh
Setting QT_XCB_GL_INTEGRATION=xcb_egl does not help
User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crashes on video

Post by xnview »

biley wrote: Sat Feb 28, 2026 12:33 am 1.10.1 still crashes on videos for me, both with and without xcb_egl being set. Logs are attached. With this version, it doesn't get to the sound playing, the program just terminates immediately when a video is run.
you have the crash after the line "#MDK SDK : 0x7f5588018470mdk::NativeVideoBufferPool::Nat"??
Pierre.
User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crashes on video

Post by xnview »

argumon wrote: Sun Mar 01, 2026 10:23 am I also have crashes on any video I tried, Manjaro KDE.
Command line output is
Please enable debug=2 in your xnview.ini and send me the logs
Pierre.
biley
Posts: 5
Joined: Thu Feb 19, 2026 5:57 am

Re: Crashes on video

Post by biley »

xnview wrote: Sun Mar 01, 2026 2:18 pm
biley wrote: Sat Feb 28, 2026 12:33 am 1.10.1 still crashes on videos for me, both with and without xcb_egl being set. Logs are attached. With this version, it doesn't get to the sound playing, the program just terminates immediately when a video is run.
you have the crash after the line "#MDK SDK : 0x7f5588018470mdk::NativeVideoBufferPool::Nat"??
Yes, that is where the log ends, because the program has crashed and terminated.
User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crashes on video

Post by xnview »

biley wrote: Sun Mar 01, 2026 11:27 pm Yes, that is where the log ends, because the program has crashed and terminated.
ok, i contact author of video engine
Pierre.