Status: Untriaged
Owner: ----
Labels: Type-Bug Pri-2 OS-Mac Area-WebKit Size-Medium Valgrind

New issue 18253 by d...@chromium.org: Unintialized conditional in  
resample_band() in WebCore::BitmapImage::draw() on mac
http://code.google.com/p/chromium/issues/detail?id=18253

Seen on a fishing expedition on a local mac.
Happened four times in ten full runs of the ui tests:
    1 AutomatedUITestBase.CloseBrowserWindow
    1 TabRestoreUITest.BasicRestoreFromClosedWindow
    2 TabRestoreUITest.RestoreWindow
so to reproduce, try
   sh tools/valgrind/chrome_tests.sh -t ui
--gtest_filter=TabRestoreUITest.*
in a loop for a while until you see the error.

Valgrind complained
Conditional jump or move depends on uninitialised value(s)
   resample_band (/System/.../CoreGraphics)
   img_interpolate_read (/System/.../CoreGraphics)
   img_colormatch_read (/System/.../CoreGraphics)
   img_data_lock (/System/.../CoreGraphics)
   CGSImageDataLock (/System/.../CoreGraphics)
   ripc_AcquireImage (/System/.../Resources/libRIP.A.dylib)
   ripc_DrawImage (/System/.../Resources/libRIP.A.dylib)
   CGContextDrawImage (/System/.../CoreGraphics)
   WebCore::BitmapImage::draw(WebCore::GraphicsContext*, WebCore::FloatRect
const&, WebCore::FloatRect const&, WebCore::CompositeOperator)
(third_party/WebKit/WebCore/platform/graphics/cg/ImageCG.cpp:209)
   WebCore::Image::drawTiled(WebCore::GraphicsContext*, WebCore::FloatRect
const&, WebCore::FloatPoint const&, WebCore::FloatSize const&,
WebCore::CompositeOperator)
(third_party/WebKit/WebCore/platform/graphics/Image.cpp:135)
   WebCore::GraphicsContext::drawTiledImage(WebCore::Image*,
WebCore::IntRect const&, WebCore::IntPoint const&, WebCore::IntSize const&,
WebCore::CompositeOperator)
(third_party/WebKit/WebCore/platform/graphics/GraphicsContext.cpp:462)
WebCore::RenderBoxModelObject::paintFillLayerExtended(WebCore::RenderObject::PaintInfo
const&, WebCore::Color const&, WebCore::FillLayer const*, int, int, int,
int, WebCore::InlineFlowBox*, WebCore::CompositeOperator)
(third_party/WebKit/WebCore/rendering/RenderBoxModelObject.cpp:476)
   WebCore::RenderBox::paintFillLayer(WebCore::RenderObject::PaintInfo
const&, WebCore::Color const&, WebCore::FillLayer const*, int, int, int,
int, WebCore::CompositeOperator)
(third_party/WebKit/WebCore/rendering/RenderBox.cpp:714)
   WebCore::RenderBox::paintFillLayers(WebCore::RenderObject::PaintInfo
const&, WebCore::Color const&, WebCore::FillLayer const*, int, int, int,
int, WebCore::CompositeOperator)
(third_party/WebKit/WebCore/rendering/RenderBox.cpp:709)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to