pytorch
7c5e07f8 - [kineto] guard global observer init against Edge profiler (#86347)

Commit
2 years ago
[kineto] guard global observer init against Edge profiler (#86347) Summary: looks like Sandcastle CI didn't cover any of concrete mobile CI(cc: kimishpatel i'd assume we have ton of mobile tests in Github?). This is failing on Oculus with the similar failure as Mac(not sure if this is an ARM thing). either way on demand tracing should not be enabled on these platforms so disable them completely in the future, we should have runtime check on this for even safer guarding Test Plan: Set up Hollywood via P536072492 ## Before crash on mutex. likely SIOF ``` FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x5d7e298b08) *** Aborted at 1665017107 (Unix time, try 'date -d 1665017107') *** *** Signal 6 (SIGABRT) (0xeca) received by PID 3786 (pthread TID 0x785bd1eed0) (linux TID 3786) (maybe from PID 3786, UID 0) (code: -1), stack trace: *** (error retrieving stack trace) ``` ## After Redacted in the top but the test passes without the crash P536101962 Differential Revision: D40129840 Pull Request resolved: https://github.com/pytorch/pytorch/pull/86347 Approved by: https://github.com/aaronenyeshi
Author
Committer
Parents
Loading