[Intel-gfx] [Beignet] Beignet crashes on vanilla 3.17.1 with IVB hardware

Zhigang Gong zhigang.gong at linux.intel.com
Fri Oct 24 11:13:03 CEST 2014


Hi,

Luxmark (both 2.0/2.1) works fine on my IVB machine. The back trace
you provided below doesn't indicate it's a beignet related problem.
It hadn't enter beignet domain and just crashed in luxmark internal.

On Fri, Oct 24, 2014 at 12:04:29PM +0300, Vasily Khoruzhick wrote:
> Hi Zhigang,
> 
> Luxmark crashes with following backtrace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000004cd8b0 in slg::PathOCLRenderEngine::StopLockLess() ()
> (gdb) bt
> #0  0x00000000004cd8b0 in slg::PathOCLRenderEngine::StopLockLess() ()
> #1  0x0000000000482236 in slg::RenderEngine::Stop() ()
> #2  0x000000000047be9b in slg::RenderSession::~RenderSession() ()
> #3  0x0000000000468a77 in LuxMarkApp::Stop() ()
> #4  0x0000000000468b46 in LuxMarkApp::InitRendering(LuxMarkAppMode,
> char const*) ()

After a quick analysis, I confirm that the second case is indeed a beignet
bug. Beignet lacks of some llvm intrinsics support such as
llvm.uadd.with.overflow.i32().

Will fix it next week.

Thanks,
Zhigang Gong.

> 
> And convert from imagemagick crashes in libgbe.so:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffeb0df18c in gbe::buildRegInfo(gbe::ir::BasicBlock&,
> gbe::vector<gbe::RegInfoForMov>&) () from /usr/lib/beignet//libgbe.so
> (gdb) bt
> #0  0x00007fffeb0df18c in gbe::buildRegInfo(gbe::ir::BasicBlock&,
> gbe::vector<gbe::RegInfoForMov>&) () from /usr/lib/beignet//libgbe.so
> #1  0x00007fffeb0e048d in
> gbe::GenWriter::removeLOADIs(gbe::ir::Liveness const&,
> gbe::ir::Function&) () from /usr/lib/beignet//libgbe.so
> #2  0x00007fffeb0fb823 in
> gbe::GenWriter::emitFunction(llvm::Function&) () from
> /usr/lib/beignet//libgbe.so
> #3  0x00007fffeb100b63 in



More information about the Intel-gfx mailing list