[asterisk-dev] A problem with Hash Tables...
Marta Carbone
wrig at tiscali.it
Sun Sep 9 17:26:41 CDT 2007
Hi,
On Sat, Sep 08, 2007 at 03:35:46PM -0600, Steve Murphy wrote:
> On Sat, 2007-09-08 at 00:04 -0700, Luigi Rizzo wrote:
[...]
> see team/murf/datastructs; I've checked in my utils/hashtest2.c file;
> right at the moment it's crashing, but it worked fine yesterday. The
> utils/Makefile is made to compile hashtest2 with everything else.
> Something must have changed... the crash I see is during the traversal,
> I'm unref'ing a pointer as I'm about to iterate again when the crash
> occurs.
>
> It could easily be that I have the wrong version of astobj2 or
> something. See if you have the same problem...
>
in team/marta/astobj2, commit 82061 fixes a possible race that could
have caused the crash in your test.
The same problem is also present in trunk, please consider reviewing
and applying the fix.
marta
More information about the asterisk-dev
mailing list