smartctl assert failure: free(): invalid pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smartmontools (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
smartctl -x crashed with SPCC M.2 PCIe SSD 2 Tb under /dev/nvme1n1p1
executed command: sudo smartctl -x /dev/nvme1 | grep Temp
very rare. hard to reproduce.
ubuntu 22.04
smartmontools 7.2-1build1
ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: smartmontools 7.2-1build1
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
AssertionMessage: free(): invalid pointer
CasperMD5CheckR
Date: Sun Mar 27 23:36:07 2022
ExecutablePath: /usr/sbin/smartctl
InstallationDate: Installed on 2022-03-25 (1 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220325)
ProcCmdline: smartctl -x /dev/nvme1
ProcEnviron:
LANG=ru_RU.UTF-8
TERM=xterm-
PATH=(custom, no user)
SHELL=/bin/bash
Signal: 6
SourcePackage: smartmontools
StacktraceTop:
__libc_message (action=
malloc_printerr (str=str@
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at ./malloc/
__GI___libc_free (mem=<optimized out>) at ./malloc/
?? ()
Title: smartctl assert failure: free(): invalid pointer
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
separator:
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-25 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220325)
NonfreeKernelMo
Package: smartmontools 7.2-1build1
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: jammy
Uname: Linux 5.15.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-25 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220325)
NonfreeKernelMo
Package: smartmontools 7.2-1build1
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: jammy
Uname: Linux 5.15.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-25 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220325)
NonfreeKernelMo
Package: smartmontools 7.2-1build1
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: jammy
Uname: Linux 5.15.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
Changed in smartmontools (Ubuntu): | |
status: | Expired → New |
StacktraceTop: action@ entry=do_ abort, fmt=fmt@ entry=0x7f0bc2d d8b8c "%s\n") at ../sysdeps/ posix/libc_ fatal.c: 155 entry=0x7f0bc2d d6764 "free(): invalid pointer") at ./malloc/ malloc. c:5664 malloc. c:4439 malloc. c:3391 database: :~drive_ database (this=<optimized out>, this=<optimized out>) at ./knowndrives. cpp:98
__libc_message (action=
malloc_printerr (str=str@
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at ./malloc/
__GI___libc_free (mem=<optimized out>) at ./malloc/
drive_