New issue
Advanced search Search tips

Issue 593864 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

odr-violation in media::VideoCaptureMachine

Project Member Reported by nasko@chromium.org, Mar 10 2016

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
 
Cc: m...@chromium.org dalecur...@chromium.org
Components: -Internals>Media Internals>Media>Capture
Owner: mcasas@chromium.org
Status: Assigned (was: Untriaged)
=> mcasas@ since he's done most work here lately. cc: miu in case he knows what's up too.

Comment 3 by mcasas@chromium.org, Jul 26 2016

Cc: mcasas@chromium.org
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Labels: StaleClosed
this bug has been stale for > 1 year. close it with StaleClosed label.
Status: WontFix (was: Untriaged)

Sign in to add a comment