NVIDIAGameWorks/PhysX

A segmentation fault generated after add collection several times

kurtlau opened this issue · 0 comments

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff69c2860 in __memset_sse2 () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-196.tl2.3.x86_64 libgcc-7.3.1-6.tl2.x86_64 libstdc++-7.3.1-6.tl2.x86_64 zlib-1.2.7-15.el7.x86_64
(gdb) bt
#0  0x00007ffff69c2860 in __memset_sse2 () from /lib64/libc.so.6
#1  0x0000000000b79d6b in memSet (count=<optimized out>, c=<optimized out>, dest=<optimized out>) at /xxxx/PhysX/PxShared/include/foundation/unix/PxUnixIntrinsics.h:166
#2  physx::shdfnd::internal::HashBase<physx::shdfnd::Pair<physx::PxBase* const, unsigned long>, physx::PxBase*, physx::shdfnd::Hash<physx::PxBase*>, physx::shdfnd::internal::HashMapBase<physx::PxBase*, unsigned long, physx::shdfnd::Hash<physx::PxBase*>, physx::shdfnd::NonTrackingAllocator>::GetKey, physx::shdfnd::NonTrackingAllocator, true>::reserveInternal (this=this@entry=0x680af90, size=268435456) at /xxxx/PhysX/PxShared/src/foundation/include/PsHashInternals.h:381
#3  0x0000000000b778fc in reserve (size=<optimized out>, this=0x680af90) at /xxxxl/PhysX/PxShared/src/foundation/include/PsHashInternals.h:209
#4  reserve (size=<optimized out>, this=0x680af90) at /xxxx/PhysX/PxShared/src/foundation/include/PsHashInternals.h:777
#5  physx::Cm::Collection::add (this=0x680af50, _collection=...) at /xxxx/PhysX/PhysX_3.4/Source/Common/src/CmCollection.cpp:117

Collection::add reserved too many entries. After added collection serveral times, reserve size reached 268435456.