From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 64201] OpenCL usage result segmentation fault on r600g with HD6850. Date: Fri, 24 May 2013 16:00:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1169007141==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B4ECBE5D31 for ; Fri, 24 May 2013 09:00:51 -0700 (PDT) In-Reply-To: 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 --===============1169007141== Content-Type: multipart/alternative; boundary="1369411251.eB570802.11118"; charset="us-ascii" --1369411251.eB570802.11118 Date: Fri, 24 May 2013 16:00:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64201 Olivier Langlois changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olivier@olivierlanglois.net --- Comment #25 from Olivier Langlois --- Hi, I have a segfault when running bfgminer. I have compiled llvm,libclc and mesa yesterday from git/svn trunk. The core seems to happen when llvm compiles the cl program. So the crash happens before anything gets executed on the GPU. Maybe llvm is compiling differently depending on the target. I am currently rebuilding debug build of llvm to have more info but in the meantime, just in case that you would recognize something you've seen often: Program terminated with signal 11, Segmentation fault. #0 0x00007f090591a5e5 in llvm::Linker::linkInModule(llvm::Module*, unsigned int, std::string*) () from /usr/lib/llvm/libLLVM-3.4svn.so (gdb) where #0 0x00007f090591a5e5 in llvm::Linker::linkInModule(llvm::Module*, unsigned int, std::string*) () from /usr/lib/llvm/libLLVM-3.4svn.so #1 0x00007f090591ccaf in llvm::Linker::LinkModules(llvm::Module*, llvm::Module*, unsigned int, std::string*) () from /usr/lib/llvm/libLLVM-3.4svn.so #2 0x00007f09070fbecc in clover::compile_program_llvm(clover::compat::string const&, pipe_shader_ir, clover::compat::string const&, clover::compat::string const&) () from /usr/lib/libOpenCL.so #3 0x00007f09070deb19 in _cl_program::build(std::vector<_cl_device_id*, std::allocator<_cl_device_id*> > const&, char const*) () from /usr/lib/libOpenCL.so #4 0x00007f09070efa70 in clBuildProgram () from /usr/lib/libOpenCL.so #5 0x000000000043ac60 in ?? () #6 0x0000000000436d1d in ?? () #7 0x0000000000406af3 in ?? () #8 0x00007f0908b92a15 in __libc_start_main () from /usr/lib/libc.so.6 #9 0x0000000000408175 in ?? () marie-eve@Kimper /usr/lib $ bfgminer -n [2013-05-24 11:59:21] CL Platform 0 vendor: Mesa [2013-05-24 11:59:21] CL Platform 0 name: Default [2013-05-24 11:59:21] CL Platform 0 version: OpenCL 1.1 MESA 9.2.0 [2013-05-24 11:59:21] Platform 0 devices: 1 [2013-05-24 11:59:21] 0 AMD RS780 [2013-05-24 11:59:21] Unable to load ati adl library [2013-05-24 11:59:21] 1 GPU devices max detected -- You are receiving this mail because: You are the assignee for the bug. --1369411251.eB570802.11118 Date: Fri, 24 May 2013 16:00:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64201
What Removed Added
CC   olivier@olivierlanglois.net

Comment # 25 on bug 64201 from
Hi,

I have a segfault when running bfgminer. I have compiled llvm,libclc and mesa
yesterday from git/svn trunk.

The core seems to happen when llvm compiles the cl program. So the crash
happens before anything gets executed on the GPU. Maybe llvm is compiling
differently depending on the target.

I am currently rebuilding debug build of llvm to have more info but in the
meantime, just in case that you would recognize something you've seen often:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f090591a5e5 in llvm::Linker::linkInModule(llvm::Module*, unsigned
int, std::string*) () from /usr/lib/llvm/libLLVM-3.4svn.so
(gdb) where
#0  0x00007f090591a5e5 in llvm::Linker::linkInModule(llvm::Module*, unsigned
int, std::string*) () from /usr/lib/llvm/libLLVM-3.4svn.so
#1  0x00007f090591ccaf in llvm::Linker::LinkModules(llvm::Module*,
llvm::Module*, unsigned int, std::string*) ()
   from /usr/lib/llvm/libLLVM-3.4svn.so
#2  0x00007f09070fbecc in clover::compile_program_llvm(clover::compat::string
const&, pipe_shader_ir, clover::compat::string const&, clover::compat::string
const&) () from /usr/lib/libOpenCL.so
#3  0x00007f09070deb19 in _cl_program::build(std::vector<_cl_device_id*,
std::allocator<_cl_device_id*> > const&, char const*) ()
   from /usr/lib/libOpenCL.so
#4  0x00007f09070efa70 in clBuildProgram () from /usr/lib/libOpenCL.so
#5  0x000000000043ac60 in ?? ()
#6  0x0000000000436d1d in ?? ()
#7  0x0000000000406af3 in ?? ()
#8  0x00007f0908b92a15 in __libc_start_main () from /usr/lib/libc.so.6
#9  0x0000000000408175 in ?? ()

marie-eve@Kimper /usr/lib $ bfgminer -n
 [2013-05-24 11:59:21] CL Platform 0 vendor: Mesa                    
 [2013-05-24 11:59:21] CL Platform 0 name: Default                    
 [2013-05-24 11:59:21] CL Platform 0 version: OpenCL 1.1 MESA 9.2.0             
 [2013-05-24 11:59:21] Platform 0 devices: 1                    
 [2013-05-24 11:59:21]     0    AMD RS780                    
 [2013-05-24 11:59:21] Unable to load ati adl library                    
 [2013-05-24 11:59:21] 1 GPU devices max detected


You are receiving this mail because:
  • You are the assignee for the bug.
--1369411251.eB570802.11118-- --===============1169007141== 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 --===============1169007141==--