Commit c5e8ee89 authored by jyasskin@chromium.org's avatar jyasskin@chromium.org

FakeCaptureVariableResolution also crashes occasionally on Mac valgrind.

[ RUN      ] VideoCaptureDeviceTest.FakeCaptureVariableResolution
Received signal 11 SEGV_MAPERR 000000000000
...
06:57:35 memcheck_analyze.py [ERROR] FAIL! There were 2 errors:
InvalidRead
Invalid read of size 4
  FontNameCacheNodeProc(DLCacheTree const*, void*, void*, void*, unsigned char*)
  FindInDLCacheTree
  FindEntryInNameCache
  _eFOFindName
  FindNameAsCFString
  ATSFontGetPostScriptName
  TBaseFont::GetPlatformFont() const
  CTFontRef_to_SkFontID(__CTFont const*)
  NewFromFontRef(__CTFont const*, char const*)
  NewFromName(char const*, SkTypeface::Style)
  create_typeface(SkTypeface const*, char const*, SkTypeface::Style)
  SkFontMgr_Mac::onLegacyCreateTypeface(char const*, unsigned int) const
  SkFontMgr::legacyCreateTypeface(char const*, unsigned int) const
  SkFontHost::CreateTypeface(SkTypeface const*, char const*, SkTypeface::Style)
  SkTypeface::create_default_typeface(SkTypeface::Style)
  _ZL12sk_once_slowI10SkSpinlockPFvN10SkTypeface5StyleEES2_EvPbPT_T0_T1_PFvvE
  void SkOnce<SkSpinlock, void (*)(SkTypeface::Style), SkTypeface::Style>(bool*, SkSpinlock*, void (*)(SkTypeface::Style), SkTypeface::Style, void (*)())
  void SkOnce<void (*)(SkTypeface::Style), SkTypeface::Style>(SkOnceFlag*, void (*)(SkTypeface::Style), SkTypeface::Style, void (*)())
  SkTypeface::GetDefaultTypeface(SkTypeface::Style)
  SkScalerContext::MakeRec(SkPaint const&, SkDeviceProperties const*, SkMatrix const*, SkScalerContextRec*)
  SkPaint::descriptorProc(SkDeviceProperties const*, SkMatrix const*, void (*)(SkTypeface*, SkDescriptor const*, void*), void*, bool) const
  SkPaint::detachCache(SkDeviceProperties const*, SkMatrix const*) const
  SkAutoGlyphCache::SkAutoGlyphCache(SkPaint const&, SkDeviceProperties const*, SkMatrix const*)
  SkAutoGlyphCache::SkAutoGlyphCache(SkPaint const&, SkDeviceProperties const*, SkMatrix const*)
  SkDraw::drawText(char const*, unsigned long, float, float, SkPaint const&) const
  SkBitmapDevice::drawText(SkDraw const&, void const*, unsigned long, float, float, SkPaint const&)
  SkCanvas::drawText(void const*, unsigned long, float, float, SkPaint const&)
  media::FakeVideoCaptureDevice::OnCaptureTask()
Address 0xd11a5aaa is not stack'd, malloc'd or (recently) free'd

BUG=344108
TBR=mcasas@chromium.org
NOTRY=TRUE

Review URL: https://codereview.chromium.org/217503002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260282 0039d316-1c4b-4281-b951-d872f2087c98
parent 74203748
# Crashes under Valgrind on Mac, http://crbug.com/344108
VideoCaptureDeviceTest.FakeCapture
VideoCaptureDeviceTest.FakeCaptureVariableResolution
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment