1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
SIGSEGV while trying to run a Starbound server
Attempting to run Starbound server via box64 results in the following error:
```
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.7 5e01769 built on Jan 6 2022 12:32:44
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 26 Env var
Looking for starbound_server
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
[Info] Root: Preparing Root...
[Info] Root: Done preparing Root.
[Info] Root: Scanning for asset sources in directory '../assets/'
[Info] Root: Loaded Configuration in 0.00431899 seconds
[Info] Root: Scanning for asset sources in directory '../mods/'
[Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
[Info] Root: Detected asset source named 'base' at '../assets/packed.pak'
[Info] Root: Detected unnamed asset source at '../assets/user'
[Info] Loading assets from: '../assets/packed.pak'
[Info] Loading assets from: '../assets/user'
[Info] Assets digest is 531f0b8469832a566d23a0b9870ed717c63291164883670d0ee17086a100d3cd
[Info] Root: Loaded Assets in 2.57193 seconds
[Info] Root: Loaded NameGenerator in 2.5906 seconds
[Info] Root: Loaded PlantDatabase in 0.166204 seconds
[Info] Root: Loaded ObjectDatabase in 0.422108 seconds
[Info] Root: Loaded ProjectileDatabase in 0.247161 seconds
[Info] Root: Loaded NpcDatabase in 0.115781 seconds
[Info] Root: Loaded StagehandDatabase in 0.00437271 seconds
[Info] Root: Loaded VehicleDatabase in 0.0116964 seconds
[Info] Root: Loaded PlayerFactory in 0.0126771 seconds
[Info] Root: Loaded MonsterDatabase in 0.213693 seconds
[Info] Root: Loaded VersioningDatabase in 0.0186293 seconds
[Info] Root: Loaded EntityFactory in 0.0676156 seconds
[Info] Root: Loaded ParticleDatabase in 0.120127 seconds
[Info] Root: Loaded ImageMetadataDatabase in 0.000233082 seconds
[Info] Root: Loaded MaterialDatabase in 0.343645 seconds
[Info] Root: Loaded TerrainDatabase in 0.0103703 seconds
[Info] Root: Loaded BiomeDatabase in 0.0542121 seconds
[Info] Root: Loaded LiquidsDatabase in 0.00512432 seconds
[Info] Root: Loaded StatusEffectDatabase in 0.012025 seconds
[Info] Root: Loaded DamageDatabase in 0.37963 seconds
[Info] Root: Loaded EffectSourceDatabase in 0.00943723 seconds
[Info] Root: Loaded FunctionDatabase in 0.00904939 seconds
[Info] Root: Loaded TreasureDatabase in 0.0450229 seconds
[Info] Root: Loaded DungeonDefinitions in 0.367926 seconds
[Info] Root: Loaded TilesetDatabase in 0.000877087 seconds
[Info] Root: Loaded StatisticsDatabase in 0.00574865 seconds
[Info] Root: Loaded EmoteProcessor in 0.00117221 seconds
[Info] Root: Loaded SpeciesDatabase in 0.0157245 seconds
[Info] Root: Loaded QuestTemplateDatabase in 0.0250446 seconds
[Info] Root: Loaded AiDatabase in 0.00830367 seconds
[Info] Root: Loaded TechDatabase in 0.00404727 seconds
[Info] Root: Loaded CodexDatabase in 0.00963524 seconds
[Info] Root: Loaded BehaviorDatabase in 0.40064 seconds
[Info] Root: Loaded DanceDatabase in 0.00742086 seconds
[Info] Root: Loaded SpawnTypeDatabase in 0.00853963 seconds
[Info] Root: Loaded RadioMessageDatabase in 0.00979976 seconds
[Info] Root: Writing runtime configuration to '../storage/starbound_server.config'
[Info] Root: Loaded ItemDatabase in 5.16862 seconds
[Info] Root: Loaded CollectionDatabase in 3.6803 seconds
99109|Double SIGSEGV (code=1, pc=0xffff90ba5f3c, addr=0xffff00000002)!
99110|SIGSEGV @0xffff90ba5f3c (???(/lib/aarch64-linux-gnu/libc.so.6/0xffff90ba5f3c)) (x64pc=(nil)/???:"???", rsp=0xffff62000000, stack=0xffff61800000:0xffff62000000 own=0xffff61800000 fp=(nil)), for accessing 0xffff00000002 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
Segmentation fault (core dumped)
```
If I provide libc.so.6 from an x86-64 installation and enable lib emulation, the output turns into this:
```
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.7 5e01769 built on Jan 6 2022 12:32:44
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 will force the used of emulated libs for libc.so.6
Using default BOX64_PATH: ./:bin/
Counted 26 Env var
Looking for starbound_server
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using emulated libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Error: Global Symbol __libpthread_freeres not found, cannot apply R_X86_64_GLOB_DAT @0xffff9dd3edd8 ((nil)) in libc.so.6
Error: Global Symbol _dl_starting_up not found, cannot apply R_X86_64_GLOB_DAT @0xffff9dd3ef40 ((nil)) in libc.so.6
Error: Global Symbol __libdl_freeres not found, cannot apply R_X86_64_GLOB_DAT @0xffff9dd3ef88 ((nil)) in libc.so.6
Error: Global Symbol _dl_argv not found, cannot apply R_X86_64_GLOB_DAT @0xffff9dd3efe8 ((nil)) in libc.so.6
Warning, don't know of to handle rela #7 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #8 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #9 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #10 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #11 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #12 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #13 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #14 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #15 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #16 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #17 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #18 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #19 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #20 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #21 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #22 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #23 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #24 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #25 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #26 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #27 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #28 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #29 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #30 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #31 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #32 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #33 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #34 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #35 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #36 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #37 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #38 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #39 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #40 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #41 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #42 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #43 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #44 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #45 type: R_X86_64_IRELATIVE on
Warning, don't know of to handle rela #46 type: R_X86_64_IRELATIVE on
99105|SIGSEGV @0x64935a8c (???(box64/0x64935a8c)) (x64pc=0x25132/???:"???", rsp=0xffff9cad9220, stack=0xffff9c2da000:0xffff9cada000 own=(nil) fp=(nil)), for accessing 0xffffffff (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
Segmentation fault (core dumped)
```
Interestingly enough, I did manage to successfully start it up once (the first time), but after that every consecutive launch ended in SIGSEGV.
OS used: Ubuntu 20.04.
CPU used: Ampere Altra Q80.
|