-
Notifications
You must be signed in to change notification settings - Fork 264
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
Possible false positive unaddr on NtGdiPolyPolyDraw parameter #1 #809
Comments
From bruen...@google.com on February 28, 2012 12:04:08 I added all the NtGdi* table entries based on wininc/ntgdi.h |
From zhao...@google.com on September 12, 2013 13:04:21 Issue 1328 has been merged into this issue. |
From zhao...@google.com on September 12, 2013 13:04:49 Status: Started |
From bruen...@google.com on September 13, 2013 19:26:26 Taking over as I can reproduce this Owner: bruen...@google.com |
From bruen...@google.com on September 14, 2013 08:20:43 I can repro, but interestingly I can't w/ -no_check_uninitialized. % ~/drmemory/git/build_x86_dbg/bin/drmemory.exe -no_check_gdi -pause_at_error -no_count_leaks -batch -dr d:/derek/dr/git/exports -- ./unit_tests.exe --gtest_filter=FirstRunBubbleTest.CreateAndClose Error 0 system call NtGdiPolyPolyDraw parameter
|
From derek.br...@gmail.com on September 16, 2013 14:34:10 This issue was closed by revision r1552 . Status: Fixed |
From rnk@google.com on February 28, 2012 14:32:05
Encountered when running chrome unit_tests FirstRunBubbleTest.CreateAndClose.
[ RUN ] FirstRunBubbleTest.CreateAndClose
Dr.MDr.MError#1
: UNADDRESSABLE ACCESS: reading 0x148ff3b8-0x148ff3c0 8 byte(s) within 0x148ff3b8-0x148ff3c0Dr.M# 0 system call NtGdiPolyPolyDraw parameter#1
Dr.M# 1 gfx::Path::CreateNativeRegion [ui\gfx\path_win.cc:21]Dr.M# 2 views::NativeWidgetWin::ResetWindowRegion [ui\views\widget\native_widget_win.cc:2417]Dr.M# 3 views::NativeWidgetWin::OnSize [ui\views\widget\native_widget_win.cc:1948]Dr.M# 4 views::NativeWidgetWin::_ProcessWindowMessage [ui\views\widget\native_widget_win.h:354]Dr.M# 5 views::NativeWidgetWin::ProcessWindowMessage [ui\views\widget\native_widget_win.h:279]Dr.M# 6 views::NativeWidgetWin::OnWndProc [ui\views\widget\native_widget_win.cc:1164]Dr.M# 7 ui::WindowImpl::WndProc [ui\base\win\window_impl.cc:196]Dr.M# 8 base::win::WrappedWindowProc<&ui::WindowImpl::WndProc> [base\win\wrapped_window_proc.h:60]Dr.M# 9 USER32.dll!gapfnScSendMessageDr.M#10
USER32.dll!GetThreadDesktopDr.M#11
USER32.dll!LoadStringWDr.M#12
USER32.dll!gapfnScSendMessageDr.M#13
UxTheme.dll!? +0x0 (0x734d0b64 <UxTheme.dll+0x10b64>)Dr.M#14
UxTheme.dll!? +0x0 (0x734d0b96 <UxTheme.dll+0x10b96>)Dr.M#15
USER32.dll!GetPropWDr.M#16
views::NativeWidgetWin::OnWndProc [ui\views\widget\native_widget_win.cc:1165]Dr.M#17
ui::WindowImpl::WndProc [ui\base\win\window_impl.cc:196]Dr.M#18
base::win::WrappedWindowProc<&ui::WindowImpl::WndProc> [base\win\wrapped_window_proc.h:60]Dr.M#19
USER32.dll!gapfnScSendMessageDr.M#20
USER32.dll!GetDCDr.M#21
USER32.dll!GetThreadDesktopDr.M#22
USER32.dll!LoadStringWDr.M#23
ntdll.dll!KiUserCallbackDispatcherDr.M#24
ui::CenterAndSizeWindow [ui\base\win\hwnd_util.cc:155]Dr.M#25
views::NativeWidgetWin::CenterWindow [ui\views\widget\native_widget_win.cc:668]Dr.M#26
views::Widget::SetInitialBounds [ui\views\widget\widget.cc:1218]Dr.M#27
views::Widget::Init [ui\views\widget\widget.cc:341]Dr.M#28
views::anonymous namespace'::CreateBorderWidget [ui\views\bubble\bubble_delegate.cc:89] \~~Dr.M~~
#29views::BubbleDelegateView::CreateBubble [ui\views\bubble\bubble_delegate.cc:148] \~~Dr.M~~
#30browser::CreateViewsBubble [chrome\browser\ui\views\window.cc:77] \~~Dr.M~~
#31FirstRunBubble::ShowBubble [chrome\browser\ui\views\first_run_bubble.cc:35] \~~Dr.M~~
#32FirstRunBubbleTest_CreateAndClose_Test::TestBody [chrome\browser\ui\views\first_run_bubble_unittest.cc:45] \~~Dr.M~~
#33testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> [testing\gtest\src\gtest.cc:2145] \~~Dr.M~~ Note: @0:12:07.991 in thread 2724 \~~Dr.M~~ Note: next higher malloc: 0x148ff3c8-0x148ff3cc \~~Dr.M~~ Note: prev lower malloc: 0x148ff398-0x148ff39c \~~Dr.M~~ \~~Dr.M~~ Error
#2: UNADDRESSABLE ACCESS: reading 0x148ff268-0x148ff270 8 byte(s) within 0x148ff268-0x148ff270 \~~Dr.M~~ # 0 system call NtGdiPolyPolyDraw parameter
#1\~~Dr.M~~ # 1 gfx::Path::CreateNativeRegion [ui\gfx\path_win.cc:21] \~~Dr.M~~ # 2 views::NativeWidgetWin::ResetWindowRegion [ui\views\widget\native_widget_win.cc:2417] \~~Dr.M~~ # 3 views::NativeWidgetWin::OnSize [ui\views\widget\native_widget_win.cc:1948] \~~Dr.M~~ # 4 views::NativeWidgetWin::_ProcessWindowMessage [ui\views\widget\native_widget_win.h:354] \~~Dr.M~~ # 5 views::NativeWidgetWin::ProcessWindowMessage [ui\views\widget\native_widget_win.h:279] \~~Dr.M~~ # 6 views::NativeWidgetWin::OnWndProc [ui\views\widget\native_widget_win.cc:1164] \~~Dr.M~~ # 7 ui::WindowImpl::WndProc [ui\base\win\window_impl.cc:196] \~~Dr.M~~ # 8 base::win::WrappedWindowProc<&ui::WindowImpl::WndProc> [base\win\wrapped_window_proc.h:60] \~~Dr.M~~ # 9 USER32.dll!gapfnScSendMessage \~~Dr.M~~
#10USER32.dll!GetThreadDesktop \~~Dr.M~~
#11USER32.dll!LoadStringW \~~Dr.M~~
#12USER32.dll!gapfnScSendMessage \~~Dr.M~~
#13UxTheme.dll!? +0x0 (0x734d0b64 \<UxTheme.dll+0x10b64>) \~~Dr.M~~
#14UxTheme.dll!? +0x0 (0x734d0b96 \<UxTheme.dll+0x10b96>) \~~Dr.M~~
#15USER32.dll!GetPropW \~~Dr.M~~
#16views::NativeWidgetWin::OnWndProc [ui\views\widget\native_widget_win.cc:1165] \~~Dr.M~~
#17ui::WindowImpl::WndProc [ui\base\win\window_impl.cc:196] \~~Dr.M~~
#18base::win::WrappedWindowProc<&ui::WindowImpl::WndProc> [base\win\wrapped_window_proc.h:60] \~~Dr.M~~
#19USER32.dll!gapfnScSendMessage \~~Dr.M~~
#20USER32.dll!GetDC \~~Dr.M~~
#21USER32.dll!GetThreadDesktop \~~Dr.M~~
#22USER32.dll!LoadStringW \~~Dr.M~~
#23ntdll.dll!KiUserCallbackDispatcher \~~Dr.M~~
#24views::NativeWidgetWin::SetBounds [ui\views\widget\native_widget_win.cc:811] \~~Dr.M~~
#25views::Widget::SetBounds [ui\views\widget\widget.cc:445] \~~Dr.M~~
#26views::BubbleDelegateView::SizeToContents [ui\views\bubble\bubble_delegate.cc:277] \~~Dr.M~~
#27views::BubbleDelegateView::CreateBubble [ui\views\bubble\bubble_delegate.cc:151] \~~Dr.M~~
#28browser::CreateViewsBubble [chrome\browser\ui\views\window.cc:77] \~~Dr.M~~
#29FirstRunBubble::ShowBubble [chrome\browser\ui\views\first_run_bubble.cc:35] \~~Dr.M~~
#30FirstRunBubbleTest_CreateAndClose_Test::TestBody [chrome\browser\ui\views\first_run_bubble_unittest.cc:45] \~~Dr.M~~
#31` testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void [testing\gtest\src\gtest.cc:2145]Dr.MNote: @0:12:08.101 in thread 2724Dr.MNote: next higher malloc: 0x148ff278-0x148ff27cDr.MNote: prev lower malloc: 0x148ff258-0x148ff25c[ OK ] FirstRunBubbleTest.CreateAndClose (5120 ms)
Here's the syscall table line from syscall_wingdi.c:
{0,"NtGdiPolyPolyDraw", OK, 20, {{1,sizeof(POINT),R,}, {2,-3,R|SYSARG_SIZE_IN_ELEMENTS,sizeof(ULONG)}, }},
The docs for the function called from Chrome: http://msdn.microsoft.com/en-us/library/dd183511(v=vs.85).aspx I'd need to look closer to verify that our table entry is right.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=809
The text was updated successfully, but these errors were encountered: