-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Description
When attempting TX calibration on LimeSDR Mini using limeGUI, the application crashes with a SIGFPE (floating point exception).
Steps to Reproduce
- Launch limeGUI on Ubuntu 24.04
- Connect a LimeSDR Mini
- Start TX calibration
- Observe the crash
Expected Behavior
TX calibration should complete successfully or handle invalid RSSI values gracefully.
Actual Behavior
The program crashes with a SIGFPE at line 1059 in calibration.c due to division by zero.
Relevant Code
if ((rssi * 100) / rssi_prev < 105) // pga should give ~1dB changeHere, rssi_prev == 0, causing a floating point exception.
System Information
- OS: Ubuntu 24.04
- Hardware: LimeSDR Mini
- Application: limeGUI (LimeSuiteNG)
- Error: SIGFPE at calibration.c:1059
Build Info
- Branch: develop
- Commit: de344a5
Attachments
Screenshots related to the crash:

Suggested Fix
Add a check to prevent division by zero:
if (rssi_prev != 0 && (rssi * 100) / rssi_prev < 105)Metadata
Metadata
Assignees
Labels
No labels