|
|
Am 27.02.2016 um 14:04 schrieb Le_Forgeron:
> traced to se.resize()
>
> void mkfree(GenericSpline * sp, SplineEntryList::size_type i)
> {
> SplineEntryList::size_type j;
> SplineEntryList& se = sp->SplineEntries;
>
> se.resize(se.size()+1);
> for (j=sp->SplineEntries.size()-1; j>i; j--)
> se[j] = se[j-1];
> }
>
> But it might be due to a previous memory corruption because the
> segfault is due to malloc.c, a code that is safe as long as memory is
> not corrupted.
`se.resize()` is `std::vector::resize()`, so yes, I guess we can safely
presume that the error is somewhere else ;)
Post a reply to this message
|
|