-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIX] RuntimeError: structure size mismatch when process_iter is used #1575
Comments
I am unable to reproduce this on my setup. Can you please share a few more details?
|
Here it is. AIX version:
Python version:
Python build:
|
I'm afraid I still can't reproduce this, with the same OS level and build architecture of Python. - PyErr_SetString(PyExc_RuntimeError, "structure size mismatch");
+ PyErr_SetString(PyExc_RuntimeError, "structure size mismatch %s %zu %zu", path, size, nbytes); This way we can find out which file is casing trouble and how. |
Sure, I get it, it's very difficult to reproduce it, even in our setup. I don't know if my team will be eager to recompile psutil with your change, so I guess you can put this ticket "on hold" for now. If I collect some more interesting data, I will get back here and let you know. |
Any news on this issue? |
This issue has been automatically closed because there has been no response for more information from the original author. Please reach out if you have or find the answers requested so that this can be investigated further. |
@bartekmp did you manage to fix this? We also saw it happen. |
I am also seeing this issue on AIX |
AIX
Bug description
From time to time we encounter weird issue when using psutil on our AIX setup. It is yet unclear how to reproduce it. Notice the
AttributeError
being thrown in_common.py
at first.For now I use this snippet to reproduce the problem, cause I've got no idea what is a precondition to make it happen again:
The text was updated successfully, but these errors were encountered: