There is an assertion failure when freeing an arena in cmsutil, when signing
a message.
The following is the code section responsible for the arena:
if (mode == SIGN || mode == ENVELOPE || mode == CERTSONLY) {
PLArenaPool *arena = PORT_NewArena(1024);
...
...
PORT_FreeArena(arena, PR_FALSE);
}
The assertion that fails is in FreeArenaList():
#ifdef DEBUG
do {
PR_ASSERT(a->base <= a->avail && a->avail <= a->limit);
a->avail = a->base;
PL_CLEAR_UNUSED(a);
} while ((a = a->next) != 0);
a = *ap;
#endif
I wanted to know whether this is a known bug, or should I check whether I
used the wrong RTL or something... this bug occures after having built nss
from scratch, without any code intervention whatsoever, and has risen up
while I was running the test suite.
Thanks,
Uriel Ginsburg