New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 698356 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jan 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Hang when RUNNING_ON_VALGRIND code is enabled

Project Member Reported by bruening@chromium.org, Mar 3 2017

Issue description

On Linux, a number of unit tests, including is_debug=true base_unittests, hang when run with RUNNING_ON_VALGRIND=1 or when actually running under Valgrind or DynamoRIO.

Xref https://github.com/DynamoRIO/dynamorio/issues/2262

To reproduce:

$ RUNNING_ON_VALGRIND=1 out/Debug/base_unittests --single-process-tests --gtest_filter=ThreadHeapUsageShimTest.HooksIntoMallocWhenShimAvailable
Note: Google Test filter = ThreadHeapUsageShimTest.HooksIntoMallocWhenShimAvailable
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ThreadHeapUsageShimTest
[ RUN      ] ThreadHeapUsageShimTest.HooksIntoMallocWhenShimAvailable


The test just sits there in the middle, hung.  The callstacks show some kind of recursive lock issue involving pthread_once, but how that's related to RUNNING_ON_VALGRIND is unclear.

This is a regression, as in the past this code was run under DynamoRIO (for Dr. Memory, drcov code coverage, and other purposes) and under Valgrind in the more distant past.
 
Status: Archived (was: Untriaged)
Archiving P3s older than 1 year with no owner or component.

Sign in to add a comment