1 Apr 2009 01:41
Re: rbtree problems in libpthread
Matthias Drochner <M.Drochner <at> fz-juelich.de>
2009-03-31 23:41:17 GMT
2009-03-31 23:41:17 GMT
christos <at> astron.com 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 ------------------------------------------------------------------- -------------------------------------------------------------------
RSS Feed