odr-violation in media::VideoCaptureMachine |
|||||
Issue description
Building tests using ASan has started producing odr violations, which prevents running the tests. I find that I need to disable this check in order to use it. The report is:
$ ./out/asan/content_unittests
=================================================================
==88502==ERROR: AddressSanitizer: odr-violation (0x7ff979bd9ae0):
[1] size=56 'vtable for media::VideoCaptureMachine' ../../media/capture/content/screen_capture_device_core.cc
[2] size=56 'vtable for media::VideoCaptureMachine' ../../media/capture/content/screen_capture_device_core.cc
These globals were registered at these points:
[1]:
#0 0x6d4c19 in __asan_register_globals (/usr/local/google/home/nasko/chromium/src/out/asan/content_unittests+0x6d4c19)
#1 0x7ff977e4653b in asan.module_ctor (/usr/local/google/home/nasko/chromium/src/out/asan/./libcontent.so+0x31a753b)
[2]:
#0 0x6d4c19 in __asan_register_globals (/usr/local/google/home/nasko/chromium/src/out/asan/content_unittests+0x6d4c19)
#1 0x7ff96e133a3b in asan.module_ctor (/usr/local/google/home/nasko/chromium/src/out/asan/./libmedia.so+0x487a3b)
==88502==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'vtable for media::VideoCaptureMachine' at ../../media/capture/content/screen_capture_device_core.cc
==88502==ABORTING
My build configuration is:
$ cat ./out/asan/args.gn
is_component_build = true
is_debug = false
dcheck_always_on = true
use_goma = true
use_gold = true
is_asan = true
is_lsan = true
,
Apr 6 2016
This is probably a similar problem to https://groups.google.com/a/chromium.org/d/msg/gn-dev/I8EmtfofRDg/mK_ZLiCQBAAJ
,
Jul 26 2016
,
Jul 27 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 28 2017
this bug has been stale for > 1 year. close it with StaleClosed label.
,
Jul 28 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dalecur...@chromium.org
, Mar 10 2016Components: -Internals>Media Internals>Media>Capture
Owner: mcasas@chromium.org
Status: Assigned (was: Untriaged)