DynamoRIO / DynamoRIO/drmemory

-unaddr_only causes aw,snap on browser_tests and full chrome

Open
#1,124 0 comments 0 reactions 0 assignees View on GitHub
Bug-AppCrash Component-LightMode Migrated Priority-High
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 January 31, 2013 14:43:05_

first noticed as web.mit.edu hitting aw,snap w/ -unaddr_only:

~/drmemory/git/build_x86_dbg/bin/drmemory -pause_at_assert -unaddr_only -logdir C:/users/derek/AppData/LocalLow/drmemory -batch -dr d:/derek/dr/git/exports -dr_ops "-stderr_mask 15 -msgbox_mask 12" -- ./chrome.exe --user-data-dir='C:\cygwin\tmp\chrome' http://web.mit.edu whether with -no_privlib_privheap or w/o

this works: -leaks_only
though nicer as: -leaks_only -no_count_leaks -no_check_gdi
(avoids hundreds of possible leaks)

-unaddr_only on smaller tests:
fails: chrome.exe file://e:/derek/chromium-out/test.html
works: ./unit_tests.exe --gtest_filter=GAIAInfoUpdateServiceTest.DownloadSuccess
works: ./browser_tests --single-process --gtest_filter="PlatformAppBrowserTest.RunningAppsAreRecorded"
fails: ./browser_tests --gtest_filter="PlatformAppBrowserTest.RunningAppsAreRecorded"

full mode:
works: ./browser_tests --gtest_filter="PlatformAppBrowserTest.RunningAppsAreRecorded" on same cmdline
works: ./chrome.exe --user-data-dir='C:\cygwin\tmp\chrome' file://e:/derek/chromium-out/test.html
works: ./chrome.exe --user-data-dir='C:\cygwin\tmp\chrome' http://web.mit.edu -light:
works: ./browser_tests --gtest_filter="PlatformAppBrowserTest.RunningAppsAreRecorded" on same cmdline
works: ./chrome.exe --user-data-dir='C:\cygwin\tmp\chrome' http://web.mit.edu so this is a pattern-mode bug

full cmdline of the smallest that that fails for -unaddr_only:

BROWSER_WRAPPER="d:\derek\drmemory\git\build_x86_dbg\bin\drmemory.exe -pause_at_assert -unaddr_only -logdir C:/users/derek/AppData/LocalLow/drmemory -batch -dr d:/derek/dr/git/exports --" ./browser_tests --gtest_filter="PlatformAppBrowserTest.RunningAppsAreRecorded"

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

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.