This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Malloc, memory error, failmalloc, low memory.
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: illume, nnorwitz
Priority: normal Keywords:

Created on 2006-07-19 23:28 by illume, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg29218 - (view) Author: Rene Dudfield (illume) Date: 2006-07-19 23:28
The failmalloc library can be used to simulate high
load, low memory conditions.

http://www.nongnu.org/failmalloc/

It reports that python segfaults under some conditions
when memory allocation fails.

"
$ LD_PRELOAD=libfailmalloc.so FAILMALLOC_INTERVAL=10 python
Fatal Python error: Can't initialize 'type'
Aborted
$ LD_PRELOAD=libfailmalloc.so FAILMALLOC_INTERVAL=100
python
Segmentation fault
"
msg29219 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-07-21 05:41
Logged In: YES 
user_id=33168

Committed revision 50743.
Committed revision 50742.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43695
2006-07-19 23:28:37illumecreate