From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100067] [OpenCL] const int in argument list crashes build Date: Fri, 24 Mar 2017 16:18:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0575254521==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2139D6E2A6 for ; Fri, 24 Mar 2017 16:18:20 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0575254521== Content-Type: multipart/alternative; boundary="14903723000.fcDBC.5554"; charset="UTF-8" --14903723000.fcDBC.5554 Date: Fri, 24 Mar 2017 16:18:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D100067 --- Comment #7 from Mig --- Backtrace: (gdb) run Starting program: /home/miguel/Dokumente/OpenCLExamples/myGEMM-master/extra/minimal=20 >>> 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 mem= ory, max allocation 1432.4 MiB, driver 17.0.1 Thread 1 "minimal" received signal SIGSEGV, Segmentation fault. 0x00007ffff2b9eb18 in llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineIn= str const&) const () from /usr/lib/libLLVM-3.9.so (gdb) bt #0 0x00007ffff2b9eb18 in llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineInstr const&) const () f= rom /usr/lib/libLLVM-3.9.so #1 0x00007ffff2b33551 in llvm::AMDGPUAsmPrinter::getSIProgramInfo(llvm::AMDGPUAsmPrinter::SIProgramI= nfo&, 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=3D1, argv=3D0x7fffffffe618) at minimal= .cpp:113 (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.= --14903723000.fcDBC.5554 Date: Fri, 24 Mar 2017 16:18:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 7 on bug 10006= 7 from Mig
Backtrace:

(gdb) run
Starting program:
/home/miguel/Dokumente/OpenCLExamples/myGEMM-master/extra/minimal=20
>>> 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 mem=
ory,
max allocation 1432.4 MiB, driver  17.0.1

Thread 1 "minimal" received signal SIGSEGV, Segmentation fault.
0x00007ffff2b9eb18 in llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineIn=
str
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::SIProgramI=
nfo&,
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&a=
mp;) ()
   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=3D1, argv=3D0x7fffffffe618) at minimal=
.cpp:113
(gdb)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14903723000.fcDBC.5554-- --===============0575254521== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0575254521==--