Search Issue Tracker

Won't Fix

Votes

1

Found in

2018.3.7f1

Issue ID

1138102

Regression

No

[Remote] Editor and Remote crashes when running a project via unity Remote 5 (prematurely finalized threads)

Mobile

-

To reproduce:
1. Open attached project "SkeeBall.zip", scene "Game"
2. Enter Play mode with Unity Remote device connected
3. Throw a couple of balls (2-10 attempts) by tapping the device's screen

Result: Unity Remote as well as editor crashes (log attached)

Reproduced in: 2018.3.12f1, 2019.1.0b10, 2019.2.0a11

Note1: remote not connecting to Windows10 PC
Note2: cannot reproduce on 2017.4 due to backwards incompatibility
Note3: crash trace in logs:

"Thread 0x700007f70000 may have been prematurely finalized
#0 0x000001109cabe2 in void physx::shdfnd::sort<physx::Gu::SortedTriangle, physx::shdfnd::Less<physx::Gu::SortedTriangle>, physx::shdfnd::ReflectionAllocator<physx::Gu::SortedTriangle> >(physx::Gu::SortedTriangle*, unsigned int, physx::shdfnd::Less<physx::Gu::SortedTriangle> const&, physx::shdfnd::ReflectionAllocator<physx::Gu::SortedTriangle> const&, unsigned int)
Thread 0x700007f70000 may have been prematurely finalized
#1 0x000001109b3e75 in physx::Gu::PCMSphereVsMeshContactGeneration::generateLastContacts()
Thread 0x700007f70000 may have been prematurely finalized
#2 0x000001109bef8a in physx::Gu::pcmContactSphereMesh(physx::Gu::GeometryUnion const&, physx::Gu::GeometryUnion const&, physx::PxTransform const&, physx::PxTransform const&, physx::Gu::NarrowPhaseParams const&, physx::Gu::Cache&, physx::Gu::ContactBuffer&, physx::Cm::RenderOutput*)
Thread 0x700007f70000 may have been prematurely finalized
#3 0x000001108f2fc5 in physx::PxcDiscreteNarrowPhasePCM(physx::PxcNpThreadContext&, physx::PxcNpWorkUnit const&, physx::Gu::Cache&, physx::PxsContactManagerOutput&)
Thread 0x700007f70000 may have been prematurely finalized
#4 0x000001109088ef in void PxsCMDiscreteUpdateTask::processCms<&(physx::PxcDiscreteNarrowPhasePCM(physx::PxcNpThreadContext&, physx::PxcNpWorkUnit const&, physx::Gu::Cache&, physx::PxsContactManagerOutput&))>(physx::PxcNpThreadContext*)
Thread 0x700007f70000 may have been prematurely finalized
#5 0x000001109086c8 in PxsCMDiscreteUpdateTask::runInternal()
Thread 0x700007f70000 may have been prematurely finalized
#6 0x0000011082a931 in physx::Cm::Task::run()
Thread 0x700007f70000 may have been prematurely finalized
#7 0x0000010f37f45a in PhysxJobFunc(physx::PxBaseTask*)
Thread 0x700007f70000 may have been prematurely finalized
#8 0x0000010ed2e4b0 in JobQueue::Exec(JobInfo*, long long, int)
Thread 0x700007f70000 may have been prematurely finalized
#9 0x0000010ed2eda9 in JobQueue::ProcessJobs(JobQueue::ThreadInfo*, void*)
Thread 0x700007f70000 may have been prematurely finalized
#10 0x0000010ed2dd55 in JobQueue::WorkLoop(void*)
Thread 0x700007f70000 may have been prematurely finalized
#11 0x0000010f2e74df in Thread::RunThreadWrapper(void*)
Thread 0x700007f70000 may have been prematurely finalized
#12 0x007fff50b2d661 in _pthread_body
Thread 0x700007f70000 may have been prematurely finalized
#13 0x007fff50b2d50d in _pthread_body
Thread 0x700007f70000 may have been prematurely finalized
#14 0x007fff50b2cbf9 in thread_start"

  1. Response avatar

    Resolution Note:

    We are working on a new version of the Unity Remote and this bug does not reproduce in that version.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.