DynamoRIO / DynamoRIO/drmemory

Possible false pos uninit in WinSATAPI.dll use of user32!GetMonitorInfoA

Open
#815 0 comments 0 reactions 0 assignees View on GitHub
Bug-FalsePositive Migrated OpSys-Windows Priority-Low
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [rnk@google.com](https://code.google.com/u/rnk@google.com/) on March 06, 2012 14:50:56_

This is used by Chrome to get stats about GPU usage performance. Report from the bot:

UNINITIALIZED READ: reading 0x001debbc-0x001debbe 2 byte(s)
#0 KERNEL32.dll!GetThreadLocale +0x392 (0x77293931 )
#1 KERNEL32.dll!GetThreadLocale +0x32e (0x772938ce )
#2 KERNELBASE.dll!CompareStringEx +0x51 (0x77006055 )
#3 KERNELBASE.dll!CompareStringW +0x37 (0x76ff247a )
#4 KERNELBASE.dll!lstrcmpW +0x1e (0x76fda392 )
#5 dxgi.dll!? +0x0 (0x72e56592 )
#6 USER32.dll!GetMonitorInfoA +0xe9 (0x757844fd )
#7 ntdll.dll!KiUserCallbackDispatcher +0x2d (0x77d8010a )
#8 dxgi.dll!? +0x0 (0x72e56440 )
#9 WinSATAPI.DLL!DllGetClassObject +0x3aa4 (0x73a3a18d )
#10 WinSATAPI.DLL!DllGetClassObject +0x39fc (0x73a3a0e5 )
#11 WinSATAPI.DLL!DllGetClassObject +0x357e (0x73a39c67 )
#12 WinSATAPI.DLL!DllCanUnloadNow +0x113a (0x73a332aa )
#13 WinSATAPI.DLL!DllCanUnloadNow +0x10e0 (0x73a33250 )
#14 GpuPerformanceStats::RetrieveGpuPerformanceStats [chrome\browser\gpu_performance_stats_win.cc:36]
#15 MetricsLog::RecordEnvironment [chrome\browser\metrics\metrics_log.cc:631]
#16 MetricsLogTest_RecordEnvironment_Test::TestBody [chrome\browser\metrics\metrics_log_unittest.cc:98]
#17 testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void [testing\gtest\src\gtest.cc:2145]
Note: @0:14:37.448 in thread 2260
Note: instruction: data16 cmp %ax (%ecx)

Could be bitlevel or syscall or real, not really sure, needs more investigation. I'm just filing it so I can get an issue number and suppress it.

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=815_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.