Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1439269

Summary: Running ipmitool fails with segfault
Product: Red Hat Enterprise Linux 7 Reporter: Rachel Sibley <rasibley>
Component: ipmitoolAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: hannsj_uhl, ovasik, rasibley
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipmitool-1.8.18-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 16:30:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1398658    
Bug Blocks:    

Description Rachel Sibley 2017-04-05 14:43:26 UTC
Description of problem:
Running ipmitool with the latest version results in segmentation fault when running several commands

Version-Release number of selected component (if applicable):
~]# rpm -qa ipmitool
ipmitool-1.8.18-4.el7.x86_64

~]# uname -r
3.10.0-632.el7.x86_64

~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 Beta (Maipo)

How reproducible:
Always

Steps to Reproduce:
1. ipmitool sensor
2.
3.

Actual results:
segfault observed

Expected results:
no segfault, command completes successfully

Additional info:
~]# tail /var/log/messages
Apr  5 10:26:36 localhost kernel: ipmitool[13202]: segfault at 5560c76f0175 ip 00005560c6e03030 sp 00007ffc1d26e940 error 4 in ipmitool[5560c6de1000+cc000]
Apr  5 10:26:56 localhost kernel: ipmitool[13205]: segfault at 5602cd8f0176 ip 00005602cbf00030 sp 00007ffc0a46a7d0 error 4 in ipmitool[5602cbede000+cc000]
Apr  5 10:28:12 localhost kernel: ipmitool[13210]: segfault at 562cd3e90177 ip 0000562cd215f030 sp 00007ffe9923e1e0 error 4 in ipmitool[562cd213d000+cc000]
Apr  5 10:28:15 localhost kernel: ipmitool[13211]: segfault at 55d280c60178 ip 000055d27f313030 sp 00007ffd0b6ce1f0 error 4 in ipmitool[55d27f2f1000+cc000]
Apr  5 10:34:17 localhost kernel: ipmitool[13224]: segfault at 559355b40185 ip 0000559353da8030 sp 00007ffec90d1f10 error 4 in ipmitool[559353d86000+cc000]
Apr  5 10:34:20 localhost kernel: ipmitool[13225]: segfault at 55665a840186 ip 0000556658fb5030 sp 00007ffd0f043ca0 error 4 in ipmitool[556658f93000+cc000]
Apr  5 10:34:24 localhost kernel: ipmitool[13227]: segfault at 5593f5ed0187 ip 00005593f4ab0030 sp 00007ffeec93ee50 error 4 in ipmitool[5593f4a8e000+cc000]
Apr  5 10:34:24 localhost systemd: Starting Cleanup of Temporary Directories...
Apr  5 10:34:24 localhost systemd: Started Cleanup of Temporary Directories.
Apr  5 10:42:20 localhost kernel: ipmitool[13244]: segfault at 56031b1b0188 ip 000056031a5bd030 sp 00007ffd30853080 error 4 in ipmitool[56031a59b000+cc000]

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'ipmitool sel clear'
Clearing SEL.  Please allow a few seconds to erase.
:: [ 15:56:26 ] :: Output of 'ipmitool sel clear':
:: [ 15:56:26 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:26 ] :: Clearing SEL.  Please allow a few seconds to erase.
:: [ 15:56:26 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool sel clear' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool event 1'
/usr/share/beakerlib/testing.sh: line 777: 11514 Segmentation fault      ipmitool event 1
:: [ 15:56:26 ] :: Output of 'ipmitool event 1':
:: [ 15:56:26 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:26 ] :: /usr/share/beakerlib/testing.sh: line 777: 11514 Segmentation fault      ipmitool event 1
:: [ 15:56:27 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool event 1' (Expected 0, got 139)
:: [  BEGIN   ] :: Running 'ipmitool sel list'
SEL has no entries
:: [ 15:56:27 ] :: Output of 'ipmitool sel list':
:: [ 15:56:27 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:27 ] :: SEL has no entries
:: [ 15:56:27 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool sel list' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis selftest'
Self Test Results    : passed
:: [ 15:56:27 ] :: Output of 'ipmitool chassis selftest':
:: [ 15:56:27 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:27 ] :: Self Test Results    : passed
:: [ 15:56:27 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis selftest' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis status'
System Power         : on
Power Overload       : false
Power Interlock      : inactive
Main Power Fault     : false
Power Control Fault  : false
Power Restore Policy : always-on
Last Power Event     : 
Chassis Intrusion    : inactive
Front-Panel Lockout  : inactive
Drive Fault          : false
Cooling/Fan Fault    : false
Sleep Button Disable : allowed
Diag Button Disable  : allowed
Reset Button Disable : allowed
Power Button Disable : allowed
Sleep Button Disabled: false
Diag Button Disabled : false
Reset Button Disabled: false
Power Button Disabled: false
:: [ 15:56:28 ] :: Output of 'ipmitool chassis status':
:: [ 15:56:28 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:28 ] :: System Power         : on
:: [ 15:56:28 ] :: Power Overload       : false
:: [ 15:56:28 ] :: Power Interlock      : inactive
:: [ 15:56:28 ] :: Main Power Fault     : false
:: [ 15:56:28 ] :: Power Control Fault  : false
:: [ 15:56:28 ] :: Power Restore Policy : always-on
:: [ 15:56:28 ] :: Last Power Event     :
:: [ 15:56:28 ] :: Chassis Intrusion    : inactive
:: [ 15:56:28 ] :: Front-Panel Lockout  : inactive
:: [ 15:56:29 ] :: Drive Fault          : false
:: [ 15:56:29 ] :: Cooling/Fan Fault    : false
:: [ 15:56:29 ] :: Sleep Button Disable : allowed
:: [ 15:56:29 ] :: Diag Button Disable  : allowed
:: [ 15:56:29 ] :: Reset Button Disable : allowed
:: [ 15:56:29 ] :: Power Button Disable : allowed
:: [ 15:56:29 ] :: Sleep Button Disabled: false
:: [ 15:56:29 ] :: Diag Button Disabled : false
:: [ 15:56:29 ] :: Reset Button Disabled: false
:: [ 15:56:29 ] :: Power Button Disabled: false
:: [ 15:56:29 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis status' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis bootparam'
bootparam get <param #>
bootparam set bootflag <device> [options=...]
 Legal devices are:
  none        : No override
  force_pxe   : Force PXE boot
  force_disk  : Force boot from default Hard-drive
  force_safe  : Force boot from default Hard-drive, request Safe Mode
  force_diag  : Force boot from Diagnostic Partition
  force_cdrom : Force boot from CD/DVD
  force_bios  : Force boot into BIOS Setup
 Legal options are:
  help    : print this message
  PEF     : Clear valid bit on reset/power cycle cause by PEF
  timeout : Automatically clear boot flag valid bit on timeout
  watchdog: Clear valid bit on reset/power cycle cause by watchdog
  reset   : Clear valid bit on push button reset/soft reset
  power   : Clear valid bit on power up via power push button or wake event
 Any Option may be prepended with no- to invert sense of operation

:: [ 15:56:30 ] :: Output of 'ipmitool chassis bootparam':
:: [ 15:56:30 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:30 ] :: bootparam get <param #>
:: [ 15:56:30 ] :: bootparam set bootflag <device> [options=...]
:: [ 15:56:30 ] :: Legal devices are:
:: [ 15:56:30 ] :: none        : No override
:: [ 15:56:30 ] :: force_pxe   : Force PXE boot
:: [ 15:56:30 ] :: force_disk  : Force boot from default Hard-drive
:: [ 15:56:30 ] :: force_safe  : Force boot from default Hard-drive, request Safe Mode
:: [ 15:56:30 ] :: force_diag  : Force boot from Diagnostic Partition
:: [ 15:56:30 ] :: force_cdrom : Force boot from CD/DVD
:: [ 15:56:30 ] :: force_bios  : Force boot into BIOS Setup
:: [ 15:56:30 ] :: Legal options are:
:: [ 15:56:31 ] :: help    : print this message
:: [ 15:56:31 ] :: PEF     : Clear valid bit on reset/power cycle cause by PEF
:: [ 15:56:31 ] :: timeout : Automatically clear boot flag valid bit on timeout
:: [ 15:56:31 ] :: watchdog: Clear valid bit on reset/power cycle cause by watchdog
:: [ 15:56:31 ] :: reset   : Clear valid bit on push button reset/soft reset
:: [ 15:56:31 ] :: power   : Clear valid bit on power up via power push button or wake event
:: [ 15:56:31 ] :: Any Option may be prepended with no- to invert sense of operation
:: [ 15:56:31 ] :: 
:: [ 15:56:31 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis bootparam' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis identify'
Chassis identify interval: default (15 seconds)
:: [ 15:56:31 ] :: Output of 'ipmitool chassis identify':
:: [ 15:56:32 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:32 ] :: Chassis identify interval: default (15 seconds)
:: [ 15:56:32 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis identify' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool sensor list -v'
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
/usr/share/beakerlib/testing.sh: line 777: 12056 Segmentation fault      ipmitool sensor list -v
:: [ 15:56:32 ] :: Output of 'ipmitool sensor list -v':
:: [ 15:56:32 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:32 ] :: Running Get PICMG Properties my_addr 0x20, transit 0, target 0
:: [ 15:56:32 ] :: Error response 0xc1 from Get PICMG Properities
:: [ 15:56:32 ] :: Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
:: [ 15:56:32 ] :: Invalid completion code received: Invalid command
:: [ 15:56:32 ] :: Discovered IPMB address 0x0
:: [ 15:56:32 ] :: /usr/share/beakerlib/testing.sh: line 777: 12056 Segmentation fault      ipmitool sensor list -v
:: [ 15:56:33 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool sensor list -v' (Expected 0, got 139)
:: [  BEGIN   ] :: Running 'ipmitool mc selftest'
Selftest: passed
:: [ 15:56:33 ] :: Output of 'ipmitool mc selftest':
:: [ 15:56:33 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:33 ] :: Selftest: passed
:: [ 15:56:33 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc selftest' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc getenables'
Receive Message Queue Interrupt          : disabled
Event Message Buffer Full Interrupt      : disabled
Event Message Buffer                     : enabled
System Event Logging                     : enabled
OEM 0                                    : disabled
OEM 1                                    : disabled
OEM 2                                    : disabled
:: [ 15:56:33 ] :: Output of 'ipmitool mc getenables':
:: [ 15:56:33 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:33 ] :: Receive Message Queue Interrupt          : disabled
:: [ 15:56:33 ] :: Event Message Buffer Full Interrupt      : disabled
:: [ 15:56:34 ] :: Event Message Buffer                     : enabled
:: [ 15:56:34 ] :: System Event Logging                     : enabled
:: [ 15:56:34 ] :: OEM 0                                    : disabled
:: [ 15:56:34 ] :: OEM 1                                    : disabled
:: [ 15:56:34 ] :: OEM 2                                    : disabled
:: [ 15:56:34 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc getenables' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc info'
Device ID                 : 18
Device Revision           : 1
Firmware Revision         : 4.22
IPMI Version              : 2.0
Manufacturer ID           : 11
Manufacturer Name         : Hewlett-Packard
Product ID                : 0 (0x0000)
Product Name              : Unknown (0x0)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Bridge
    Chassis Device
Aux Firmware Rev Info     : 
    0x03
    0x01
    0x00
    0x00
:: [ 15:56:34 ] :: Output of 'ipmitool mc info':
:: [ 15:56:34 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:34 ] :: Device ID                 : 18
:: [ 15:56:34 ] :: Device Revision           : 1
:: [ 15:56:35 ] :: Firmware Revision         : 4.22
:: [ 15:56:35 ] :: IPMI Version              : 2.0
:: [ 15:56:35 ] :: Manufacturer ID           : 11
:: [ 15:56:35 ] :: Manufacturer Name         : Hewlett-Packard
:: [ 15:56:35 ] :: Product ID                : 0 (0x0000)
:: [ 15:56:35 ] :: Product Name              : Unknown (0x0)
:: [ 15:56:35 ] :: Device Available          : yes
:: [ 15:56:35 ] :: Provides Device SDRs      : no
:: [ 15:56:35 ] :: Additional Device Support :
:: [ 15:56:35 ] :: Sensor Device
:: [ 15:56:35 ] :: SDR Repository Device
:: [ 15:56:35 ] :: SEL Device
:: [ 15:56:36 ] :: FRU Inventory Device
:: [ 15:56:36 ] :: IPMB Event Receiver
:: [ 15:56:36 ] :: Bridge
:: [ 15:56:36 ] :: Chassis Device
:: [ 15:56:36 ] :: Aux Firmware Rev Info     :
:: [ 15:56:36 ] :: 0x03
:: [ 15:56:36 ] :: 0x01
:: [ 15:56:36 ] :: 0x00
:: [ 15:56:36 ] :: 0x00
:: [ 15:56:36 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc info' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc guid'
System GUID  : 81d7f637-8ffe-d511-bfe2-78e3b50f55e7
Timestamp    : 01/11/2039 22:02:15
:: [ 15:56:37 ] :: Output of 'ipmitool mc guid':
:: [ 15:56:37 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:37 ] :: System GUID  : 81d7f637-8ffe-d511-bfe2-78e3b50f55e7
:: [ 15:56:37 ] :: Timestamp    : 01/11/2039 22:02:15
:: [ 15:56:37 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc guid' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc getenables system_event_log'
Receive Message Queue Interrupt          : disabled
Event Message Buffer Full Interrupt      : disabled
Event Message Buffer                     : enabled
System Event Logging                     : enabled
OEM 0                                    : disabled
OEM 1                                    : disabled
OEM 2                                    : disabled
:: [ 15:56:37 ] :: Output of 'ipmitool mc getenables system_event_log':
:: [ 15:56:37 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:37 ] :: Receive Message Queue Interrupt          : disabled
:: [ 15:56:37 ] :: Event Message Buffer Full Interrupt      : disabled
:: [ 15:56:37 ] :: Event Message Buffer                     : enabled
:: [ 15:56:38 ] :: System Event Logging                     : enabled
:: [ 15:56:38 ] :: OEM 0                                    : disabled
:: [ 15:56:38 ] :: OEM 1                                    : disabled
:: [ 15:56:38 ] :: OEM 2                                    : disabled
:: [ 15:56:38 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc getenables system_event_log' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool sdr'
/usr/share/beakerlib/testing.sh: line 777: 12619 Segmentation fault      ipmitool sdr
:: [ 15:56:38 ] :: Output of 'ipmitool sdr':
:: [ 15:56:38 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:38 ] :: /usr/share/beakerlib/testing.sh: line 777: 12619 Segmentation fault      ipmitool sdr
:: [ 15:56:38 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool sdr' (Expected 0, got 139)
:: [ 15:56:39 ] :: [ INFO    ] :: Loop 0 Complete

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'ipmitool sel clear'
Clearing SEL.  Please allow a few seconds to erase.
:: [ 15:56:39 ] :: Output of 'ipmitool sel clear':
:: [ 15:56:39 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:39 ] :: Clearing SEL.  Please allow a few seconds to erase.
:: [ 15:56:39 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool sel clear' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool event 1'
/usr/share/beakerlib/testing.sh: line 777: 12725 Segmentation fault      ipmitool event 1
:: [ 15:56:39 ] :: Output of 'ipmitool event 1':
:: [ 15:56:39 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:39 ] :: /usr/share/beakerlib/testing.sh: line 777: 12725 Segmentation fault      ipmitool event 1
:: [ 15:56:40 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool event 1' (Expected 0, got 139)
:: [  BEGIN   ] :: Running 'ipmitool sel list'
SEL has no entries
:: [ 15:56:40 ] :: Output of 'ipmitool sel list':
:: [ 15:56:40 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:40 ] :: SEL has no entries
:: [ 15:56:40 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool sel list' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis selftest'
Self Test Results    : passed
:: [ 15:56:40 ] :: Output of 'ipmitool chassis selftest':
:: [ 15:56:40 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:41 ] :: Self Test Results    : passed
:: [ 15:56:41 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis selftest' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis status'
System Power         : on
Power Overload       : false
Power Interlock      : inactive
Main Power Fault     : false
Power Control Fault  : false
Power Restore Policy : always-on
Last Power Event     : 
Chassis Intrusion    : inactive
Front-Panel Lockout  : inactive
Drive Fault          : false
Cooling/Fan Fault    : false
Sleep Button Disable : allowed
Diag Button Disable  : allowed
Reset Button Disable : allowed
Power Button Disable : allowed
Sleep Button Disabled: false
Diag Button Disabled : false
Reset Button Disabled: false
Power Button Disabled: false
:: [ 15:56:41 ] :: Output of 'ipmitool chassis status':
:: [ 15:56:41 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:41 ] :: System Power         : on
:: [ 15:56:41 ] :: Power Overload       : false
:: [ 15:56:41 ] :: Power Interlock      : inactive
:: [ 15:56:41 ] :: Main Power Fault     : false
:: [ 15:56:41 ] :: Power Control Fault  : false
:: [ 15:56:41 ] :: Power Restore Policy : always-on
:: [ 15:56:42 ] :: Last Power Event     :
:: [ 15:56:42 ] :: Chassis Intrusion    : inactive
:: [ 15:56:42 ] :: Front-Panel Lockout  : inactive
:: [ 15:56:42 ] :: Drive Fault          : false
:: [ 15:56:42 ] :: Cooling/Fan Fault    : false
:: [ 15:56:42 ] :: Sleep Button Disable : allowed
:: [ 15:56:42 ] :: Diag Button Disable  : allowed
:: [ 15:56:42 ] :: Reset Button Disable : allowed
:: [ 15:56:42 ] :: Power Button Disable : allowed
:: [ 15:56:42 ] :: Sleep Button Disabled: false
:: [ 15:56:42 ] :: Diag Button Disabled : false
:: [ 15:56:43 ] :: Reset Button Disabled: false
:: [ 15:56:43 ] :: Power Button Disabled: false
:: [ 15:56:43 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis status' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis bootparam'
bootparam get <param #>
bootparam set bootflag <device> [options=...]
 Legal devices are:
  none        : No override
  force_pxe   : Force PXE boot
  force_disk  : Force boot from default Hard-drive
  force_safe  : Force boot from default Hard-drive, request Safe Mode
  force_diag  : Force boot from Diagnostic Partition
  force_cdrom : Force boot from CD/DVD
  force_bios  : Force boot into BIOS Setup
 Legal options are:
  help    : print this message
  PEF     : Clear valid bit on reset/power cycle cause by PEF
  timeout : Automatically clear boot flag valid bit on timeout
  watchdog: Clear valid bit on reset/power cycle cause by watchdog
  reset   : Clear valid bit on push button reset/soft reset
  power   : Clear valid bit on power up via power push button or wake event
 Any Option may be prepended with no- to invert sense of operation

:: [ 15:56:43 ] :: Output of 'ipmitool chassis bootparam':
:: [ 15:56:43 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:43 ] :: bootparam get <param #>
:: [ 15:56:43 ] :: bootparam set bootflag <device> [options=...]
:: [ 15:56:43 ] :: Legal devices are:
:: [ 15:56:43 ] :: none        : No override
:: [ 15:56:44 ] :: force_pxe   : Force PXE boot
:: [ 15:56:44 ] :: force_disk  : Force boot from default Hard-drive
:: [ 15:56:44 ] :: force_safe  : Force boot from default Hard-drive, request Safe Mode
:: [ 15:56:44 ] :: force_diag  : Force boot from Diagnostic Partition
:: [ 15:56:44 ] :: force_cdrom : Force boot from CD/DVD
:: [ 15:56:44 ] :: force_bios  : Force boot into BIOS Setup
:: [ 15:56:44 ] :: Legal options are:
:: [ 15:56:44 ] :: help    : print this message
:: [ 15:56:44 ] :: PEF     : Clear valid bit on reset/power cycle cause by PEF
:: [ 15:56:44 ] :: timeout : Automatically clear boot flag valid bit on timeout
:: [ 15:56:44 ] :: watchdog: Clear valid bit on reset/power cycle cause by watchdog
:: [ 15:56:45 ] :: reset   : Clear valid bit on push button reset/soft reset
:: [ 15:56:45 ] :: power   : Clear valid bit on power up via power push button or wake event
:: [ 15:56:45 ] :: Any Option may be prepended with no- to invert sense of operation
:: [ 15:56:45 ] :: 
:: [ 15:56:45 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis bootparam' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool chassis identify'
Chassis identify interval: default (15 seconds)
:: [ 15:56:45 ] :: Output of 'ipmitool chassis identify':
:: [ 15:56:45 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:45 ] :: Chassis identify interval: default (15 seconds)
:: [ 15:56:45 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool chassis identify' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool sensor list -v'
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Error response 0xc1 from Get PICMG Properities
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid completion code received: Invalid command
Discovered IPMB address 0x0
/usr/share/beakerlib/testing.sh: line 777: 13265 Segmentation fault      ipmitool sensor list -v
:: [ 15:56:46 ] :: Output of 'ipmitool sensor list -v':
:: [ 15:56:46 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:46 ] :: Running Get PICMG Properties my_addr 0x20, transit 0, target 0
:: [ 15:56:46 ] :: Error response 0xc1 from Get PICMG Properities
:: [ 15:56:46 ] :: Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
:: [ 15:56:46 ] :: Invalid completion code received: Invalid command
:: [ 15:56:46 ] :: Discovered IPMB address 0x0
:: [ 15:56:46 ] :: /usr/share/beakerlib/testing.sh: line 777: 13265 Segmentation fault      ipmitool sensor list -v
:: [ 15:56:47 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool sensor list -v' (Expected 0, got 139)
:: [  BEGIN   ] :: Running 'ipmitool mc selftest'
Selftest: passed
:: [ 15:56:47 ] :: Output of 'ipmitool mc selftest':
:: [ 15:56:47 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:47 ] :: Selftest: passed
:: [ 15:56:47 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc selftest' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc getenables'
Receive Message Queue Interrupt          : disabled
Event Message Buffer Full Interrupt      : disabled
Event Message Buffer                     : enabled
System Event Logging                     : enabled
OEM 0                                    : disabled
OEM 1                                    : disabled
OEM 2                                    : disabled
:: [ 15:56:47 ] :: Output of 'ipmitool mc getenables':
:: [ 15:56:47 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:48 ] :: Receive Message Queue Interrupt          : disabled
:: [ 15:56:48 ] :: Event Message Buffer Full Interrupt      : disabled
:: [ 15:56:48 ] :: Event Message Buffer                     : enabled
:: [ 15:56:48 ] :: System Event Logging                     : enabled
:: [ 15:56:48 ] :: OEM 0                                    : disabled
:: [ 15:56:48 ] :: OEM 1                                    : disabled
:: [ 15:56:48 ] :: OEM 2                                    : disabled
:: [ 15:56:48 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc getenables' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc info'
Device ID                 : 18
Device Revision           : 1
Firmware Revision         : 4.22
IPMI Version              : 2.0
Manufacturer ID           : 11
Manufacturer Name         : Hewlett-Packard
Product ID                : 0 (0x0000)
Product Name              : Unknown (0x0)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Bridge
    Chassis Device
Aux Firmware Rev Info     : 
    0x03
    0x01
    0x00
    0x00
:: [ 15:56:48 ] :: Output of 'ipmitool mc info':
:: [ 15:56:49 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:49 ] :: Device ID                 : 18
:: [ 15:56:49 ] :: Device Revision           : 1
:: [ 15:56:49 ] :: Firmware Revision         : 4.22
:: [ 15:56:49 ] :: IPMI Version              : 2.0
:: [ 15:56:49 ] :: Manufacturer ID           : 11
:: [ 15:56:49 ] :: Manufacturer Name         : Hewlett-Packard
:: [ 15:56:49 ] :: Product ID                : 0 (0x0000)
:: [ 15:56:49 ] :: Product Name              : Unknown (0x0)
:: [ 15:56:49 ] :: Device Available          : yes
:: [ 15:56:50 ] :: Provides Device SDRs      : no
:: [ 15:56:50 ] :: Additional Device Support :
:: [ 15:56:50 ] :: Sensor Device
:: [ 15:56:50 ] :: SDR Repository Device
:: [ 15:56:50 ] :: SEL Device
:: [ 15:56:50 ] :: FRU Inventory Device
:: [ 15:56:50 ] :: IPMB Event Receiver
:: [ 15:56:50 ] :: Bridge
:: [ 15:56:50 ] :: Chassis Device
:: [ 15:56:50 ] :: Aux Firmware Rev Info     :
:: [ 15:56:51 ] :: 0x03
:: [ 15:56:51 ] :: 0x01
:: [ 15:56:51 ] :: 0x00
:: [ 15:56:51 ] :: 0x00
:: [ 15:56:51 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc info' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc guid'
System GUID  : 81d7f637-8ffe-d511-bfe2-78e3b50f55e7
Timestamp    : 01/11/2039 22:02:15
:: [ 15:56:51 ] :: Output of 'ipmitool mc guid':
:: [ 15:56:51 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:51 ] :: System GUID  : 81d7f637-8ffe-d511-bfe2-78e3b50f55e7
:: [ 15:56:51 ] :: Timestamp    : 01/11/2039 22:02:15
:: [ 15:56:52 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc guid' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool mc getenables system_event_log'
Receive Message Queue Interrupt          : disabled
Event Message Buffer Full Interrupt      : disabled
Event Message Buffer                     : enabled
System Event Logging                     : enabled
OEM 0                                    : disabled
OEM 1                                    : disabled
OEM 2                                    : disabled
:: [ 15:56:52 ] :: Output of 'ipmitool mc getenables system_event_log':
:: [ 15:56:52 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:52 ] :: Receive Message Queue Interrupt          : disabled
:: [ 15:56:52 ] :: Event Message Buffer Full Interrupt      : disabled
:: [ 15:56:52 ] :: Event Message Buffer                     : enabled
:: [ 15:56:52 ] :: System Event Logging                     : enabled
:: [ 15:56:52 ] :: OEM 0                                    : disabled
:: [ 15:56:53 ] :: OEM 1                                    : disabled
:: [ 15:56:53 ] :: OEM 2                                    : disabled
:: [ 15:56:53 ] :: ---------------  OUTPUT END  ---------------
:: [   PASS   ] :: Command 'ipmitool mc getenables system_event_log' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'ipmitool sdr'
/usr/share/beakerlib/testing.sh: line 777: 13840 Segmentation fault      ipmitool sdr
:: [ 15:56:53 ] :: Output of 'ipmitool sdr':
:: [ 15:56:53 ] :: --------------- OUTPUT START ---------------
:: [ 15:56:53 ] :: /usr/share/beakerlib/testing.sh: line 777: 13840 Segmentation fault      ipmitool sdr
:: [ 15:56:53 ] :: ---------------  OUTPUT END  ---------------
:: [   FAIL   ] :: Command 'ipmitool sdr' (Expected 0, got 139)
:: [ 15:56:54 ] :: [ INFO    ] :: Loop 1 Complete

Comment 3 Rachel Sibley 2017-04-05 16:01:17 UTC
Also seeing failures when attempting to start the ipmievd service 

# systemctl status ipmievd -l
● ipmievd.service - Ipmievd Daemon
   Loaded: loaded (/usr/lib/systemd/system/ipmievd.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Wed 2017-04-05 11:54:32 EDT; 2min 46s ago
  Process: 31014 ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 31015 (code=killed, signal=SEGV)

Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com systemd[1]: Starting Ipmievd Daemon...
Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com ipmievd[31015]: Reading sensors...
Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com systemd[1]: Started Ipmievd Daemon.
Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com systemd[1]: ipmievd.service: main process exited, code=killed, status=11/SEGV
Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com systemd[1]: Unit ipmievd.service entered failed state.
Apr 05 11:54:32 dell-per210-01.khw.lab.eng.bos.redhat.com systemd[1]: ipmievd.service failed.

Comment 5 Josef Ridky 2017-04-10 14:50:38 UTC
Fix commited in relation to #1398658.

Comment 7 Rachel Sibley 2017-05-24 17:16:57 UTC
ALL TESTS PASSED

Verified as fixed, no longer seeing a segfault with the latest build (ipmitool-1.8.18-5.el7.x86_64)

Before
===================
~]# rpm -q ipmitool
ipmitool-1.8.18-4.el7.x86_64

~]# ipmitool sensor
Segmentation fault

After
===================
~]# rpm -qa ipmitool
ipmitool-1.8.18-5.el7.x86_64

~]# ipmitool sensor
CPU 1 Temp       | na         |            | na    | na        | na        | na        | 80.000    | 85.000    | na        
CPU 2 Temp       | na         |            | na    | na        | na        | na        | 80.000    | 85.000    | na        
CPU 3 Temp       | na         |            | na    | na        | na        | na        | 80.000    | 85.000    | na        
CPU 4 Temp       | na         |            | na    | na        | na        | na        | 80.000    | 85.000    | na        
PS 1 Temp        | na         |            | na    | na        | na        | na        | na        | na        | na        
PS 2 Temp        | na         |            | na    | na        | na        | na        | na        | na        | na        
IO1 Planar Temp  | 30.000     | degrees C  | ok    | na        | na        | na        | na        | na        | na        
IO2 Planar Temp  | 28.000     | degrees C  | ok    | na        | na        | na        | na        | na        | na        
IOB1 Temp        | na         |            | na    | na        | 3.000     | 8.000     | 92.000    | 97.000    | na        
IOB2 Temp        | na         |            | na    | na        | 3.000     | 8.000     | 92.000    | 97.000    | na        
Ambient Temp     | 18.000     | degrees C  | ok    | na        | 3.000     | 8.000     | 42.000    | 47.000    | na        
CPU Planar Temp  | na         |            | na    | na        | na        | na        | na        | na        | na        
DIMM Bank A      | na         |            | na    | na        | na        | na        | na        | na        | na        
DIMM Bank B      | na         |            | na    | na        | na        | na        | na        | na        | na        
DIMM Bank C      | na         |            | na    | na        | na        | na        | na        | na        | na        
DIMM Bank D      | na         |            | na    | na        | na        | na        | na        | na        | na        
CMOS Battery     | 0x0        | discrete   | 0x0080| na        | na        | na        | na        | na        | na        
ROMB Battery     | 0x0        | discrete   | 0x0080| na        | na        | na        | na        | na        | na        
VCORE            | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VCORE            | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VCORE            | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VCORE            | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V VDDR        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V VDDR        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V VDDR        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V VDDR        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.8V AUX PG   | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V AUX PG   | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V LOM PG      | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
8V PG            | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.2V AUX LOM PG  | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
5V IO PG         | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
5V CPU PG        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
3.3V PG          | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.8V PG          | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
1.1V PG          | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem1 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem2 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem3 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem4 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem5 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem6 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem7 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Mem8 0.75V PG    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR PLX PG        | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V NBSB PG  | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 2.5V CPU1     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 2.5V CPU2     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 2.5V CPU3     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 2.5V CPU4     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V CPU1     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V CPU2     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V CPU3     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.2V CPU4     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.5V MEM1     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.5V MEM2     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.5V MEM3     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR 1.5V MEM4     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR PSI MEM1      | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR PSI MEM2      | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR PSI MEM3      | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
VR PSI MEM4      | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
NB THERMTRIP     | na         | discrete   | na    | na        | na        | na        | na        | na        | na        
PFault Fail Safe | na         | discrete   | na    | na        | na        | na        | na        | na        | na        
Heatsink Pres    | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
iDRAC6 Ent Pres  | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
USB Cable Pres   | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Stor Adapt Pres  | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
C Riser Pres     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
L Riser Pres     | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
FAN 1 RPM        | 4920.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
FAN 2 RPM        | 4920.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
FAN 3 RPM        | 5040.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
FAN 4 RPM        | 4920.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
FAN 5 RPM        | 5040.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
FAN 6 RPM        | 5040.000   | RPM        | ok    | na        | 720.000   | na        | na        | na        | na        
Presence         | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Presence         | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
Presence         | 0x0        | discrete   | 0x0180| na        | na        | na        | na        | na        | na        
<snip>

Comment 8 errata-xmlrpc 2017-08-01 16:30:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1939