You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
“Segmentation fault” when i call setPolicy() with out-of-band mode without initial Lib and Device
The gdb trace info as follow:
(gdb) n
299 ret = nmprk::translation::setPolicy(d, policy);
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x000000000041c4fe in nmprk::ipmi::modules::nm_dcmi::nm_dcmi_remote_runIpmiCommand (d=0x7fffffffe270, req=0x7fffffffde80, rsp=0x7fffffffde60)
at src/modules/nm_dcmi/linux/nm_dcmi_linux.cpp:295
295 lun = intf->target_lun;
(gdb)
The text was updated successfully, but these errors were encountered:
Thank you for entering the issue. Unfortunately the current design will do this if the calls are not done in the right order, this is because the structures have not been set up. Agreed there should be some protection and it should not cause a segmentation fault.
The issue still exists in the new version. although we should do test in order, when we do other test without initial LIB &
device, we think that it should tell us "it can't connect to Device".
“Segmentation fault” when i call setPolicy() with out-of-band mode without initial Lib and Device
The gdb trace info as follow:
(gdb) n
299 ret = nmprk::translation::setPolicy(d, policy);
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x000000000041c4fe in nmprk::ipmi::modules::nm_dcmi::nm_dcmi_remote_runIpmiCommand (d=0x7fffffffe270, req=0x7fffffffde80, rsp=0x7fffffffde60)
at src/modules/nm_dcmi/linux/nm_dcmi_linux.cpp:295
295 lun = intf->target_lun;
(gdb)
The text was updated successfully, but these errors were encountered: