Closed juh2600 closed 1 year ago
Glancing at the capture, it appears that the scope is reporting zero points in the waveform preamble (the final WF:PRE?).
This is probably triggering an integer over/underflow, divide by zero, or similar in the RigolOscilloscope driver. The correct way to handle this would be for AcquireData() to simply not return any waveforms.
Broken out from #815 per https://github.com/ngscopeclient/scopehal/issues/815#issuecomment-1818190650.
Observed in Linux Release build of ngscopeclient ecc525e, scopehal 2f49730, using a Rigol DS1054Z connected via LAN.
To reproduce:
rm -rf ~/.config/ngscopeclient/
ngscopeclient --debug --trace SCPISocketTransport
This procedure doesn't always generate an FPE, but it does sometimes.
couple-gnd-sigfpe.txt