NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.65k stars 13.8k forks source link

openjk crashes #85523

Closed aanderse closed 4 years ago

aanderse commented 4 years ago

Describe the bug Single player mode of openjk crashes when you either start a new game or load a save game. I haven't played this game in a long time, so I'm not sure when this started :man_shrugging:

To Reproduce Steps to reproduce the behavior:

  1. add environment.systemPackages = [ pkgs.openjk ]; to configuration.nix
  2. run the single player game, then start a new file or load a save game
  3. observe crash

Expected behavior No crash.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

~> /nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/openjk_sp.x86_64                                                                                                   
OpenJK: v1.0.1.1 linux-x86_64 Jan  1 1970
Initialising zone memory .....
----- FS_Startup -----
Current search path:
/home/aaron/.local/share/openjk/base/assets3.pk3 (16 files)
/home/aaron/.local/share/openjk/base/assets2.pk3 (62 files)
/home/aaron/.local/share/openjk/base/assets1.pk3 (8320 files)
/home/aaron/.local/share/openjk/base/assets0.pk3 (15346 files)
/home/aaron/.local/share/openjk/base
/nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base

----------------------
23744 files in pk3 files
execing default.cfg
execing openjk_sp.cfg
couldn't exec autoexec_sp.cfg
Running Jedi Academy Mode
...
Extended subtitles field to contain all voiceovers option.
UI menu load time = 518 milli seconds
------ Server Initialization ------
OpenJK: v1.0.1.1 linux-x86_64 Jan  1 1970
Server: yavin1
Sys_LoadSPGameDll(/home/aaron/.local/share/openjk/base/jagamex86_64.so) failed: "Failed loading /home/aaron/.local/share/openjk/base/jagamex86_64.so: /home/aaron/.local/share/openjk/base/jagamex86_64.so: cannot open shared object file: No such file or directory"
Sys_LoadSPGameDll(/nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so) failed: "Failed loading /nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so: /nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so: cannot open shared object f"
Sys_LoadSPGameDll(/home/aaron/.local/share/openjk/base/jagamex86_64.so) failed: "Failed loading /home/aaron/.local/share/openjk/base/jagamex86_64.so: /home/aaron/.local/share/openjk/base/jagamex86_64.so: cannot open shared object file: No such file or directory"
Sys_LoadSPGameDll(/nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so) failed: "Failed loading /nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so: /nix/store/c6j51qnl7n6vlnpfcsln7czmxgsky9bs-OpenJK-2019-10-25/opt/JediAcademy/base/jagamex86_64.so: cannot open shared object f"
Sys_LoadSPGameDll(/home/aaron/.local/share/openjk/OpenJK/jagamex86_64.so) failed: "Failed loading /home/aaron/.local/share/openjk/OpenJK/jagamex86_64.so: /home/aaron/.local/share/openjk/OpenJK/jagamex86_64.so: cannot open shared object file: No such file or directory"
------- Game Initialization -------
gamename: OpenJK
gamedate: Jan  1 1970
tty]fish: “/nix/store/c6j51qnl7n6vlnpfcsln…” terminated by signal SIGSEGV (Address boundary error)

Notify maintainers

cc @gnidorah

Metadata Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

~> nix-shell -p nix-info --run "nix-info -m"                                                                                                                                                        
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/0rbnlnd1pvlpii8p72ybvvg672j2wc2f-bash-interactive-4.4-p23-dev
copying path '/nix/store/0rbnlnd1pvlpii8p72ybvvg672j2wc2f-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.32, NixOS, 20.03beta1355.0f920b05cbc (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(root): `"nixos-20.03beta1355.0f920b05cbc, unstable-20.09pre217537.d96bd3394b7, bundix-18.09.2574.a7e559a5504"`
 - channels(aaron): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: openjk
# a list of nixos modules affected by the problem
module:
ghost commented 4 years ago

@aanderse Strange, can't reproduce this. Upstream issue: https://github.com/JACoders/OpenJK/issues/1021

prusnak commented 4 years ago

Probably fixed by https://github.com/NixOS/nixpkgs/pull/85538

aanderse commented 4 years ago

Confirmed :+1: Thanks!