[Bf-blender-cvs] CVS commit: blender/intern/guardedalloc MEM_guardedalloc.h blender/intern/guardedalloc/intern mallocn.c
Ton Roosendaal
ton at blender.org
Mon Nov 27 14:59:55 CET 2006
ton (Ton Roosendaal) 2006/11/27 14:59:55 CET
Modified files:
blender/intern/guardedalloc MEM_guardedalloc.h
blender/intern/guardedalloc/intern mallocn.c
Log:
More debug goodies:
WINDOWS CRASH EMULATION!
If you use the -d (debug) argument for starting blender, it will now:
- set all freed memory to 0xFFFFFFFF
- set all malloced memory to 0xFFFFFFFF
The first option will give nice crashers when you read from freed memory.
The second option is for OSX especially, it has the nasty habit to give
zeroed mallocs.
Revision Changes Path
1.9 +6 -2 blender/intern/guardedalloc/MEM_guardedalloc.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/intern/guardedalloc/MEM_guardedalloc.h.diff?r1=1.8&r2=1.9&cvsroot=bf-blender>
1.24 +20 -7 blender/intern/guardedalloc/intern/mallocn.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/intern/guardedalloc/intern/mallocn.c.diff?r1=1.23&r2=1.24&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list