The default bug view has changed. See this FAQ.

valgrind: Conditional jump or move depends on uninitialised value(s) in nsLookAndFeel::NativeGetColor

RESOLVED FIXED in mozilla10

Status

()

Core
Widget
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Josh Aas, Assigned: Josh Aas)

Tracking

Trunk
mozilla10
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 568288 [details] [diff] [review]
fix v1.0

==29775== Conditional jump or move depends on uninitialised value(s)
==29775==    at 0x10867A2AF: nsLookAndFeel::NativeGetColor(mozilla::LookAndFeel::ColorID, unsigned int&) (nsLookAndFeel.mm:110)
==29775==    by 0x1086AB63C: nsXPLookAndFeel::GetColorImpl(mozilla::LookAndFeel::ColorID, unsigned int&) (nsXPLookAndFeel.cpp:632)
==29775==    by 0x1086ABDCA: mozilla::LookAndFeel::GetColor(mozilla::LookAndFeel::ColorID, unsigned int*) (nsXPLookAndFeel.cpp:722)
==29775==    by 0x10754F5E1: mozilla::LookAndFeel::GetColor(mozilla::LookAndFeel::ColorID, unsigned int) (LookAndFeel.h:461)
==29775==    by 0x107653AEB: nsTextPaintStyle::InitSelectionColors() (nsTextFrameThebes.cpp:3448)
==29775==    by 0x107653BD2: nsTextPaintStyle::GetSelectionColors(unsigned int*, unsigned int*) (nsTextFrameThebes.cpp:3260)
==29775==    by 0x107653D43: GetSelectionTextColors(short, nsTextPaintStyle&, nsTextRangeStyle const&, unsigned int*, unsigned int*) (nsTextFrameThebes.cpp:4634)
==29775==    by 0x107657BF1: nsTextFrame::PaintTextWithSelectionColors(gfxContext*, gfxPoint const&, gfxPoint const&, gfxRect const&, PropertyProvider&, unsigned int, unsigned int, nsTextPaintStyle&, SelectionDetails*, short*, nsCharClipDisplayItem::ClipEdges const&) (nsTextFrameThebes.cpp:4896)
==29775==    by 0x1076583BE: nsTextFrame::PaintTextWithSelection(gfxContext*, gfxPoint const&, gfxPoint const&, gfxRect const&, PropertyProvider&, unsigned int, unsigned int, nsTextPaintStyle&, nsCharClipDisplayItem::ClipEdges const&) (nsTextFrameThebes.cpp:5081)
==29775==    by 0x107660BDA: nsTextFrame::PaintText(nsRenderingContext*, nsPoint, nsRect const&, nsCharClipDisplayItem const&) (nsTextFrameThebes.cpp:5309)
==29775==    by 0x107660E9B: nsDisplayText::Paint(nsDisplayListBuilder*, nsRenderingContext*) (nsTextFrameThebes.cpp:4177)
==29775==    by 0x1074BBB2E: mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, nsIntRegion const&, void*) (FrameLayerBuilder.cpp:2109)
Attachment #568288 - Flags: review?(roc)
Attachment #568288 - Flags: review?(roc) → review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed
(Assignee)

Updated

6 years ago
Keywords: checkin-needed
(Assignee)

Comment 1

6 years ago
pushed to mozilla-inbound

http://hg.mozilla.org/integration/mozilla-inbound/rev/f0a6064f5fc1
https://hg.mozilla.org/mozilla-central/rev/f0a6064f5fc1
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.