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

Johan Söllvander jsollvander at axcient.com
Wed Mar 8 09:50:25 CET 2023


Hi Christian,

I just tested the 7.4-r5461 build and can confirm that the problem is 
fixed. Thanks!

Best Regards
Johan Söllvander
Cloud Engineer, Axcient

On 3/7/23 20:06, Christian Franke wrote:
> CAUTION – EXTERNAL SENDER
> 
> 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