OmniDrones icon indicating copy to clipboard operation
OmniDrones copied to clipboard

Debugging with VSCode causes `Inconsistency detected by ld.so` when calling SimulationApp

Open barrosiuri opened this issue 1 year ago • 0 comments

When I tried to debug the train.py file using VSCode, I could not start the Isaac Sim's SimulationApp, which led to the following error:

[4.786s] Simulation App Starting Inconsistency detected by ld.so: ../elf/dl-tls.c: 618: _dl_allocate_tls_init: Assertion 'listp != NULL' failed!

However, the file was running without the debug.

This was an issue of the form:

/miniconda3/envs/sim/bin/../lib/libstdc++.so.6: error: version lookup error: version 'GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1)

I followed the instruction from Jason - StackOverflow and created the link to libstdc++.so.6 in my environment using:

ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 <PATH_TO_CONDA/MINICONDA>/miniconda3/envs/sim/bin/../lib/libstdc++.so.6

and I was able to run the debugger in VSCode.

I am posting this in case someone has the same issue.

barrosiuri avatar Oct 27 '23 03:10 barrosiuri