Isaac sim crashed suddenly when using websocket

currently I’m using isaac sim with docker. I start isaac by python code and load a scene. Then I used websocket to interact with it. At first everything looks fine. And I can interact with the editor. But suddenly it crashed. Here is the report logs. Not sure what’s the cause.

2021-09-26 07:47:14 [2,612,142ms] [Error] [omni.livestream-websocket.plugin] Error while sending buffer: invalid state
2021-09-26 07:47:16 [2,614,535ms] [Fatal] [carb.crashreporter-breakpad.plugin] libcarb.crashreporter-breakpad.plugin.so!_init
2021-09-26 07:47:16 [2,614,551ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!std::rethrow_exception(std::__exception_ptr::exception_ptr)
2021-09-26 07:47:16 [2,614,564ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__cxa_throw_bad_array_new_length
2021-09-26 07:47:16 [2,614,577ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__gxx_personality_v0
2021-09-26 07:47:16 [2,614,590ms] [Fatal] [carb.crashreporter-breakpad.plugin] libgcc_s.so.1!_Unwind_GetTextRelBase
2021-09-26 07:47:16 [2,614,602ms] [Fatal] [carb.crashreporter-breakpad.plugin] libgcc_s.so.1!_Unwind_RaiseException
2021-09-26 07:47:16 [2,614,615ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__cxa_throw
2021-09-26 07:47:16 [2,614,617ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!carbOnPluginShutdown
2021-09-26 07:47:16 [2,614,620ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!carbOnPluginShutdown
2021-09-26 07:47:16 [2,614,623ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!std::istreambuf_iterator<char, std::char_traits<char> >::equal(std::istreambuf_iterator<char, std::char_traits<char> > const&) const
2021-09-26 07:47:16 [2,614,625ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!boost::system::system_error::what() const
2021-09-26 07:47:16 [2,614,628ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!std::ctype<char>::do_widen(char) const
2021-09-26 07:47:16 [2,614,631ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!transaction clone for std::underflow_error::~underflow_error()
2021-09-26 07:47:16 [2,614,644ms] [Fatal] [carb.crashreporter-breakpad.plugin] libpthread.so.0!start_thread
2021-09-26 07:47:16 [2,614,656ms] [Fatal] [carb.crashreporter-breakpad.plugin] libc.so.6!clone
terminate called after throwing an instance of 'websocketpp::exception'
  what():  invalid state
2021-09-26 07:47:17 [2,615,610ms] [Error] [carb.crashreporter-breakpad.plugin] failed to write .dmp to: '/isaac-sim/kit/data/Kit/Isaac-Sim/2021.1/0ae582d7-c268-4ab4-4a918b9e-822173fc.dmp'
2021-09-26 07:47:17 [2,615,624ms] [Fatal] [carb.crashreporter-breakpad.plugin] libpthread.so.0!funlockfile
2021-09-26 07:47:17 [2,615,637ms] [Fatal] [carb.crashreporter-breakpad.plugin] libc.so.6!gsignal
2021-09-26 07:47:17 [2,615,649ms] [Fatal] [carb.crashreporter-breakpad.plugin] libc.so.6!abort
2021-09-26 07:47:17 [2,615,662ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!+0x8c957
2021-09-26 07:47:17 [2,615,674ms] [Fatal] [carb.crashreporter-breakpad.plugin] libcarb.crashreporter-breakpad.plugin.so!_init
2021-09-26 07:47:17 [2,615,687ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!std::rethrow_exception(std::__exception_ptr::exception_ptr)
2021-09-26 07:47:17 [2,615,699ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__cxa_throw_bad_array_new_length
2021-09-26 07:47:17 [2,615,712ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__gxx_personality_v0
2021-09-26 07:47:17 [2,615,725ms] [Fatal] [carb.crashreporter-breakpad.plugin] libgcc_s.so.1!_Unwind_GetTextRelBase
2021-09-26 07:47:17 [2,615,739ms] [Fatal] [carb.crashreporter-breakpad.plugin] libgcc_s.so.1!_Unwind_RaiseException
2021-09-26 07:47:17 [2,615,754ms] [Fatal] [carb.crashreporter-breakpad.plugin] libstdc++.so.6!__cxa_throw
2021-09-26 07:47:17 [2,615,757ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!carbOnPluginShutdown
2021-09-26 07:47:17 [2,615,759ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!carbOnPluginShutdown
2021-09-26 07:47:17 [2,615,761ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!std::istreambuf_iterator<char, std::char_traits<char> >::equal(std::istreambuf_iterator<char, std::char_traits<char> > const&) const
2021-09-26 07:47:17 [2,615,763ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!boost::system::system_error::what() const
2021-09-26 07:47:17 [2,615,765ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!std::ctype<char>::do_widen(char) const
2021-09-26 07:47:17 [2,615,767ms] [Fatal] [carb.crashreporter-breakpad.plugin] libomni.livestream-websocket.plugin.so!transaction clone for std::underflow_error::~underflow_error()
2021-09-26 07:47:17 [2,615,777ms] [Fatal] [carb.crashreporter-breakpad.plugin] libpthread.so.0!start_thread
2021-09-26 07:47:17 [2,615,787ms] [Fatal] [carb.crashreporter-breakpad.plugin] libc.so.6!clone
./python.sh: line 27:    13 Aborted                 (core dumped) $python_exe $@
There was an error running python

Please check the RAM usage while you load the scene. There is a known bug in Isaac Sim 2021.1.1 that uses too much RAM. This is improved in the upcoming 2021.2 version.
If this issue is RAM related, you can try increasing you swap size or increase your physical RAM.

I’m using machine with 64GB RAM , and 40G was used by the isaac sim proccess. Recently I do find out that isaac sim used too much memory. But RAM is not running out , so I don’t know what is the reason. I’ll try to increase the swap RAM to see if it helps

1 Like