Fix segmentation fault that sometimes occurs on release builds
Fixes SWDEV-216441
Change-Id: I3ea01a4edd14000a103de751757dfaadc7d358bb
[ROCm/rocm_smi_lib commit: 0bf81ed2f9]
이 커밋은 다음에 포함됨:
1 부모
95d3da04b9
커밋
e4d918aa70
1 파일이 변경됨
+1
-1
@@ -51,7 +51,7 @@
|
||||
#include <string>
|
||||
|
||||
#define DBG_FILE_ERROR(FN, WR_STR) \
|
||||
if (env_->debug_output_bitfield & RSMI_DEBUG_SYSFS_FILE_PATHS) { \
|
||||
if (env_ && env_->debug_output_bitfield & RSMI_DEBUG_SYSFS_FILE_PATHS) { \
|
||||
std::cout << "*****" << __FUNCTION__ << std::endl; \
|
||||
std::cout << "*****Opening file: " << (FN) << std::endl; \
|
||||
if ((WR_STR) != nullptr) { \
|
||||
|
||||
새 이슈에서 참조
사용자 차단