Page 1 of 4
XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Dec 16, 2022 7:00 pm
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?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Sat Dec 17, 2022 11:06 pm
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.
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Dec 23, 2022 3:03 pm
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?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Mon Apr 24, 2023 11:52 am
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.
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Mon May 01, 2023 2:04 pm
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
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Mon Nov 13, 2023 8:08 am
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)
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Tue Nov 21, 2023 1:29 pm
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.
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Nov 24, 2023 7:04 am
by argumon
Double checked with 1.6.2, problem still persists
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Nov 24, 2023 9:07 am
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?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Nov 24, 2023 9:22 am
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)
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Nov 24, 2023 12:47 pm
by xnview
argumon wrote: Fri Nov 24, 2023 9:22 am
Segmentation fault (core dumped)
do you have the core dump?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Fri Nov 24, 2023 1:33 pm
by argumon
Would need some help, where do I find it or how do I generate it?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Sat Nov 25, 2023 6:35 am
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?
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Sat Nov 25, 2023 8:56 am
by argumon
Haven't used that in ages, but it is in Tubleweed's repo.
Re: XNViewMP hangs on Linux after video in viewer or full screnn
Posted: Sun Nov 26, 2023 8:52 am
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?