Bug 49086 - nouveau — Gallium 0.4 on NVA5 — 2.1 Mesa 8.0.2 crashes Firefox Nightly
Summary: nouveau — Gallium 0.4 on NVA5 — 2.1 Mesa 8.0.2 crashes Firefox Nightly
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 8.0
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 11:26 UTC by Alex Mayorga Adame
Modified: 2012-11-01 21:21 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Backtrace (5.09 KB, text/plain)
2012-06-09 02:27 UTC, Josef Vitu
Details
Patch for issue. (983 bytes, text/plain)
2012-06-09 06:36 UTC, Christoph Bumiller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Mayorga Adame 2012-04-23 11:26:07 UTC
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/conformance/glsl/functions/glsl-function-normalize.html crashes Firefox Nightly on click with this configuration:

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20120423 Firefox/14.0a1 ID:20120423034053

Adapter Description nouveau — Gallium 0.4 on NVA5
Vendor ID nouveau
Device ID Gallium 0.4 on NVA5
Driver Version 2.1 Mesa 8.0.2
WebGL Renderer nouveau — Gallium 0.4 on NVA5 — 2.1 Mesa 8.0.2
GPU Accelerated Windows 0
AzureBackend skia

I was directed to report this crash to this bug tracker at http://blog.mozilla.org/bjacob/2012/04/21/webgl-1-0-1-conformance-testing-part-2/comment-page-1/#comment-3082
Comment 1 Josef Vitu 2012-06-09 02:27:17 UTC
Created attachment 62841 [details]
Backtrace

Backtrace for a similar configuration:

Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120608081921

Adapter Description   nouveau -- Gallium 0.4 on NV96
Vendor ID   nouveau
Device ID   Gallium 0.4 on NV96
Driver Version   2.1 Mesa 8.0.2
WebGL Renderer   nouveau -- Gallium 0.4 on NV96 -- 2.1 Mesa 8.0.2
GPU Accelerated Windows   0
AzureBackend   skia
Comment 2 Marcin Slusarz 2012-06-09 05:15:07 UTC
This is:
assert(i->opcode == NV_OP_RCP && !src0->mod);
in nv50_pc_emit.c/emit_flop

CC'ing Christoph
Comment 3 Christoph Bumiller 2012-06-09 06:36:24 UTC
Created attachment 62847 [details]
Patch for issue.

This should get rid of the assertion failure (obviously) and handle the case correctly.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.