Closed MparkG closed 2 years ago
Can you show the output of:
uname -a
lsb_release -a
cssserver@mgp:~/serverfiles/cstrike/addons/sourcemod/scripting$ ./spcomp
Speicherzugriffsfehler (Speicherabzug geschrieben)
cssserver@mgp:~/serverfiles/cstrike/addons/sourcemod/scripting$ uname -a
Linux mgp 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
cssserver@mgp:~/serverfiles/cstrike/addons/sourcemod/scripting$ lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
cssserver@mgp:~/serverfiles/cstrike/addons/sourcemod/scripting$
Wait, you are the legendary Bailopan? what an honor xD
might i add something offtopic; since a recent update of css and sm, the sm extension of cssdm together
I installed 20.04.4 from their live ISO in a virtual machine, then installed the required 32-bit libraries (plus lsb-core, since you also have it), and spcomp doesn't segfault for me. I did end up on a different kernel patch level. You'll have to provide more information.
Can you run spcomp in gdb to get a back trace?
incredible. im sorry to have wasted your time. Thanks for the tipp with gdb
(gdb) file serverfiles/cstrike/addons/sourcemod/scripting/spcomp
BFD: warning: /home/cssserver/serverfiles/cstrike/addons/sourcemod/scripting/spcomp has a corrupt section with a size (5a5f0076) larger than the file size
BFD: warning: /home/cssserver/serverfiles/cstrike/addons/sourcemod/scripting/spcomp has a corrupt section with a size (7473694c) larger than the file size
BFD: warning: /home/cssserver/serverfiles/cstrike/addons/sourcemod/scripting/spcomp has a corrupt section with a size (5a5f0076) larger than the file size
BFD: warning: /home/cssserver/serverfiles/cstrike/addons/sourcemod/scripting/spcomp has a corrupt section with a size (7473694c) larger than the file size
"/home/cssserver/serverfiles/cstrike/addons/sourcemod/scripting/spcomp": not in executable format: file format not recognized
I was wondering what it could have been, since spcomp worked years ago on the same computer. i updates changing something. but it was probably filezilla, breaking the file. it executes on my laptop with linux, i just copied it over via filezilla to the server. downloaded sm on the server with wget, extracted and voila it works. sorry.
I've never used Filezilla, but you might have accidentally transferred the files in ASCII mode, which will mess it up.
Thanks for following up! Better to know the root cause than have it be a mystery.
Good day.
i am trying to execute spcomp on my server. while it did work some years ago, under a different version of ubuntu, it does not do that anymore.
That reads segmentation fault / memory access error. i have checked the additional apt installs, and they are all installed.
i also tried spcomp on my laptop, there manjaro runs, and it works just fine.
any ideas what to try or where to look?
this is what dmesg reports:
ld-linux.so.2 -> ld-2.31.so and ld-linux is part of libc6 libc6 and libc6-i386 is installed in the current version.
thanks