<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:olivier@olivierlanglois.net" title="Olivier Langlois <olivier@olivierlanglois.net>"> <span class="fn">Olivier Langlois</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OpenCL usage result segmentation fault on r600g with HD6850."
href="https://bugs.freedesktop.org/show_bug.cgi?id=64201">bug 64201</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>olivier@olivierlanglois.net
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OpenCL usage result segmentation fault on r600g with HD6850."
href="https://bugs.freedesktop.org/show_bug.cgi?id=64201#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OpenCL usage result segmentation fault on r600g with HD6850."
href="https://bugs.freedesktop.org/show_bug.cgi?id=64201">bug 64201</a>
from <span class="vcard"><a class="email" href="mailto:olivier@olivierlanglois.net" title="Olivier Langlois <olivier@olivierlanglois.net>"> <span class="fn">Olivier Langlois</span></a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>