Hello,
I'm trying to use 0ad on a FreeBSD workstation (diskless, i7-4470, 16 GB, intel GPU).
pythagore:[~] > uname -a
FreeBSD pythagore 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
0ad crashes in maps initialization with a segfault (and a lot of Javascript errors):
TIMER| common/sprites.xml: 1.43288 ms
TIMER| common/styles.xml: 456.91 us
TIMER| gamesetup/setup.xml: 4.5437 ms
TIMER| gamesetup/styles.xml: 509.713 us
TIMER| gamesetup/gamesetup.xml: 501.15 ms
TIMER| common/global.xml: 1.1055 ms
ERROR: JavaScript error: simulation/helpers/Damage.js line 22
missing ( after for
launchGame@gui/gamesettings/GameSettings.js:128:11
launchGame@gui/gamesetup/Controllers/GameSettingsController.js:273:18
onPress@gui/gamesetup/Pages/GameSetupPage/Panels/Buttons/StartGameButton.js:60:52
Writing replay to /home/benedicte/.local/share/0ad/replays/0.0.25/2022-01-09_0002
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
ERROR: CXeromyces: Parse error: in_memory_buffer:1: Element choice is empty
TIMER| loading/sprites.xml: 2.53587 ms
TIMER| loading/loading.xml: 67.4134 ms
ERROR: JavaScript error: simulation/helpers/Player.js line 31
cmpPlayerManager is null
LoadPlayerSettings@simulation/helpers/Player.js:31:19
Setting biome fields_of_meroe/dry.
Generating Fields of Meroƫ of size 256 and 2 players.
Creating river... 0.218174s.
Creating cataracts... 1.199805s.
...
Total map generation time: 7.973253s.
Total entities: 2963, Terrain entities: 382, Textures: 11.
TIMER| ParseTerrain: 31.7193 ms
ERROR: RelaxNGValidator: No grammar loaded
ERROR: Failed to validate entity template 'actor|props/flora/reeds_pond_lush_a.xml'
Segmentation fault
Of course, I have checked that I only have one javascript engine on this system:
root@pythagore:~ # pkg info | grep spider
spidermonkey78-78.9.0_4 Standalone JavaScript based from Mozilla 78-esr
root@pythagore:~ # pkg info | grep 0ad
0ad-0.0.25b_5 Real-time strategy (RTS) game of ancient warfare
root@pythagore:~ #
If I remember, old 0ad releases ran like a charm. I suppose I have done a mistake somewhere. Help will be welcome.
Regards,
JB