malloc in tftp server

Adam Lackorzynski adam at
Tue May 31 23:34:38 CEST 2005


On Tue May 31, 2005 at 16:28:14 +0200, Leon Brits wrote:
> I am adding a bit of extra code to the TFTP server and I found that if I
> malloc() memory that I get the error:
> ../com/register.c:78: failed assertion `global_registry'
> I've added the following line...
> l4_ssize_t l4libc_heapsize = 4*1024;
> the main file but I still get the error.

Works for me. Are you doing anything special?

I can only see the assertion if I leave out the l4libc_heapsize line.

Adam                 adam at

More information about the l4-hackers mailing list