libsurvive icon indicating copy to clipboard operation
libsurvive copied to clipboard

Can't run simulator

Open awoodthomas opened this issue 4 months ago • 0 comments

Describe the bug Cannot run the simulator.

./bin/survive-cli --simulator
Info: Setting up Simulator driver.
Info: Adding tracked object SM0 from SIM
Info: Loaded drivers: Simulator, GlobalSceneSolver
Segmentation fault (core dumped)

Looking at the failure with lldb:

* thread #1, name = 'survive-cli', stop reason = signal SIGSEGV: invalid address (fault address: 0x1350)
    frame #0: 0x00007ffff7f09c34 libsurvive.so.0`survive_kalman_lighthouse_ootx(tracker=0x0000000000000000) at survive_kalman_lighthouses.c:221:22
   218          }
   219  }
   220  void survive_kalman_lighthouse_ootx(SurviveKalmanLighthouse *tracker) {
-> 221          tracker->state.BSD0 = tracker->ctx->bsd[tracker->lh].fcal[0];
   222          tracker->state.BSD1 = tracker->ctx->bsd[tracker->lh].fcal[1];
   223  }
   224  void minimize_error_state_model_fn(void *user, const struct CnMat *x0, const struct CnMat *x1,

Desktop (please complete the following information):

  • OS: WSL Ubuntu 22.04.5 LTS

awoodthomas avatar Sep 02 '25 22:09 awoodthomas