From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 66331] New: WebGL water demo crashes LLVM Date: Fri, 28 Jun 2013 16:18:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0027686005==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C52B4E66B4 for ; Fri, 28 Jun 2013 09:18:55 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0027686005== Content-Type: multipart/alternative; boundary="1372436335.3eEF0.27238"; charset="us-ascii" --1372436335.3eEF0.27238 Date: Fri, 28 Jun 2013 16:18:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66331 Priority: medium Bug ID: 66331 Assignee: dri-devel@lists.freedesktop.org Summary: WebGL water demo crashes LLVM Severity: normal Classification: Unclassified OS: Linux (All) Reporter: greg@chown.ath.cx Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/DRI/R600 Product: Mesa Created attachment 81647 --> https://bugs.freedesktop.org/attachment.cgi?id=81647&action=edit Dump with R600_DEBUG=ps,vs,fs The WebGL demo http://madebyevan.com/webgl-water/ crashes r600g with LLVM enabled: firefox: /home/greg/build/llvm-3.3.src/include/llvm/CodeGen/MachineInstr.h:272: llvm::MachineOperand& llvm::MachineInstr::getOperand(unsigned int): Assertion `i < getNumOperands() && "getOperand() out of range!"' failed. Stack dump: 0. Running pass 'Function Pass Manager' on module 'tgsi'. 1. Running pass 'R600 Emit Clause Markers Pass' on function '@main' Aborted (core dumped) This happens both with LLVM 3.3 and latest code from SVN. I tried to dump a detailed log, but it actually crashes in a different place when dumping the shaders - might be related though. Log is attached. -- You are receiving this mail because: You are the assignee for the bug. --1372436335.3eEF0.27238 Date: Fri, 28 Jun 2013 16:18:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 66331
Assignee dri-devel@lists.freedesktop.org
Summary WebGL water demo crashes LLVM
Severity normal
Classification Unclassified
OS Linux (All)
Reporter greg@chown.ath.cx
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/DRI/R600
Product Mesa

Created attachment 81647 [details]
Dump with R600_DEBUG=ps,vs,fs

The WebGL demo http://madebyevan.com/webgl-water/ crashes r600g with LLVM
enabled:

firefox: /home/greg/build/llvm-3.3.src/include/llvm/CodeGen/MachineInstr.h:272:
llvm::MachineOperand& llvm::MachineInstr::getOperand(unsigned int): Assertion
`i < getNumOperands() && "getOperand() out of range!"' failed.
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'tgsi'.
1.    Running pass 'R600 Emit Clause Markers Pass' on function '@main'
Aborted (core dumped)

This happens both with LLVM 3.3 and latest code from SVN. I tried to dump a
detailed log, but it actually crashes in a different place when dumping the
shaders - might be related though. Log is attached.


You are receiving this mail because:
  • You are the assignee for the bug.
--1372436335.3eEF0.27238-- --===============0027686005== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0027686005==--