Description

No user comments in crash group

  760       PX_ASSERT((!capacity) || (newData && (newData != mData)));
  761       copy(newData, newData + mSize, mData);
  762       
  763       // inserting element before destroying old array
  764       // avoids referencing destroyed object when duplicating array element.
  765 ***** PX_PLACEMENT_NEW(reinterpret_cast<void*>(newData + mSize), T)(a);
  766       
  767       destroy(mData, mData + mSize);
  768       if(!isInUserMemory())
  769       deallocate(mData);
  770       
Steps to Reproduce

Play the attached project. May take a couple of tries to cause crash.

Callstack
Access violation - code c0000005 (first/second chance not available)

<unknown module>!NvClothPROFILE_x64!physx::shdfnd::Array<nv::cloth::`anonymous namespace'::VertexDistanceCount,nv::cloth::NonTrackingAllocator>::growAndPushBack()
<unknown module>!NvClothPROFILE_x64!nv::cloth::ClothGeodesicTetherCooker::createTetherData()
<unknown module>!NvClothPROFILE_x64!nv::cloth::FabricCookerImpl::cook()
<unknown module>!NvClothPROFILE_x64!NvClothCookFabricFromMesh()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62728 in the post.

16
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.204.21
Target Fix4.25.1
CreatedAug 9, 2018
ResolvedJun 10, 2020
UpdatedJun 11, 2020
View Jira Issue