Segmentation Fault or Timeout Caused by the Combination of Multiple Parameters

Hello developers,

I’ve identified several sets of configuration parameters that can cause Segmentation Faults or poll timeouts in PX4 Copter (jmavsim, to be exact). I’d like to ask how you view this kind of bug — is it something that is planned to be fixed?

: ) Apologies for the repeated message — I also submitted this as a GitHub issue but haven’t received a response.

Below are the specific input parameters, their values, and a description of the resulting issues:

  1. Setting these two parameters simultaneously results in a Segmentation Fault in jmavsim.
    param set EKF2_MAG_NOISE 10000.0
    param set SENS_MAG_RATE 1.99

  2. Setting these two parameters together causes the drone in jmavsim to crash and lose connection, with: ERROR [simulator_mavlink] poll timeout 0, 22
    param set IMU_GYRO_NF0_BW 1232.18
    param set IMU_GYRO_NF0_FRQ 4.76

  3. After setting this pair of parameters, jmavsim delays for a few to several seconds and then triggers a Segmentation Fault.
    param set EKF2_GPS_POS_Y 159.81
    param set EKF2_GPS_V_NOISE 10000.0

  4. After setting this pair of parameters, jmavsim delays for a few to several seconds and then triggers a Segmentation Fault.
    param set EKF2_GPS_POS_Y 971.2
    paramset EKF2_GPS_P_NOISE 10000.0