[ python-Bugs-1525589 ] Malloc, memory error, failmalloc, low memory.

SourceForge.net noreply at sourceforge.net
Fri Jul 21 07:41:53 CEST 2006


Bugs item #1525589, was opened at 2006-07-19 16:28
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525589&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Rene Dudfield (illume)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Malloc, memory error, failmalloc, low memory.

Initial Comment:
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
"

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-07-20 22:41

Message:
Logged In: YES 
user_id=33168

Committed revision 50743.
Committed revision 50742.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525589&group_id=5470


More information about the Python-bugs-list mailing list