Closed Bug 476470 Opened 16 years ago Closed 16 years ago

[c3d] crash occurs if using a solid color texture

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: andorsalga, Assigned: vlad)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 If a jpg or gif if used as a texture in the canvs3D extension and the texture is a solid color, the browser will crash. Possibly due to optimization within the browser. Reproducible: Always Steps to Reproduce: 1. Create an jpg image in an application such as mspaint, photoshop or gimp which comprises of a single color. 2. Create a opengles context using the canvas3D extension. 3. Set the texture object to the image created, enable textures, etc. Actual Results: Once these steps are executed, the browser will crash. Expected Results: The texture should have been applied to the mesh. This is likely due to an optimization within firefox and seems to occur regardless of the image editing software used. Current workaround is to place one pixel of any other color in the image and re-save. This will prevent crashing and likely not be visible to users viewing the mesh.
Status: UNCONFIRMED → NEW
Component: General → Layout: Canvas
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout.canvas
Target Milestone: --- → M1
Version: unspecified → Trunk
Assignee: nobody → vladimir
Summary: crash occurs if using a solid color texture in the canvas3D extension. → [c3d] crash occurs if using a solid color texture
Target Milestone: M1 → ---
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.