[Xorp-cvs] XORP cvs commit: xorp/utils/flower_malloc

Pavlin Radoslavov pavlin at icir.org
Thu Aug 3 11:17:01 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-08-03 18:17:01 UTC

XORP CVS repository


Modified files:
	utils/flower_malloc flower_malloc.c 

Log message:
	Decrease BACKSPACE_DEPTH from 4 to 2.
	
	If BACKTRACE_DEPTH is larger than 2, then the program coredumps
	on amd64 + FreeBSD-6.1.
	If it is larger than 4, the program coredumps on i386 + FreeBSD-4.10.
	
	Note that the mechanism for getting the backspace implemented
	inside get_backtrace() is not robust enough, hence we need this
	hand-crafting of BACKSPACE_DEPTH.
	
	See the following discussion about the issue itself:
	http://www.codecomments.com/archive286-2004-12-348859.html
	Also, see the glibc implementation of backtrace(3)
	(e.g., inside "debug/backtrace.") for some ideas how to implement it.

Revision  Changes                              Path
1.5       +6 -1;  commitid: 9d9e44d23b517ea6;  xorp/utils/flower_malloc/flower_malloc.c



More information about the Xorp-cvs mailing list