[Bug 64201] OpenCL usage result segmentation fault on r600g with HD6850.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 24 09:00:51 PDT 2013


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

Olivier Langlois <olivier at olivierlanglois.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier at olivierlanglois.net

--- Comment #25 from Olivier Langlois <olivier at olivierlanglois.net> ---
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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130524/69e375ae/attachment-0001.html>


More information about the dri-devel mailing list