[smartmontools-support] Smartmontools JSON crash

Adam Krupička akr at mail.muni.cz
Wed Mar 27 10:42:58 CET 2019


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.

➜  ~ sudo smartctl -V -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

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 7.0 dated 2018-12-30 at 14:47:55 UTC
smartmontools SVN rev 4883 dated 2018-12-30 at 14:48:54
smartmontools build host: x86_64-pc-linux-gnu
smartmontools build with: C++14, GCC 8.2.1 20181127
smartmontools configure arguments: '--prefix=/usr' '--sbindir=/usr/bin' '--sysconfdir=/etc' '--with-drivedbdir' '--with-libcap-ng=yes' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--with-smartdscriptdir=/usr/share/smartmontools' '--with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'


All the best,
Adam Krupicka



More information about the Smartmontools-support mailing list