blob: ebe160db42e67ff9ac9950fe4f2231cedad2bed0 (
plain) (
blame)
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
|
starbound_server SIGSERV on a rk3588 arm64
This SIGSEGV is frequently throwing on start-up of the `starbound_server`. Note frequently, as periodically it will succeed - with no change in parameters. My current workaround is to loop the startup process until it eventually works, which isn't ideal.
This is running inside this base container: `sonroyaalmerol/steamcmd-arm64:root-bookworm-2024-03-03`, and I installed the `box64-rk3588` specific dependency. The container is running on a host rk3588 device.
If I turn off Dynarec with `BOX64_DYNAREC=0` it seems to work, but it's unusably slow without Dynarec. Any ideas?
```
/usr/local/bin/box64 starbound_server
Debug level is 1
Dynarec log level is 1
Dynarec is on
Dynarec will print missing opcodes
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 60 entries
Box64 with Dynarec v0.2.7 35d734e6 built on Mar 9 2024 06:48:54
BOX64: Detected 48bits at least of address space
New Bridge brick at 0x10000 (size 0x1000)
BOX64: Prefering Emulated libs
BOX64: Disabling handling of SigSEGV
Counted 39 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for starbound_server
Rename process to "starbound_server"
New Bridge brick at 0x20000 (size 0x1000)
Using native(wrapped) libpthread.so.0
New Bridge brick at 0x30000 (size 0x1000)
Using native(wrapped) libdl.so.2
New Bridge brick at 0x40000 (size 0x1000)
Using native(wrapped) librt.so.1
New Bridge brick at 0x50000 (size 0x1000)
Using native(wrapped) libm.so.6
New Bridge brick at 0x60000 (size 0x1000)
Using native(wrapped) libc.so.6
New Bridge brick at 0x70000 (size 0x1000)
Using native(wrapped) ld-linux-x86-64.so.2
New Bridge brick at 0x80000 (size 0x1000)
Using native(wrapped) libutil.so.1
New Bridge brick at 0x90000 (size 0x1000)
Using native(wrapped) libbsd.so.0
New Bridge brick at 0x61000 (size 0x1000)
BOX64 Dynarec: higher max_db=49
BOX64 Dynarec: higher max_db=52
BOX64 Dynarec: higher max_db=58
BOX64 Dynarec: higher max_db=180
BOX64 Dynarec: higher max_db=268
BOX64 Dynarec: higher max_db=576
BOX64 Dynarec: higher max_db=596
BOX64 Dynarec: higher max_db=1404
BOX64 Dynarec: higher max_db=1454
BOX64 Dynarec: higher max_db=1870
[Info] Root: Preparing Root...
[Info] Root: Done preparing Root.
[Info] Root: Scanning for asset sources in directory '../assets/'
[Info] Root: Loaded Configuration in 0.0148427 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 3.142 seconds
[Info] Root: Loaded NameGenerator in 3.20466 seconds
[Info] Root: Loaded PlantDatabase in 0.228515 seconds
[Info] Root: Loaded ObjectDatabase in 0.606057 seconds
[Info] Root: Loaded ProjectileDatabase in 0.30857 seconds
[Info] Root: Loaded NpcDatabase in 0.162651 seconds
[Info] Root: Loaded StagehandDatabase in 0.0110858 seconds
[Info] Root: Loaded VehicleDatabase in 0.0126902 seconds
[Info] Root: Loaded PlayerFactory in 0.0384859 seconds
[Info] Root: Loaded MonsterDatabase in 0.265584 seconds
[Info] Root: Loaded VersioningDatabase in 0.0376424 seconds
[Info] Root: Loaded EntityFactory in 0.065875 seconds
[Info] Root: Loaded ParticleDatabase in 0.143735 seconds
[Info] Root: Loaded ImageMetadataDatabase in 0.000182872 seconds
BOX64 Dynarec: higher max_db=1893
BOX64 Dynarec: higher max_db=2359
[Info] Root: Loaded MaterialDatabase in 0.52418 seconds
[Info] Root: Loaded TerrainDatabase in 0.0148412 seconds
[Info] Root: Loaded BiomeDatabase in 0.0890732 seconds
[Info] Root: Loaded LiquidsDatabase in 0.0277426 seconds
[Info] Root: Loaded StatusEffectDatabase in 0.0244605 seconds
[Info] Root: Writing runtime configuration to '../storage/starbound_server.config'
[Info] Root: Loaded DamageDatabase in 0.43529 seconds
[Info] Root: Loaded EffectSourceDatabase in 0.012948 seconds
[Info] Root: Loaded FunctionDatabase in 0.0324112 seconds
[Info] Root: Loaded TreasureDatabase in 0.0472436 seconds
[Info] Root: Loaded DungeonDefinitions in 0.57579 seconds
[Info] Root: Loaded TilesetDatabase in 0.00114273 seconds
[Info] Root: Loaded StatisticsDatabase in 0.00897034 seconds
[Info] Root: Loaded EmoteProcessor in 0.00301491 seconds
[Info] Root: Loaded SpeciesDatabase in 0.0300732 seconds
[Info] Root: Loaded QuestTemplateDatabase in 0.0900814 seconds
[Info] Root: Loaded AiDatabase in 0.0269174 seconds
[Info] Root: Loaded TechDatabase in 0.00829281 seconds
[Info] Root: Loaded CodexDatabase in 0.0168201 seconds
[Info] Root: Loaded BehaviorDatabase in 0.611564 seconds
[Info] Root: Loaded DanceDatabase in 0.0145175 seconds
[Info] Root: Loaded SpawnTypeDatabase in 0.0152157 seconds
[Info] Root: Loaded RadioMessageDatabase in 0.0141418 seconds
[Info] Root: Loaded ItemDatabase in 7.98123 seconds
[Info] Root: Loaded CollectionDatabase in 5.74088 seconds
0311|SIGSEGV @0x7ffffc6804e8 (???(0x7ffffd56d5d0)) (x64pc=0x12cd1a1//home/steam/starbound/linux/starbound_server:"/home/steam/starbound/linux/starbound_server/je_arena_dalloc_large + 0x1bc", rsp=0x7fffe57ffef8, stack=0x7fffe5000000:0x7fffe5800000 own=0x7fffe5000000 fp=0x60200000), for accessing 0x400000004 (code=1/prot=0), db=0x7ffffc75bd50(0x7ffffc6803c0:0x7ffffc6805e8/0x12cd16c:0x12cd1c2//home/steam/starbound/linux/starbound_server/je_arena_dalloc_large + 0x1bc:clean, hash:cf03bb05/cf03bb05) handler=(nil)
RAX:0x0000000400000004 RCX:0x0000000000000003 RDX:0x0000000060002210 RBX:0x0000000060002200
RSP:0x00007fffe57ffef8 RBP:0x0000000000000000 RSI:0x0000000000000000 RDI:0x0000000060002210
R8:0x00000000000004e0 R9:0x0000000060002330 R10:0x0000000000000008 R11:0x0000000000008000
R12:0x0000000400000004 R13:0x00007ffff001a428 R14:0x0000000060002210 R15:0x00000000602028d8
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x00007ffff001a428 RSP-0x18:0x0000000060002210 RSP-0x10:0x00000000602028d8 RSP-0x08:0x00000000012cd174
RSP+0x00:0x0000000000008000 RSP+0x08:0x0000000000000008 RSP+0x10:0x0000000060010480 RSP+0x18:0x00000000600123a0
Segmentation fault (core dumped)
```
|