You are not logged in.

#1 2016-10-24 03:38:50

anselm
Banned
Registered: 2016-05-11
Posts: 120

xnView warning: directory permissions differ, then segmentation fault

I tried to install xnViewmp from the git repo. After issuing "makepkg -s" in the cloned git directory, the package is made, while installing it, warning messages appear:

warning: directory permissions differ on /opt/xnviewmp/UI/
filesystem: 755  package: 700
warning: directory permissions differ on /opt/xnviewmp/UI/icons-48/
filesystem: 755  package: 700

when trying to run the application, I can see:

$ xnviewmp
bash: /usr/bin/xnviewmp: Permission denied

after:

sudo chmod 755 /usr/bin/xnviewmp

segfault appears:

$ xnviewmp
Segmentation fault (core dumped)

What can be wrong? xnView worked a few weeks ago.

Offline

#2 2016-10-24 06:59:59

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: xnView warning: directory permissions differ, then segmentation fault

The git repo sets owner rights only (single user installation, it seems), but that's likely not related to the segfault.
run xnview in gdb and dump a backtrace.

inb4: you're not on gnome on wayland, are you?

Offline

#3 2016-10-25 23:27:40

anselm
Banned
Registered: 2016-05-11
Posts: 120

Re: xnView warning: directory permissions differ, then segmentation fault

No, I am using Xfce as I have a low end PC, 2 GB RAM, P4.

Offline

#4 2016-10-26 06:37:25

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: xnView warning: directory permissions differ, then segmentation fault

Ok, then will require a backtrace (notably the xnview developers ;-)

Offline

#5 2016-11-25 21:30:24

quiniouben
Member
Registered: 2016-11-25
Posts: 2

Re: xnView warning: directory permissions differ, then segmentation fault

Hi, same problem here on Manjaro.
the backtrace looks like this:

#0  0x088fd2ec in  ()
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
#1  0xffffffff in #2  0xffffffff in #3  0xffffffff in #4  0xffffffff in #5  0xffffffff in #6  0xffffffff in #7  0xffffffff in #8  0xffffffff in #9  0xffffffff in #10 0xffffffff in #11 0xffffffff in #12 0xffffffff in #13 0xffffffff in #14 0xffffffff in #15 0xffffffff in #16 0xffffffff in #17 0xffffffff in #18 0xffffffff in #19 0xffffffff in #20 0xffffffff in #21 0xffffffff in #22 0xffffffff in #23 0xffffffff in #24 0xffffffff in #25 0x0842ded5 in  ()
#26 0x0852375a in  ()
#27 0x080af508 in  ()
Python Exception <class 'SystemError'> <built-in function isinstance> returned a result with an error set: 
#28 0xffffffff in #29 0x080b1bd9 in  ()

Offline

#6 2016-11-25 21:50:35

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: xnView warning: directory permissions differ, then segmentation fault

Please contact manjaro

But that's not a backtrace, but a (pretty unspecific) python exception and xnview doesn't depend on python, so I don't understand how that could be related?

Offline

#7 2016-11-26 13:44:09

quiniouben
Member
Registered: 2016-11-25
Posts: 2

Re: xnView warning: directory permissions differ, then segmentation fault

SOrry yep sure, the trace is not very meaningful, but that's the output of gdb (which runs fine on this machine).
xnviewmp is not compiled but binary provided by developers, so well, apart ip and sp, it's hard to get something from it or are the symbols somewhere hidden in the package ?
I know I report here on a manjaro machine, but I am arch linux user too, and I must admit I am surprised to see xnviewmp runs fine on my arch linux machine (64-bit arch and os, no desktop environment, only xmonad window manager) but not on another machine with manjaro (32bit and xfce).
I will try to get more clue and let you know if I reach some knowledge.

Offline

Board footer

Powered by FluxBB