-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typo in ipmctl command invocation produces segmentation fault #150
Comments
Thanks for letting us know. We will look into it. What was the command that was ran? It looks like a form of show -error. What type of system was this seen on? |
I confirmed the issue is reproducible on ipmctl 02.00.00.3781. Working:
Not working (Note the the extra 's', although any spelling error causes the core dump)
dmesg reports the following for each core dump
I didn't try all the commands and options, but other
|
<!-- DIV {margin:0px;} -->Hi Steve, Sorry for the late reply. I guess I missed a line in my cut and pastethe command wasipmctl show -error -medai << typo on media-----Original Message-----
From: Steve Scargall
Sent: Sep 10, 2020 2:57 PM
To: intel/ipmctl
Cc: Mark-Baker , Author
Subject: Re: [intel/ipmctl] typo in ipmctl command invocation produces segmentation fault (#150)
I confirmed the issue is easily reproducible on ipmctl 02.00.00.3781.
Working:
# ipmctl show -error Thermal
No errors found on PMem module 0x0001
No errors found on PMem module 0x0011
No errors found on PMem module 0x0021
No errors found on PMem module 0x0101
No errors found on PMem module 0x0111
No errors found on PMem module 0x0121
No errors found on PMem module 0x1001
No errors found on PMem module 0x1011
No errors found on PMem module 0x1021
No errors found on PMem module 0x1101
No errors found on PMem module 0x1111
No errors found on PMem module 0x1121
Show Error executed successfully
Not working (Note the the extra 's', although any spelling error causes the core dump)
# ipmctl show -error Thermals
NVM_DBG_LOGGER NVDIMM-ERR:ShowErrorCommand.c::ShowErrorCommand:719: Failed to buffer a command status object! (0x2)
Segmentation fault (core dumped)
# ipmctl show -error Medias
NVM_DBG_LOGGER NVDIMM-ERR:ShowErrorCommand.c::ShowErrorCommand:719: Failed to buffer a command status object! (0x2)
Segmentation fault (core dumped)
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
This demonstrates with both 3797 and 3809 (I didn't test earlier versions against this issue)
ipmctl show -dimm 1 -error media
DimmID | System Timestamp | Error Type
0x0001 | 09/10/2020 17:50:31 | 0x00 - Uncorrectable
0x0001 | 09/10/2020 17:50:31 | 0x06 - Smart Health Status Change
Show Error executed successfully
ipmctl show -dimm 1 -error medai
NVM_DBG_LOGGER NVDIMM-ERR:ShowErrorCommand.c::ShowErrorCommand:719: Failed to buffer a command status object! (0x2)
Segmentation fault (core dumped)
[ 971.279449] ipmctl[10545]: segfault at 0 ip 0000000000000000 sp 00007ffff2dcb418 error 14 in ipmctl[55baeadf0000+1000]
[ 971.291368] Code: Bad RIP value.
NVM_DBG_LOGGER NVDIMM-ERR:ShowErrorCommand.c::ShowErrorCommand:719: Failed to buffer a command status object! (0x2)
#ipmctl version
Intel(R) Optane(TM) Persistent Memory Command Line Interface Version 02.00.00.3809
The text was updated successfully, but these errors were encountered: