[Bug 100067] [OpenCL] const int in argument list crashes build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 24 16:18:20 UTC 2017


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

--- Comment #7 from Mig <mastner at hotmail.com> ---
Backtrace:

(gdb) run
Starting program:
/home/miguel/Dokumente/OpenCLExamples/myGEMM-master/extra/minimal 
>>> Initializing OpenCL...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffef7f8700 (LWP 3383)]
[New Thread 0x7fffeedf2700 (LWP 3384)]
[New Thread 0x7fffee5f1700 (LWP 3385)]
[New Thread 0x7fffeddf0700 (LWP 3386)]
[New Thread 0x7fffed5ef700 (LWP 3387)]
% Device: AMD TONGA (DRM 3.9.0 / 4.10.4-1-ARCH, LLVM 3.9.1), 2046.3 MiB memory,
max allocation 1432.4 MiB, driver  17.0.1

Thread 1 "minimal" received signal SIGSEGV, Segmentation fault.
0x00007ffff2b9eb18 in llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineInstr
const&) const () from /usr/lib/libLLVM-3.9.so
(gdb) bt
#0  0x00007ffff2b9eb18 in
llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineInstr const&) const () from
/usr/lib/libLLVM-3.9.so
#1  0x00007ffff2b33551 in
llvm::AMDGPUAsmPrinter::getSIProgramInfo(llvm::AMDGPUAsmPrinter::SIProgramInfo&,
llvm::MachineFunction const&) const ()
   from /usr/lib/libLLVM-3.9.so
#2  0x00007ffff2b365ba in
llvm::AMDGPUAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) () from
/usr/lib/libLLVM-3.9.so
#3  0x00007ffff1e2d1d1 in
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) () from
/usr/lib/libLLVM-3.9.so
#4  0x00007ffff1cc57c2 in llvm::FPPassManager::runOnFunction(llvm::Function&)
    () from /usr/lib/libLLVM-3.9.so
#5  0x00007ffff1cc5b4b in llvm::FPPassManager::runOnModule(llvm::Module&) ()
   from /usr/lib/libLLVM-3.9.so
#6  0x00007ffff1cc5e74 in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
   from /usr/lib/libLLVM-3.9.so
#7  0x00007ffff4cc6743 in ?? () from /usr/lib/libMesaOpenCL.so.1
#8  0x00007ffff4cc6d60 in ?? () from /usr/lib/libMesaOpenCL.so.1
#9  0x00007ffff4cc311e in ?? () from /usr/lib/libMesaOpenCL.so.1
#10 0x00007ffff4cb4af9 in ?? () from /usr/lib/libMesaOpenCL.so.1
#11 0x00007ffff4c929cc in ?? () from /usr/lib/libMesaOpenCL.so.1
#12 0x00007ffff7bc650b in clBuildProgram () from /usr/lib/libOpenCL.so.1
#13 0x0000000000401190 in main (argc=1, argv=0x7fffffffe618) at minimal.cpp:113
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170324/59979a60/attachment.html>


More information about the dri-devel mailing list