How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

All other Source.Python topics and issues.
blazer
Junior Member
Posts: 5
Joined: Tue Dec 08, 2020 12:15 am

How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby blazer » Tue Dec 08, 2020 12:30 am

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!
User avatar
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

Postby L'In20Cible » Tue Dec 08, 2020 7:31 am

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?
blazer
Junior Member
Posts: 5
Joined: Tue Dec 08, 2020 12:15 am

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby blazer » Wed Dec 09, 2020 7:29 am

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:
--------------------------------------------------------
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby Ayuto » Wed Dec 09, 2020 6:38 pm

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?
blazer
Junior Member
Posts: 5
Joined: Tue Dec 08, 2020 12:15 am

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby blazer » Thu Dec 10, 2020 1:59 am

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
--------------------------------------------------------
blazer
Junior Member
Posts: 5
Joined: Tue Dec 08, 2020 12:15 am

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby blazer » Sat Dec 12, 2020 11:05 am

bump
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby Ayuto » Sat Dec 12, 2020 1:48 pm

Please have some patience. We will get this fixed.
blazer
Junior Member
Posts: 5
Joined: Tue Dec 08, 2020 12:15 am

Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults

Postby blazer » Sun Dec 13, 2020 3:49 am

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 21 guests