On Tue, 2020-07-28 at 16:14 +0200, milan hauth wrote:
>
> hello again
>
> when i run
> sigrok-cli --continuous --driver hantek-dso --output-format srzip
> --output-file sigrok-cli.out
> with my device that has no logic channels (only analog channels)
> sigrok-cli crashes with
>
> Thread 1 "sigrok-cli" received signal SIGFPE, Arithmetic exception.
> _ in zip_create (o=_) at src/output/srzip.c:208
> 208   alloc_size /= outc->logic_buff.unit_size;

This one got reported (via PM) and fixed just yesterday.
https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=9dde746023c99a9cd8a34ef7c4b60bad4f78f283

It was my fault, I tested with logic data and with mixed signals,
but analog-only escaped me (and everybody else who ran the code
and reported success).

Thank you for checking, and coming up with a fix!


virtually yours
Gerhard Sittig
--
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to