luigimarmo / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

psutil crashes during import in _get_terminal_map #433

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. import psutil (sometimes, crash happens inconsistently)

What is the expected output?
Nothing.

What do you see instead?
http://fpaste.org/41528/99401811/

What version of psutil are you using? What Python version?
psutil 1.0.1 python 2.7.1+

On what operating system? Is it 32bit or 64bit version?
Ubuntu 12.04 64bit

Please provide any additional information below.

Original issue reported on code.google.com by rpkell...@gmail.com on 23 Sep 2013 at 12:45

GoogleCodeExporter commented 8 years ago
Mmm. I can't understand how this can happen because the code should already 
check (and ignore) ENOENT / "no such file" errors:
https://code.google.com/p/psutil/source/browse/psutil/_psposix.py?spec=svndfe285
38a19f1de256a2a0ae58357c5b54b33fd5&r=c8451ddcf74679736825c95c8b20941e565538f0#13
4

Can you please try using latest repository version of psutil (checkout with "hg 
clone https://g.rodola@code.google.com/p/psutil/")

Original comment by g.rodola on 23 Sep 2013 at 12:53

GoogleCodeExporter commented 8 years ago
Huh, seems this one machine has a different version of psutil... hooray. Sorry 
for the noise.

Original comment by rpkell...@gmail.com on 23 Sep 2013 at 9:19

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 23 Sep 2013 at 9:36