Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rbtree problems in libpthread



christos%astron.com@localhost said:
> > (btw, I think the use of rbtree in libpthread is not completely >
> > clean because the pointer subtraction in pthread__cmp() can >overflow
> > but this doesn't seem to be the problem here) 

actually, this is the problem. I'll write more tomorrow.

> Do you have a regression test?

I've created a test which tries to replay the rbtree actions which
lead to the error. This can be used as a base for a rbtree test.

But the rbtree code is not to blame, the guily part is pthread__cmp().

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index