[ksh93-integration-discuss] OOPS Re: Fun with dbx/ksh93: % bcheck -all ./arch/sol10.sun4/bin/ksh # results in "RTC: program wrote over private RTC data"

Glenn Fowler gsf at research.att.com
Wed May 24 02:22:06 PDT 2006


I feel like I'm monitoring secret RTC society traffic ...

can someone just spell out what RTC requires of
	malloc()
	realloc()
	free()
in user code

ast already has macro hooks to associate __FILE__ __LINE__ __FUNCTION__
with each vmalloc/malloc/calloc/strdup allocation/free/resize

the hooks are enabled by nmake --debug-symbols ( i.e. CCFLAGS=-g )
and enabled at runtime by export VMDEBUG

the hooks essentially make the caller __FILE__ __LINE__ __FUNCTION__
available to the underlying vmalloc allocation method/discipline

if I deciphered this thread correctly one would just need to add
RTC instrumentation callouts to the underlying method/discipline

-- Glenn Fowler -- AT&T Research, Florham Park NJ --




More information about the ksh93-integration-discuss mailing list