Crash while running grpc and spdlog fwk in Jetson TX2

grpc crash is happening on all builds of grpc…

Link for the bug raised to grpc…
In the above grpc scenarios it sometimes fails with bus error,sometimes segv,sigabrt as well…not at all stable …

Even using spdlog is also causing crash related to shared_ptr…
printing inside a loop was done …and it crashed…no variables was used either…

NOTE: X86 arch 64 bit it works perfectly fine no crash at all for the above scenario and very stable as well

FOR cross compilation followed the below link:

we checked that the above crash does not happen in x86 with current code and between jetson due to thread management such issue happened…same code which works fine in x86 doesnot work properly in jetson (arm aarch64)…

Main thread —> T1---->T2
now when T1 exits T2 is crashing…