If I run the following command with any input file, sigrok-cli fails: $ sigrok-cli -I binary -i dump.bin -P spi:mosi=0:sck=1 Unable to initialize protocol decoders: no samplerate found. Floating point exception This... $ sigrok-cli -I binary:samplerate=1000 -i dump.bin -P spi:mosi=0:sck=1 ...and this... $ sigrok-cli -I binary -i dump.bin -P spi:mosi=0:sck=1 --config samplerate=100 ...both fail in the exact same way.
This has been fixed in the mean time (in libsigrokdecode most likely). It works fine with "-I binary:samplerate=1000" for example for PDs which need a samplerate, but the ":samplerate=1000" can also be omitted completely for PDs which don't need a samplerate.