Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 457588

Summary: media-tv/kodi: with a PaX kernel - xbmc.bin: LLVM ERROR: Allocation failed when allocating new memory in the JIT
Product: Gentoo Linux Reporter: bsod
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED FIXED    
Severity: normal CC: hardened, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description bsod 2013-02-14 19:08:14 UTC
When starting xbmc on a pax enabled kernel it will crash.







Reproducible: Always

Steps to Reproduce:
1.xbmc
Actual Results:  
LLVM ERROR: Allocation failed when allocating new memory in the JIT
Can't allocate RWX Memory: Operation not permitted
pure virtual method called
terminate called without an active exception
/usr/bin/xbmc: Zeile 137: 10140 Abgebrochen             (Speicherabzug geschrieben) "$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
Crash report available at /home/reddragon/xbmc_crashlog-20130214_195749.log

Expected Results:  
Starting xbmc

if you run 
paxctl -m /usr/lib64/xbmc/xbmc.bin
xbmc will work as expected. 
Maybe this should be added to the ebuild install process (with a pax_kernel use flag)?
Comment 1 SpanKY gentoo-dev 2013-12-31 18:58:38 UTC
the hardened team should advise on the appropriate pax markings