Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19.2 Crashing on startup #70

Closed
KallanX opened this issue Oct 3, 2023 · 11 comments
Closed

1.19.2 Crashing on startup #70

KallanX opened this issue Oct 3, 2023 · 11 comments

Comments

@KallanX
Copy link

KallanX commented Oct 3, 2023

Just upgraded the server container to the newly released 1.19.2 and the server is in a crash loop.

[14:14:55] [RPAK_FSYS] [info] LoadPakAsync common.rpak 1
[14:14:55] [RPAK_FSYS] [info] Not loading pak ./R2Northstar\mods\Northstar.Custom\paks\mp_weapon_shotgun_doublebarrel.rpak for dedicated server
[14:14:55] [RPAK_FSYS] [info] Not loading pak ui.rpak for dedicated server
[14:14:55] [RPAK_FSYS] [info] Not loading pak particle_scripts.rpak for dedicated server
[14:14:55] [RPAK_FSYS] [info] Not loading pak highlight.rpak for dedicated server
[14:14:55] [RPAK_FSYS] [info] Not loading pak mp_lobby.rpak for dedicated server
[14:14:55] [RPAK_FSYS] [info] Not loading pak mp_lobby_loadscreen.rpak for dedicated server
[14:14:55] [NORTHSTAR] [info] Registering ConCommand find
[14:14:55] [NORTHSTAR] [info] Registering ConCommand findflags
[14:14:55] [NORTHSTAR] [info] Enabling hook _Host_Map_f_CompletionFunc
[14:14:55] [NORTHSTAR] [info] Enabling hook Host_Map_f
[14:14:55] [NORTHSTAR] [info] CDedicatedExports::RunServer(): starting
[14:14:55] [NORTHSTAR] [info] "Z:\tmp\ns1673676050\NorthstarLauncher.exe" -dedicated -port 37015 +setplaylist aitdm +mp_gamemode aitdm +map mp_grave +ns_private_match_countdown_length 0 +net_compresspackets_minsize 64 +net_compresspackets 1 +spewlog_enable 0 +sv_maxrate 127000 +sv_balanceTeams 1 +sv_cheats 0 -enablechathooks +setplaylist private_match -game R2 -nomenuvid -nosound -windowed -nomessagebox +host_preload_shaders 0 +net_usesocketsforloopback 1 +community_frame_run 0
[14:14:55] [NORTHSTAR] [info] Building KeyValues for file playlists_v2.txt
[14:14:55] [NORTHSTAR] [info] Set playlist to Load a map on the command line
[14:14:55] [NORTHSTAR] [info] Set playlist to Load a map on the command line
[14:14:55] [NORTHSTAR] [info] Set playlist to aitdm
nswrap: northstar exited with status 100
nswrap: killing xvfb
nswrap: waiting for children to exit
~~~~~SNIP~~~~~
@GeckoEidechse
Copy link
Collaborator

Just to confirm, going back to

docker pull ghcr.io/pg9182/northstar-dedicated:1-tf2.0.11.0-ns1.19.1

does not result in a crash, right?

@KallanX
Copy link
Author

KallanX commented Oct 3, 2023

Correct. 1.19.1 runs as expected.

@GeckoEidechse
Copy link
Collaborator

Can reproduce. Will look further into it. For now, just use the previous image.

@GeckoEidechse
Copy link
Collaborator

https://github.com/pg9182/northstar-dedicated-ci/actions/runs/6394806680 also observes this issue, so it must be in launcher code.

@GeckoEidechse
Copy link
Collaborator

GeckoEidechse commented Oct 3, 2023

https://github.com/pg9182/northstar-dedicated-ci/actions/runs/6394958380 works fine

(that's v1.19.2 with the two launcher PRs reverted)

@GeckoEidechse
Copy link
Collaborator

@GeckoEidechse
Copy link
Collaborator

https://github.com/pg9182/northstar-dedicated-ci/actions/runs/6395262419 works fine.

This is v1.19.2 with R2Northstar/NorthstarLauncher#529 reverted, meaning R2Northstar/NorthstarLauncher#529 is the offending commit.

@GeckoEidechse
Copy link
Collaborator

Running the same launch command as in in the initial issue on Windows dedi

NorthstarLauncher.exe -dedicated -port 37015 +setplaylist aitdm +mp_gamemode aitdm +map mp_grave +ns_private_match_countdown_length 0 +net_compresspackets_minsize 64 +net_compresspackets 1 +spewlog_enable 0 +sv_maxrate 127000 +sv_balanceTeams 1 +sv_cheats 0 -enablechathooks +setplaylist private_match -game R2 -nomenuvid -nosound -windowed -nomessagebox +host_preload_shaders 0 +net_usesocketsforloopback 1 +community_frame_run 0

I cannot reproduce the crash. The server registers just fine. So this is definitely Wine/Docker specific issue IMO.

That being said I still reverted the change upstream for now via R2Northstar/NorthstarLauncher#561, as I do not have the capabilities to debug this and we cannot afford losing Docker support, and I will push out a hotfix soon.

@GeckoEidechse
Copy link
Collaborator

@KallanX should be fixed with the latest Docker image (1-tf2.0.11.0-ns1.19.3) by reverting a change upstream.

Please retest if you get the change.

I'm gonna leave the issue open still for @pg9182 to see. Maybe he has an idea how to properly fix this in Wine.

@KallanX
Copy link
Author

KallanX commented Oct 3, 2023

Confirmed to be working. Currently running container version 1.19.3.

Thank you.

@GeckoEidechse
Copy link
Collaborator

Closing as completed via revert and subsequent re-implementation in Northstar with R2Northstar/NorthstarLauncher#564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants