Trouble with l4rm_region_cache slab

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Jan 20 19:06:42 CET 2008


Hi,

On Fri Jan 18, 2008 at 11:36:53 +0100, Marc CHALAND wrote:
> I got an application which crashes into slab_alloc (slab.c:358). After
> some investigation, I've found the faulty slab : l4rm_region_cache.
> slabs_part != NULL, free_objs == NULL and num_free == 2.
> 
> My first question is : do you agree this state should not happen ?
> 
> If yes, I've got the following solutions :
> 1. there's a bug in slab library,
> 2. there's a bug in l4rm grow function,
> 3. synchro problem.
> 
> It don't believe in 1 or 3. But, in fact, I don't understand l4rm grow
> mechanism.
> 
> Another info : one of the analysed crash happened into l4thread_create.

By any chance, can you provide a small test case which triggers this?


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list