UE segfaults when --ue-nb-ant-rx, --ue-nb-ant-tx, and uecap file does not match
If for whatever reason, --ue-nb-ant-rx
and --ue-nb-ant-tx
parameters specify antennas fewer than stated by the uecap file, UE will segfault as soon as a PDU session is created.
It is clear that this configuration should not work but segfaulting without any hint what is wrong makes it difficult to identify the issue. Maybe some checks and prints would be useful.