[RPL/2] Need some help ;-)

BERTRAND Joël joel.bertrand at systella.fr
Mar 4 Mar 15:39:46 CET 2008


	Hello,

	I'm rewritting a new memory management subsystem to avoid multiple 
copies of complex objects in RPL/2. I have modified all intrinsic 
functions between src/instructions_a1.c and src/instructions_c4.c, but I 
cannot assure there is no bug ;-) (Segmentation fault or memory leak). 
Can you test this new memory subsystem ? You have to test all arguments 
of all instrinsics with :

test
<<
	do
		'test function' clear
	until
		false
	end
 >>

	You can try too :

rpl -is
RPL/2> 'arguments' depth dupn 'function'

to test if result is good (and dupn'd arguments are not changed).
Please not that this new subsystem uses a BUG() macro that raises a 
SIGSEGV when garbage collector tries to free unallocated memory. At this 
time, I think that all programs that run fine with 4.0.0.pre.4 shall 
hang with 4.0.0.pre.5.

	I have tried to build RPL/2 on NetBSD without any success because 
NetBSD doesn't know RT signals. If I have time, I will disable RT 
signals (and multitask features) on systems that doesn't provide RT signals.

	Regards,

	JKB


Plus d'informations sur la liste de diffusion RPL2