[smartmontools-support] Assertion error when output is JSON formatted

Christian Franke Christian.Franke at t-online.de
Tue Mar 7 20:06:30 CET 2023


Johan Söllvander wrote:
> Hey,
>
> I just got this assertion error when I was trying to print all SMART 
> information about a failing disk in JSON output mode:
>
> smartctl -a /dev/da307 --json
> Smartctl: Exception: json.cpp(313): Assertion failed: p->type == nt_array
>
>
> Version:
>
> smartctl 7.3 2022-02-28 r5338 [FreeBSD 13.0-AXCIENT3-p5 amd64] (local 
> build)

Thanks for the problem report. This should be fixed in current SVN. If 
possible, please test a CI build from
https://builds.smartmontools.org/

Thanks,
Christian



More information about the Smartmontools-support mailing list