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
Segfault in stringobject.c #48608
Comments
I'm encountering random segfaults on multiple machines. By examining I'm using Python 2.5.2 on debian in a threaded environment with heavy |
Another Backtrace. I have three other core dumps with exact same |
Has nothing to do with ctypes (the package), unassigning. |
This is difficult: the backtrace only show plain python operations. One backtrace shows a memory corruption in the obmalloc data. This may come from a You initially selected ctypes in "Components", does this mean that your program For example, on Windows:
>>> import ctypes
>>> c = ctypes.CDLL('msvcrt')
>>> a = " "
>>> c.strcpy(a, "X" * 50)
50
>>> a
'XXXX'
... and the crash is not far. Another case of corruption in obmalloc is to try to allocate python objects while In any case, I suggest that you build and a use a debug-enabled version of python |
No, there isn't any custom made C extension, nor I'm using ctypes. (It |
pyexpat or pygresql is maybe not thread safe. To catch such error, you Note: remember me to translate this article to english! |
farshad: Is the bug still open? If yes, can you give more |
There are not enough informations to reproduce the issue or understand |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: