Source-Python-Dev-Team / Source.Python

This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
http://forums.sourcepython.com
GNU General Public License v3.0
164 stars 32 forks source link

SegmentationFault after 2022/10/21 CS:GO update #457

Closed Frag1337 closed 1 year ago

Frag1337 commented 1 year ago

Most likely invalid signatures as sourcemod just released an gamedata update.

Ayuto commented 1 year ago

Thanks! There is more than just signature update. https://github.com/alliedmodders/hl2sdk/pull/110

CookStar commented 1 year ago

Is this still a reproducible issue?

Frag1337 commented 1 year ago

Is this still a reproducible issue?

Yes, as this happens on initial plugin load. I sadly don't know what import causes this.

CookStar commented 1 year ago

If you are running Version: 717 and if it crashes, please raise any plugins you know of and I'll take a look at them.

jordanbriere commented 1 year ago

It likely crashes due to the ConVar changes linked above causing us to set m_bHasMin where m_pszString now belong in its data structure resulting in a crash when whatever was written is interpreted as a pointer. Building against the latest SDK should resolve the issue.

EDIT: Try this: csgo.zip

CookStar commented 1 year ago

I just realized that Version: 717 was before the hl2sdk commits were merged.

Ayuto commented 1 year ago

Sorry for the late reply. A new build should be available in ~45 minutes.