DynamoRIO / DynamoRIO/drmemory

drsyms fails to load chrome.exe and chrome.dll symbols in some ui_tests runs

Open
#646 10 comments 0 reactions 0 assignees View on GitHub
Migrated OpSys-Windows Priority-Medium Usability
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on October 26, 2011 17:17:57_

this is in the 2nd chrome.exe process running ui_tests AutomatedUITestBase.Home:

looks like Ci#101537, but why aren't the top symbols resolving?

0:000> dds 0x1af1d0
001af1d0 00f6f4a8 chrome!scoped_ptr<_TOKEN_USER>::~scoped_ptr<_TOKEN_USER>+0x8 [c:\src\chromium\src\base\memory\scoped_ptr.h @ 75]
001af1d4 012b8db0
001af1d8 00f62388 chrome!sandbox::GetHandleName+0xd8 [c:\src\chromium\src\sandbox\src\handle_closer.cc @ 198]
001af1dc 012b8ce8
001af1e0 012a6300
001af1e4 012b8db0
001af1e8 00000008
001af1ec 00f5c105 chrome!sandbox::HandleCloserAgent::CloseHandles+0x1a5 [c:\src\chromium\src\sandbox\src\handle_closer_agent.cc @ 111]
001af1f0 00000004
001af1f4 001af258
001af1f8 75ab1809 kernel32!GetCurrentProcessStub
001af1fc 75acd7ca kernel32!TerminateProcessStub
001af200 01059f74 chrome!instance

Error `#1`: INVALID HEAP ARGUMENT: allocated with operator new[], freed with operator delete
#0 chrome.exe!? +0x0 (0x00f6f4a8 )
#1 chrome.exe!? +0x0 (0x00f59724 )
#2 ntdll.dll!RtlNtStatusToDosError+0x36 (0x77ac6224 )
#3 chrome.exe!? +0x0 (0x00f597c5 )
#4 chrome.dll!RendererMainPlatformDelegate::EnableSandbox+0x33 [c:\src\chromium\src\content\renderer\renderer_main_platform_delegate_win.cc:128](0x6a05cdc4 U 0x00f6f4a8
chrome!scoped_ptr<_TOKEN_USER>::~scoped_ptr<_TOKEN_USER>+0x8 [c:\src\chromium\src\base\memory\scoped_ptr.h @ 75]:
0:000> U 0x00f59724
chrome!`anonymous namespace'::CloseOpenHandles+0x24 [c:\src\chromium\src\sandbox\src\target_services.cc @ 51]:
0:000> U 0x00f597c5
chrome!sandbox::TargetServicesBase::LowerToken+0x75 [c:\src\chromium\src\sandbox\src\target_services.cc @ 86]:

drmem does print this:
WARNING: unable to load symbols for C:\src\chromium\src\build\Release\chrome.exe

xref issue #635 ""

not sure what's going on: out of memory?

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

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.