Bug 49086 - nouveau — Gallium 0.4 on NVA5 — 2.1 Mesa 8.0.2 crashes Firefox Nightly
nouveau — Gallium 0.4 on NVA5 — 2.1 Mesa 8.0.2 crashes Firefox Nightly
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau
8.0
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: Nouveau Project
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-23 11:26 UTC by Alex Mayorga Adame
Modified: 2012-11-01 21:21 UTC (History)
3 users (show)

See Also:


Attachments
Backtrace (5.09 KB, text/plain)
2012-06-09 02:27 UTC, Josef Vítů
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 Vítů 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.