Sharing a bit more details about your crash will be helpful. i.e. backtrace preferably from debug image....
— Damjan > On 10 Jul 2019, at 13:05, hari_akkin via Lists.Fd.Io > <hari_akkin=yahoo....@lists.fd.io> wrote: > > Hi All, > > We are seeing a crash when we try to get second object from > pool_get_aligned(), for a specific vector. > > If we do pre-allocation of the pool with specific number (using > pool_alloc_aligned), then the object allocation is getting successful until > that number and crashes for next object. > > However, we want to avoid the pre-allocation and want to use the dynamic > nature of vector resizing as we do not know the number of objects well in > advance. > > Is there any issue you see in this approach (or) any obvious reason for this > crash ? > > Please let me know. > > Regards, > Hari > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13477): https://lists.fd.io/g/vpp-dev/message/13477 > Mute This Topic: https://lists.fd.io/mt/32414963/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13478): https://lists.fd.io/g/vpp-dev/message/13478 Mute This Topic: https://lists.fd.io/mt/32414963/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-