XNViewMP hangs on Linux after video in viewer or full screnn

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

Moderators: XnTriq, helmut, xnview

argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

I can reproduce this at will. With a folder with videos in different formats, from the browser I open one video in the viewer windowed or full screen. It plays without problems, but when I close the viewer, returning to the browser, XNViewMP hangs completely until killed. If not at the first video, then with the 2nd or 3rd video. This happens since a few months, at least with version 1.3 (also tried with 1.4). I don't have older versions to test, but if there is an archive, I could try them out.
I am running OpenSUSE Tumbleweed (up to date) with KDE.
Any ideas?
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Some additional information: if I leave the video tab open, just pause it and open the next video in another tab, XNViewMP does not freeze. I can open other videos in the viewer windowed or full screen. As long as I don't close a window with a video, everything runs fine.
But if I move any of that open videos to another location, which probably includes closing that tab, it also freezes.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

i can't reproduce, you had no crash with 1.3.1?
https://download.xnview.com/old_versions/XnView_MP/
Is it the .deb?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Sorry for late reply. I have just tried it with 1.4.4 and the problem still exists.
I have a folder with several videos, just opening that folder is enough for XnViewMP to hang completely.
I tested it with the AppImage and tgz.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

which video car do youo have?
Could you try to edit xnview.ini, and change "debug=2". And start XnView from a terminal, and please send me the log
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

I have a AMD Ryzen 5 5600G with Radeon Graphics.

I have also tried to reinstall the multi media codecs, which is a common source for video problems on Tumbleweed, but does not help (https://en.opensuse.org/SDB:Installing_ ... positories)

Here is the output with debug=2

---8<--------------------------------------------------------------------------------

0.22.1 (git 3d0bf01) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang17.0.3 (++20231010073202+37b79e779f44-1~exp1~20231010073304.52)GCC4.2.1; libc++170003; 01:40:09 Oct 12 2023
...


Segmentation fault (core dumped)
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

It got worse over time. It is enough to have a folder with videos and click on one, so the preview should appear. XNViewMP immediately crashes. Other video players work, so my setup should not be too wierd. XNViewMP under X11 also works without problems. This only seems to occur under Wayland.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Double checked with 1.6.2, problem still persists
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Fri Nov 24, 2023 7:04 am Double checked with 1.6.2, problem still persists
could you send me the logs with 1.6.2?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

sure
---8<--------------------------------
0.23.0 (git 9270859) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang17.0.4 (++20231031083134+309d55140c46-1~exp1~20231031083240.62)GCC4.2.1; libc++170004; 13:51:56 Oct 31 2023
==> 1,000000 1,000000 80,981176 96,000000 (0)
...

Segmentation fault (core dumped)
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Fri Nov 24, 2023 9:22 am Segmentation fault (core dumped)
do you have the core dump?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Would need some help, where do I find it or how do I generate it?
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Fri Nov 24, 2023 1:33 pm Would need some help, where do I find it or how do I generate it?
do you have gdb?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Haven't used that in ages, but it is in Tubleweed's repo.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Sat Nov 25, 2023 8:56 am Haven't used that in ages, but it is in Tubleweed's repo.
if you can install it, and start like that

Code: Select all

export LD_LIBRARY_PATH="$PWD/lib:$dirname/Plugins:$LD_LIBRARY_PATH"
export QT_PLUGIN_PATH="$PWD/lib:$QT_PLUGIN_PATH"
gdb ./XnView
in gdb, you can type run, and when you have the crash, you can type bt and send me the content?
Pierre.