Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A segmentation fault generated after add collection several times #143

Open
kurtlau opened this issue Aug 17, 2022 · 0 comments
Open

A segmentation fault generated after add collection several times #143

kurtlau opened this issue Aug 17, 2022 · 0 comments

Comments

@kurtlau
Copy link

kurtlau commented Aug 17, 2022

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 /data/rwbyguo/trunk/server/external/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 /data/rwbyguo/trunk/server/external/PhysX/PxShared/src/foundation/include/PsHashInternals.h:381
#3  0x0000000000b778fc in reserve (size=<optimized out>, this=0x680af90) at /data/rwbyguo/trunk/server/external/PhysX/PxShared/src/foundation/include/PsHashInternals.h:209
#4  reserve (size=<optimized out>, this=0x680af90) at /data/rwbyguo/trunk/server/external/PhysX/PxShared/src/foundation/include/PsHashInternals.h:777
#5  physx::Cm::Collection::add (this=0x680af50, _collection=...) at /data/rwbyguo/trunk/server/external/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant