From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 66331] WebGL water demo crashes LLVM
Date: Sat, 12 Oct 2013 21:11:59 +0000 [thread overview]
Message-ID: <bug-66331-502-3VWkIwCxr9@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-66331-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 7315 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66331
--- Comment #2 from Dieter Nützel <Dieter@nuetzel-hh.de> ---
(In reply to comment #1)
> With current Mesa CVS (10.0.0! ;-) on RV730 AGP I get this,too.
>
> Pure LLVM (3.3 stable) bug, NOT sb.
>
> setenv R600_DEBUG nollvm
> Works OK.
>
> Nice link, Grigori!
>
> Application: konqueror (4.11.2)
> KDE Platform Version: 4.11.2
> Qt Version: 4.8.5
> Operating System: Linux 3.12.0-rc3-1-desktop i686
> Distribution: "openSUSE 12.3 (i586)"
Hopefully better (with LLVM source) trace run:
Program received signal SIGSEGV, Segmentation fault.
llvm::ScheduleDAGInstrs::addVRegUseDeps (this=0x0, SU=0xffffffff,
OperIdx=<optimized out>)
at /usr/src/debug/llvm-3.3/lib/CodeGen/ScheduleDAGInstrs.cpp:414
414 LiveRangeQuery LRQ(LIS->getInterval(Reg),
LIS->getInstructionIndex(MI));
(gdb) list
409 MachineInstr *MI = SU->getInstr();
410 unsigned Reg = MI->getOperand(OperIdx).getReg();
411
412 // Lookup this operand's reaching definition.
413 assert(LIS && "vreg dependencies requires LiveIntervals");
414 LiveRangeQuery LRQ(LIS->getInterval(Reg),
LIS->getInstructionIndex(MI));
415 VNInfo *VNI = LRQ.valueIn();
416
417 // VNI will be valid because MachineOperand::readsReg() is checked by
caller.
418 assert(VNI && "No value to read by operand");
(gdb) info registers
eax 0xad55d20 181755168
ecx 0x0 0
edx 0x0 0
ebx 0xad33d000 -1389113344
esp 0xbfff6f40 0xbfff6f40
ebp 0x0 0x0
esi 0xad441f8 181682680
edi 0xad55d20 181755168
eip 0xad2e747d
0xad2e747d <llvm::ScheduleDAGInstrs::addVRegUseDeps(llvm::SUnit*, unsigned
int)+77>
eflags 0x210246 [ PF ZF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) bt
#0 llvm::ScheduleDAGInstrs::addVRegUseDeps (this=0x0, SU=0xffffffff,
OperIdx=<optimized out>)
at /usr/src/debug/llvm-3.3/lib/CodeGen/ScheduleDAGInstrs.cpp:414
#1 0xad2e9890 in llvm::ScheduleDAGInstrs::buildSchedGraph (this=0xad55d20,
AA=<optimized out>,
RPTracker=0x700) at
/usr/src/debug/llvm-3.3/lib/CodeGen/ScheduleDAGInstrs.cpp:776
#2 0xad21a4dc in llvm::DefaultVLIWScheduler::schedule (this=0xad55d20)
at /usr/src/debug/llvm-3.3/lib/CodeGen/DFAPacketizer.cpp:124
#3 0xad21a7c9 in llvm::VLIWPacketizerList::PacketizeMIs (this=0xbfff7368,
MBB=<optimized out>,
BeginItr=..., EndItr=...) at
/usr/src/debug/llvm-3.3/lib/CodeGen/DFAPacketizer.cpp:164
#4 0xad90f426 in llvm::R600Packetizer::runOnMachineFunction (this=<optimized
out>, Fn=...)
at /usr/src/debug/llvm-3.3/lib/Target/R600/R600Packetizer.cpp:444
#5 0xad27cbb5 in llvm::MachineFunctionPass::runOnFunction (this=0xac81dd0,
F=...)
at /usr/src/debug/llvm-3.3/lib/CodeGen/MachineFunctionPass.cpp:33
#6 0xacdb7307 in llvm::FPPassManager::runOnFunction (this=0x36, F=...)
at /usr/src/debug/llvm-3.3/lib/IR/PassManager.cpp:1530
#7 0xacdb7530 in llvm::FPPassManager::runOnModule (this=0xaba13d8, M=...)
at /usr/src/debug/llvm-3.3/lib/IR/PassManager.cpp:1550
#8 0xacdb77d9 in llvm::MPPassManager::runOnModule (this=0xac6db08, M=...)
at /usr/src/debug/llvm-3.3/lib/IR/PassManager.cpp:1608
#9 0xacdb7fa1 in llvm::PassManagerImpl::run (this=0xac6a1e0, M=...)
at /usr/src/debug/llvm-3.3/lib/IR/PassManager.cpp:1703
#10 0xacdb8157 in llvm::PassManager::run (this=0xbfff7578, M=...)
at /usr/src/debug/llvm-3.3/lib/IR/PassManager.cpp:1738
#11 0xacea2651 in LLVMTargetMachineEmit (T=<optimized out>, M=0xaaed0c0,
OS=...,
codegen=<optimized out>, ErrorMessage=<optimized out>)
at /usr/src/debug/llvm-3.3/lib/Target/TargetMachineC.cpp:194
#12 0xacea27a3 in LLVMTargetMachineEmitToMemoryBuffer (T=0xac68280,
M=0xaaed0c0, codegen=
LLVMObjectFile, ErrorMessage=0xbfff7640, OutMemBuf=<optimized out>)
at /usr/src/debug/llvm-3.3/lib/Target/TargetMachineC.cpp:220
#13 0xade1c7d6 in radeon_llvm_compile () from /usr/lib/dri/updates/r600_dri.so
---Type <return> to continue, or q <return> to quit---
#14 0xade173e2 in r600_llvm_compile () from /usr/lib/dri/updates/r600_dri.so
#15 0xaddc80f7 in r600_shader_from_tgsi () from
/usr/lib/dri/updates/r600_dri.so
#16 0xaddc9335 in r600_pipe_shader_create () from
/usr/lib/dri/updates/r600_dri.so
#17 0xadddadfd in r600_shader_select () from /usr/lib/dri/updates/r600_dri.so
#18 0xadddafb4 in r600_create_shader_state () from
/usr/lib/dri/updates/r600_dri.so
#19 0xadbd4413 in st_translate_fragment_program () from
/usr/lib/dri/updates/r600_dri.so
#20 0xadbd4fd6 in st_get_fp_variant () from /usr/lib/dri/updates/r600_dri.so
#21 0xadb9ccfc in update_fp () from /usr/lib/dri/updates/r600_dri.so
#22 0xadb9997e in st_validate_state () from /usr/lib/dri/updates/r600_dri.so
#23 0xadbaea9c in st_draw_vbo () from /usr/lib/dri/updates/r600_dri.so
#24 0xadb82745 in vbo_handle_primitive_restart () from
/usr/lib/dri/updates/r600_dri.so
#25 0xadb84247 in vbo_validated_drawrangeelements () from
/usr/lib/dri/updates/r600_dri.so
#26 0xadb8462c in vbo_exec_DrawElements () from
/usr/lib/dri/updates/r600_dri.so
#27 0xb2775b9f in ?? () from /usr/lib/libQtWebKit.so.4
#28 0xb27661f5 in ?? () from /usr/lib/libQtWebKit.so.4
#29 0xb292f430 in ?? () from /usr/lib/libQtWebKit.so.4
#30 0xb2e1d92b in ?? () from /usr/lib/libQtWebKit.so.4
#31 0xb2e03109 in ?? () from /usr/lib/libQtWebKit.so.4
#32 0xfffffffb in ?? ()
#33 0xb2ea305e in JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType,
JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) () from
/usr/lib/libQtWebKit.so.4
#34 0xb0b5ea4c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 8324 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2013-10-12 21:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 16:18 [Bug 66331] New: WebGL water demo crashes LLVM bugzilla-daemon
2013-06-28 16:23 ` [Bug 66331] " bugzilla-daemon
2013-10-12 20:40 ` bugzilla-daemon
2013-10-12 21:11 ` bugzilla-daemon [this message]
2013-10-12 21:25 ` bugzilla-daemon
2013-10-27 22:08 ` bugzilla-daemon
2013-10-28 23:41 ` bugzilla-daemon
2013-10-29 0:49 ` bugzilla-daemon
2013-10-29 2:20 ` bugzilla-daemon
2014-02-01 23:26 ` bugzilla-daemon
2014-02-01 23:27 ` bugzilla-daemon
2014-02-02 6:51 ` bugzilla-daemon
2014-02-05 1:46 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-66331-502-3VWkIwCxr9@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.