Page 1 of 1

ProcEnviron: Error: [Errno 13] Permission denied: 'environ'

Posted: 02 Nov 2019 15:27
by rocky
File obtained called _usr_bin_vlc.1000.crash

Log file:
https://pastebin.com/aGtAJ3a6

Re: ProcEnviron: Error: [Errno 13] Permission denied: 'environ'

Posted: 10 Nov 2019 01:05
by wizball
Strange.. all running tasks are assigned a PID and the Linux memory
internals belonging to that task are accessible in a virtualized folder ie;-

/proc/<PID>/

If listed, the files within that folder will all show zero bytes by
the file system, however the files do contain accessible data.

Run VLC and in a terminal and try:

To find VLC`s PID eg:-

Code: Select all

ps -C vlc PID TTY TIME CMD 7924 tty2 00:00:00 vlc

Then using the pid number, display the environ contents:-

Code: Select all

cat /proc/7924/environ

If there is no error and the Environment displays in the terminal,
there should be no reason why VLC reports 'Permission Denied'.

Re: ProcEnviron: Error: [Errno 13] Permission denied: 'environ'

Posted: 10 Nov 2019 12:17
by rocky
@wizball I'll test what you say, if I can reproduce the issue, because happened only once and it's random, not every time you launch vlc.