Concentratord crashing on RPi 4 with Pi Supply hat

I am trying to run Concentratord on a RPi 4 with Pi Supply lora gateway hat but it crashes with the following message:

thread ‘main’ panicked at chirpstack-concentratord-sx1301/src/main.rs:111:80:
called Result::unwrap() on an Err value: lgw_start failed
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Enabling backtrace doesn’t give any more information the binary doesn’t have debug symbols. The log doesn’t give any error messages neither.

However, if I run the binary with strace to see what it does when it crash then it works fine. Hence I suspect that the root cause is some kind of race condition, that is usually the case when it works running it with strace since then it is a bit slower. That means that the hw configuration should be ok. Spi, uart and i2c_arm are on.

The same hardware works fine with Gateway OS.

I’m not sure if I can help you with this, because if it works with the ChirpStack Gateway OS, it should also fail if there is a race condition, or at least it should fail occasionally…