After I copied my cs:go plugin to a linux server, I noticed that my server crashes when I try to use player.velocity.length.
Syntax: Select all
@property
def velocity_3d(self):
velocity = PlayerEntity(self.index).velocity
return velocity
def something(self):
print(self.velocity_3d)
print(self.velocity_3d.length)
Console:
Code: Select all
Vector(3.461555004119873, 260.0, -216.75662231445312)
PreMinidumpCallback: updating dump comment
crash_20160817164415_1.dmp[18837]: Uploading dump (out-of-process)
/tmp/dumps/crash_20160817164415_1.dmp
Segmentation fault (core dumped)
BFD: Warning: /home/kd10095/server/csgo_1636/core is truncated: expected core file size >= 429355008, found: 1126400.
Cannot access memory at address 0xb77d091c
Cannot access memory at address 0xb77d0918
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xbf936bc4
email debug.log to linux@valvesoftware.com
Wed Aug 17 16:46:44 CEST 2016: Server restart in 10 seconds
This code works well on CS:S Win&Linux and CS:GO win, but seems like it crashes on CS:GO Linux