[smartmontools-support] Smartmontools JSON crash

Christian Franke Christian.Franke at t-online.de
Thu Mar 28 19:00:55 CET 2019


Adam Krupička wrote:
> Hello, trying to run smartmontools on my drive crashes the utility, please see below:
>
>
> ➜  ~ sudo smartctl -a /dev/sda
> smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.0.4-arch1-1-ARCH] (local build)
> Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
>
> === START OF INFORMATION SECTION ===
> Device Model:     SanDisk SD6SB1M128G1002
> Serial Number:    142833401536
> LU WWN Device Id: 5 001b44 c4d1dbac0
> Firmware Version: X231600
> User Capacity:    128,035,676,160 bytes [128 GB]
> Sector Size:      512 bytes logical/physical
> Rotation Rate:    Solid State Device
> Form Factor:      Unknown (0x000a)
> Smartctl: Exception: json.cpp(121): Assertion failed: value
> Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V.

Already fixed in SVN, see: https://www.smartmontools.org/ticket/1154

If possible, please try a CI build: https://builds.smartmontools.org/

Thanks,
Christian




More information about the Smartmontools-support mailing list