Bug 192607 - Valgrind internal error while running Chromium's ObserverListThreadSafeTest unit test
Summary: Valgrind internal error while running Chromium's ObserverListThreadSafeTest u...
Status: CONFIRMED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.5 SVN
Platform: Compiled Sources macOS
: NOR crash
Target Milestone: wanted3.6.0
Assignee: Rhys Kidd
URL:
Keywords:
: 221053 221253 221622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-13 22:18 UTC by leiz
Modified: 2015-08-21 07:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leiz 2009-05-13 22:18:05 UTC
This is related to Chromium bug 7477. [1] I'm getting Valgrind internal errors on a 2nd gen Mac Pro running OS X 10.5.6. I'm using Xcode 3.1.2.

When I run my unit test under Valgrind, every so often I get a Valgrind internal error:

VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
si_code=1;  Faulting address: 0x7A4A010;  sp: 0xf4928ce0
</valgrindoutput>

> valgrind: the 'impossible' happened:
Killed by fatal signal
<stack>
<frame>
<ip>0xF00B6275</ip>
</frame>


To reproduce this bug:

1. Build Chromium per instructions here. [2] I tried with r15968.
2. Install Valgrind. I compile my copy from SVN source with r9779
3. Enable the ObserverListThreadSafeTest.CrossThreadObserver test by removing its entry from base/data/valgrind/base_unittests.gtest.txt
4. Run ./tools/valgrind/chrome_tests.sh -t base --gtest_filter=ObserverListThreadSafeTest.CrossThreadObserver

I did a loop of 100 runs. In 8 of the runs, I hit the internal error.

[1] http://code.google.com/p/chromium/issues/detail?id=7477
[2] http://code.google.com/p/chromium/wiki/MacBuildInstructions
Comment 1 Jacopo De Simoi 2010-01-09 11:35:01 UTC
*** Bug 221053 has been marked as a duplicate of this bug. ***
Comment 2 Jacopo De Simoi 2010-01-09 11:36:09 UTC
*** Bug 221253 has been marked as a duplicate of this bug. ***
Comment 3 Jacopo De Simoi 2010-01-09 11:42:02 UTC
*** Bug 221622 has been marked as a duplicate of this bug. ***
Comment 4 Rhys Kidd 2015-07-13 01:57:26 UTC
Note: A very similar bug report with si_code can be reliably reproduced with BZ#234814, using an available in-tree regression test.

Is anyone able to confirm if this bug is still present with current Chromium, current Valgrind SVN and the ObserverListThreadSafeTest.CrossThreadObserver test?
Comment 5 leiz 2015-08-21 05:46:41 UTC
I just tested on Linux, but then I remembered this is a Mac bug. I'll have to find a suitable Mac to test with.