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

*nix specific usage questions
rocky
Blank Cone
Blank Cone
Posts: 61
Joined: 13 Jan 2007 12:21
Contact:

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

Postby rocky » 02 Nov 2019 15:27

File obtained called _usr_bin_vlc.1000.crash

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

wizball
New Cone
New Cone
Posts: 7
Joined: 24 Oct 2019 20:38
Contact:

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

Postby wizball » 10 Nov 2019 01:05

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'.
Last edited by wizball on 10 Nov 2019 12:43, edited 5 times in total.

rocky
Blank Cone
Blank Cone
Posts: 61
Joined: 13 Jan 2007 12:21
Contact:

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

Postby rocky » 10 Nov 2019 12:17

@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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests