Status: Untriaged
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium valgrind

New issue 9526 by [email protected]: [UMR] Uninitialized member  
m_spreadMethod in WebCore::Gradient::platformGradient()
http://code.google.com/p/chromium/issues/detail?id=9526

Valgrinding a release build of  
LayoutTests/fast/canvas/canvas-radial-gradient-
showed a UMR.  Repeating with debug build showed a fairly clear backtrace
for both the reference and the origin:

10:39:29 valgrind_analyze.py [ERROR] UninitCondition
Conditional jump or move depends on uninitialised value(s)
   WebCore::Gradient::platformGradient()
(third_party/WebKit/WebCore/platform/graphics/skia/GradientSkia.cpp:140)
   WebCore::GraphicsContext::fillRect(WebCore::FloatRect const&)
(third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:738)
   WebCore::CanvasRenderingContext2D::fillRect(float, float, float, float)
(third_party/WebKit/WebCore/html/CanvasRenderingContext2D.cpp:731)
   WebCore::CanvasRenderingContext2DInternal::fillRectCallback(v8::Arguments  
const&)
(chrome/Hammer/dbg/obj/webkit/V8Bindings/DerivedSources/V8CanvasRenderingContext2D
   v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**)  
(v8/src/builtins.cc:380)
   ...
Uninitialised value was created by a heap allocation
   operator new(unsigned int)
(valgrind/trunk/coregrind/m_replacemalloc/vg_replace_malloc.c:230)
   WebCore::Gradient::create(WebCore::FloatPoint const&, float,  
WebCore::FloatPoint const&,
float) (third_party/WebKit/WebCore/platform/graphics/Gradient.h:68)
   WebCore::CanvasGradient::CanvasGradient(WebCore::FloatPoint const&, float,
WebCore::FloatPoint const&, float)
(third_party/WebKit/WebCore/html/CanvasGradient.cpp:43)
   WebCore::CanvasGradient::create(WebCore::FloatPoint const&, float,  
WebCore::FloatPoint
const&, float) (third_party/WebKit/WebCore/html/CanvasGradient.h:48)
   WebCore::CanvasRenderingContext2D::createRadialGradient(float, float,  
float, float, float,
float, int&)  
(third_party/WebKit/WebCore/html/CanvasRenderingContext2D.cpp:1104)
    
WebCore::CanvasRenderingContext2DInternal::createRadialGradientCallback(v8::Argument
(chrome/Hammer/dbg/obj/webkit/V8Bindings/DerivedSources/V8CanvasRenderingContext2D
   v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**)  
(v8/src/builtins.cc:380)


--
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