From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Gong Subject: Re: [Intel-gfx] Beignet crashes on vanilla 3.17.1 with IVB hardware Date: Fri, 24 Oct 2014 17:13:03 +0800 Message-ID: <20141024091303.GC2987@ivb-gt2-rev4> References: <20141024022720.GH13942@ivb-gt2-rev4> <20141024070509.GA2987@ivb-gt2-rev4> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: beignet-bounces@lists.freedesktop.org Sender: "Beignet" To: Vasily Khoruzhick Cc: intel-gfx@lists.freedesktop.org, "beignet@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org 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&) () from /usr/lib/beignet//libgbe.so > (gdb) bt > #0 0x00007fffeb0df18c in gbe::buildRegInfo(gbe::ir::BasicBlock&, > gbe::vector&) () 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