Amarildo Posted August 24, 2015 Report Share Posted August 24, 2015 (edited) Hello,I'm running Arch Linux with hardened GRSec Kernel, with softmode set to 0.Whenever I try to start the game it simply "bugs" and tells me that JavaScript is out of memory. If "kernel.pax.softmode" is set to "1" then the game runs normally because all mitigations are off.Here's an image for reference: https://i.imgur.com/Siiukcs.pngI set up Pax exceptions for all the files related to 0ad that I could find, including:/usr/bin/0ad/usr/lib/0ad/*/usr/lib64/0ad/*/usr/share/0ad/*Note: "*" means all the files in those folders are set with "pemrs" exceptions, which means all mitigations are off for them, with the following command:setfattr -n user.pax.flags -v "pemrs" /file-locationsObviously there must be other files that are not executing properly, so here I am asking if that is actually the case and if so, where I can find these files.Here is the Terminal log:[amarildo@amarildo ~]$ 0ad Cache: 400 (total: 3952) MiBTIMER| InitVfs: 2.31242 msTIMER| CONFIG_Init: 2.30964 msSound: AlcInit success, using OpenAL SoftTIMER| shutdown ConfigDB: 1.149 usTIMER| resource modules: 2.866 msTIMER TOTALS (9 clients)----------------------------------------------------- tc_dds_transform: 0 c (0x) tc_png_decode: 0 c (0x) tc_pool_alloc: 39.817 kc (2x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x)-----------------------------------------------------TIMER| shutdown misc: 412.783 usCache: 400 (total: 3952) MiBTIMER| InitVfs: 183.334 msTIMER| CONFIG_Init: 2.29167 msSound: AlcInit success, using OpenAL SoftATTENTION: default value of option force_s3tc_enable overridden by environment.ERROR: JavaScript error: out of memoryTIMER| RunHardwareDetection: 25.9649 msTIMER| write_sys_info: 17.2546 msERROR: JavaScript error: out of memoryERROR: LoadGlobalScripts: Failed to load script globalscripts/Math.jsTIMER| InitRenderer: 3.868 msERROR: JavaScript error: out of memoryTIMER| ps_console: 5.15194 msTIMER| ps_lang_hotkeys: 1.61711 msERROR: JavaScript error: out of memoryERROR: LoadGlobalScripts: Failed to load script globalscripts/Math.jsTIMER| common/modern/setup.xml: 268.805 usTIMER| common/modern/styles.xml: 198.136 usTIMER| common/modern/sprites.xml: 2.47045 msTIMER| common/setup.xml: 492.404 usTIMER| common/sprite1.xml: 1.88606 msTIMER| common/styles.xml: 55.554 usTIMER| common/common_sprites.xml: 1.97108 msTIMER| common/common_styles.xml: 215.404 usERROR: JavaScript error: out of memoryERROR: JavaScript error: out of memoryTIMER| common/init.xml: 1.72902 msTIMER| pregame/sprites.xml: 398.12 usTIMER| pregame/styles.xml: 44.043 usERROR: JavaScript error: out of memoryTIMER| pregame/mainmenu.xml: 9.90071 msTIMER| common/global.xml: 621.996 usERROR: GUI page 'page_pregame.xml': Failed to call init() functionERROR: JavaScript error: out of memorysys_cursor_create: using Xcursor to create 32 x 32 cursor^CTIMER| shutdown TexMan: 2.844 usTIMER| shutdown Renderer: 288.817 usTIMER| shutdown SDL: 8.23942 msTIMER| shutdown UserReporter: 349.092 usTIMER| shutdown ConfigDB: 0.326 usTIMER| resource modules: 47.3564 msTIMER TOTALS (0 clients)----------------------------------------------------------------------------------------------------------TIMER| shutdown misc: 333.58 us[amarildo@amarildo ~]$Regards,AmarildoEDIT: Looking at the file list for 0ad I noticed there is a "pyrogenesis" file I didn't flag for exception. I flagged it with "PEmRS" and now the game works fine! Edited August 25, 2015 by Amarildo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.