[smartmontools-support] 'Smartctl: Exception: json.cpp(313): Assertion failed: p->type == nt_array' when using -l error and json options concurrently
Christian Franke
Christian.Franke at t-online.de
Thu Jan 12 18:12:11 CET 2023
Hello Taylor,
Taylor Vent via Smartmontools-support wrote:
> Came across the following error that said to inform this email address:
> smartctl --all --json --tolerance=permissive --smart=on /dev/sda
> Smartctl: Exception: json.cpp(313): Assertion failed: p->type == nt_array
> Please inform smartmontools-support at listi.jpberlin.de, including
> output of smartctl -V.
> Narrowing down the flags that --all includes, everything works except
> for '-l error', which on its own and combined with --json fails with
> the same error:
> smartctl -l error /dev/sda --json
> Smartctl: Exception: json.cpp(313): Assertion failed: p->type == nt_array
> Please inform smartmontools-support at listi.jpberlin.de, including
> output of smartctl -V.
>
> Here is the output without the --json option:
>
> smartctl -l error /dev/sda
> smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.15.0-48-generic] (local
> build)
> Copyright (C) 2002-22, Bruce Allen, Christian Franke,
> www.smartmontools.org
> ...
Thanks for the detailed bug report. The problem should be fixed in
r5434. Please test if possible. CI builds are available at
https://builds.smartmontools.org/
Regards,
Christian
More information about the Smartmontools-support
mailing list