[Ltrace-devel] [RFC 1/5] vect: Fix vect_reserve for large count

Petr Machata pmachata at redhat.com
Fri Oct 5 20:51:32 UTC 2012


"Edgar E. Iglesias" <edgar.iglesias at gmail.com> writes:

> The issue is that if count is large enough, na might not end up as
> count triggering the assert. We can keep the exponential growth with
> another fix. I didnt realize that was important here.

Ah, I see.  I'm hitting this problem with your testcase applied on bare
master as well:

func_sprintf(ltrace: ../value_dict.c:122: val_dict_get_num: Assertion `num < vect_size(&dict->numbered)' failed.
Aborted

Thank you,
PM



More information about the Ltrace-devel mailing list