I recently made the mistake of upgrading my TF2 servers version of sourcepython and now some of the plugins on my server are causing seg faults. I don't know how to code so I can't fix the problems with the plugin. Can anyone help me build an old version of sourcepython from like 2020 h1? I can't find the old versions anywhere. Here is the link to the problem plugins:
https://github.com/servers-tf/sourcepython-plugins/blob/master/logstf_discord/logstf_discord.py
https://github.com/servers-tf/sourcepython-plugins/blob/master/connect/connect.py
Thanks!
How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
blazer wrote:I recently made the mistake of upgrading my TF2 servers version of sourcepython and now some of the plugins on my server are causing seg faults. I don't know how to code so I can't fix the problems with the plugin. Can anyone help me build an old version of sourcepython from like 2020 h1? I can't find the old versions anywhere. Here is the link to the problem plugins:
https://github.com/servers-tf/sourcepython-plugins/blob/master/logstf_discord/logstf_discord.py
https://github.com/servers-tf/sourcepython-plugins/blob/master/connect/connect.py
Thanks!
What is your output of running sp info?
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
L'In20Cible wrote:blazer wrote:I recently made the mistake of upgrading my TF2 servers version of sourcepython and now some of the plugins on my server are causing seg faults. I don't know how to code so I can't fix the problems with the plugin. Can anyone help me build an old version of sourcepython from like 2020 h1? I can't find the old versions anywhere. Here is the link to the problem plugins:
https://github.com/servers-tf/sourcepython-plugins/blob/master/logstf_discord/logstf_discord.py
https://github.com/servers-tf/sourcepython-plugins/blob/master/connect/connect.py
Thanks!
What is your output of running sp info?
Code: Select all
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum : b4a7c0919226eb79cf7aa2124e68b15b
Date : 2020-12-09 07:23:22.264749
OS : Linux-5.8.0-29-lowlatency-x86_64-with-debian-buster-sid
Game : tf2
SP version : 702
Github commit : 99ed4dca7b439f5fc4ade054355767b23af497df
Server plugins:
00: Metamod:Source 1.11.0-dev+1143
01: Source.Python, (C) 2012-2020, Source.Python Team.
02: srctv+
SP plugins:
--------------------------------------------------------
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
If you start your server with the -debug option, it should create a debug.log upon crashing. That log should contain a little bit more information.
Also, are you able to reproduce the crash or does it seem to happen randomly?
Also, are you able to reproduce the crash or does it seem to happen randomly?
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
Ayuto wrote:If you start your server with the -debug option, it should create a debug.log upon crashing. That log should contain a little bit more information.
Also, are you able to reproduce the crash or does it seem to happen randomly?
I can recreate the crash, it only happens on map change, the plugin loads fine. As for the debug logs this is all they have
Code: Select all
----------------------------------------------
CRASH: Wed Dec 9 20:45:47 EST 2020
Start Line: ./srcds_linux -game tf -console -port 27021 +map itemtest +ip 0.0.0.0 -strictportbind -norestart -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Wed Dec 9 20:46:24 EST 2020
Start Line: ./srcds_linux -game tf -console -port 27021 +map itemtest +ip 0.0.0.0 -strictportbind -norestart -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Wed Dec 9 20:54:13 EST 2020
Start Line: ./srcds_linux -game tf -console -port 27021 +map itemtest +ip 0.0.0.0 -strictportbind -norestart -debug
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Wed Dec 9 20:54:53 EST 2020
Start Line: ./srcds_linux -game tf -console -port 27021 +map itemtest +ip 0.0.0.0 -strictportbind -norestart -debug
End of Source crash report
----------------------------------------------
I only tested with the logstf_discord plugin
I have the sp load in my server.cfg and the itemtest map changes to an mge map on server start. if I delete the itemtest cfg the map will stay on itemtest and the server doesnt crash and this is the output from sp info
Code: Select all
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum : 91a2485a0442327ce4f4031e6865c1f0
Date : 2020-12-10 02:03:15.465952
OS : Linux-5.8.0-29-lowlatency-x86_64-with-debian-buster-sid
Game : tf2
SP version : 702
Github commit : 99ed4dca7b439f5fc4ade054355767b23af497df
Server plugins:
00: Metamod:Source 1.11.0-dev+1143
01: Source.Python, (C) 2012-2020, Source.Python Team.
02: srctv+
SP plugins:
00: logstf_discord, 1.0.0, https://github.com/servers-tf/sourcepython-plugins/tree/master/logstf_discord
--------------------------------------------------------
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
Please have some patience. We will get this fixed.
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
oh ok I just wanted to know I wasn't the idiot screwing up somewhere. I don't mind waiting please take your time. PS I love source-python keep up the good work :)
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 74 guests