Package Details: xnviewmp-system-libs 0.93.1-2

Git Clone URL: (read-only)
Package Base: xnviewmp-system-libs
Description: An efficient multimedia viewer, browser and converter (using system libraries).
Upstream URL:
Keywords: graphics
Licenses: custom
Conflicts: xnviewmp
Submitter: Corax
Maintainer: Corax
Last Packager: Corax
Votes: 14
Popularity: 0.007204
First Submitted: 2017-01-21 15:31
Last Updated: 2019-03-16 14:49

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Maniaxx commented on 2017-10-21 18:48

Indeed, was a foreign package. Sorry for that. Starts properly now. Still have the fontconfig problem though:
I guess we need to wait for 0.88 for that.

Corax commented on 2017-10-18 18:44

@cbertelli: this is not a stack trace. What you are seeing here is fully expected, running the XnView binary directly does *not* work. What happens when you run the the xnviewmp wrapper ( If you get a segfault, copy the stack trace from journalctl.

@Maniaxx: I doubt this has anything to do with this package, which doesn't provide any Qt library. Check that your Qt packages have consistent versions.

Maniaxx commented on 2017-10-17 21:06

$ xnviewmp
Cannot mix incompatible Qt library (version 0x50901) with this library (version 0x50902)
Aborted (core dumped)

#0 0x00007f1f265018a0 raise (
#1 0x00007f1f26502f09 abort (
#2 0x00007f1f27f2d858 _ZNK14QMessageLogger5fatalEPKcz (
#3 0x00007f1f28153f0f _ZN14QObjectPrivateC2Ei (
#4 0x00007f1f0a2afe7e n/a (
#5 0x00007f1f0a29ed3e n/a (
#6 0x00007f1f0a2b276b n/a (
#7 0x00007f1f2923dce3 _ZN13QStyleFactory6createERK7QString (libQt5Widgets.
#8 0x00007f1f291d1adc _ZN12QApplication5styleEv (
#9 0x00007f1f291d1e36 _ZN19QApplicationPrivate10initializeEv (libQt5Widget
#10 0x00007f1f291d1e9b _ZN19QApplicationPrivate4initEv (
#11 0x00000000008b1ff8 n/a (XnView)
#12 0x0000000000994766 n/a (XnView)
#13 0x00000000008164cf n/a (XnView)
#14 0x00007f1f264edf6a __libc_start_main (
#15 0x0000000000505ba1 n/a (XnView)

cbertelli commented on 2017-10-17 13:24

Here is my stack trace:
$ strace -eopen /opt/xnviewmp/XnView
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/it_IT.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/it_IT.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/it_IT/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/it.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/it.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/it/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=24310, si_uid=1001} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)
I have both Qt4 and Qt5 on board (QGIS e. g. needs it). Maybe the issue is due to this.

Corax commented on 2017-10-16 21:41

@cbertelli: do not run any application as root unless there's a good reason to do that! Now, what's the exact permission error you get? For the segfault, do you have a stack trace (e.g. from journalctl)?

/usr/lib/qt/plugins/styles not existing is not a problem, I added this symlink recently and only makes a difference if you use styles. Your problem comes from somewhere else.

cbertelli commented on 2017-10-16 15:56

I get a "permission denied" error.
If I start it with sudo I get:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Segmentation fault
I see /usr/lib/qt/plugins/styles does not exist.
After adding package qt5gtk2 from aur (that adds syle and the qt5gtk2 style in it) and changing the new QT_QPA_PLATFORMTHEME, still I have the same Segmentation fault.

Corax commented on 2017-10-03 23:10

@Marcouney: very good point, thanks for pointing that out! In fact, I originally intended to use all the directories in /usr/lib/qt/plugins/, but I couldn't do that because including xcbglintegrations/ was crashing XnView (and still does, unfortunately). So instead I replaced the lib directories provided in xnviewmp/lib with symlinks into the system directories. But clearly, even though it is not provided with XnView, styles/ is a directory that can be useful and doesn't crash XnView, so it should be added.

I have pushed 0.87-2, which does this additional symlink. I wonder, should I modify to only set QT_QPA_PLATFORMTHEME if it is not already set? That would make the lives of people using qt5ct easier, I guess.

Marcouney commented on 2017-09-22 15:00

qt5ct seems to work if one adds a symbolic link to /usr/lib/qt/plugins/styles in /opt/xnviewmp/lib/.

Corax commented on 2017-08-02 18:08

@waldbaer59: it's great to hear that, thanks for your feedback!

waldbaer59 commented on 2017-08-02 04:20

As far as I can see all works like it should. Even better: when Gimp is loaded via xnviewmp, the G'mic plugins don't crash, as it happens with the 'normal' xnviewmp due to qt-version conflicts.