[Bug 66331] New: WebGL water demo crashes LLVM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 28 09:18:55 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66331

          Priority: medium
            Bug ID: 66331
          Assignee: dri-devel at lists.freedesktop.org
           Summary: WebGL water demo crashes LLVM
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: greg at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130628/8ae1f3a0/attachment.html>


More information about the dri-devel mailing list