Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraint crashes on Linux #17

Closed
Joshua-Ashton opened this issue Aug 29, 2022 · 1 comment
Closed

Constraint crashes on Linux #17

Joshua-Ashton opened this issue Aug 29, 2022 · 1 comment
Labels
bug Something isn't working linux For those penguin nerds
Milestone

Comments

@Joshua-Ashton
Copy link
Owner

Joshua-Ashton commented Aug 29, 2022

Had some reports of constraints crashing under Linux.

A simple repro is apparently to create and undo a rope in a Garry's Mod server under Linux.

Probably need to run under valgrind or something, because it looks like a heap corruption/double-free error based on the spew.

Didn't catch this because the GMod Native Linux Client doesn't work anymore sigh and I only briefly smoke-tested the server. 🐸 I asked around, and apparently this can workaround the native client not working at all: https://github.com/solsticegamestudios/GModCEFCodecFix, but I haven't had a chance to test yet.

@klen-list
Copy link

I noticed that an undo crash occurs with rope that attached to world at one of its own ends and after spawning props with different models. In cases of similar model or prop-to-prop rope crash doesn't happen.

Steps to reproduce:

  1. Spawn models/props_borealis/bluebarrel001.mdl
  2. Attach rope from barrel to world
  3. Spawn models/props_c17/FurnitureWashingmachine001a.mdl
  4. Press undo button twice (or open SpawnMenu->Utilities->User->Undo and click at Rope)
qPe21S8yw7.mp4

I also get the same crash with free(): corrupted unsorted chunks when undo a large count of identical wheels welded to world.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux For those penguin nerds
Projects
None yet
Development

No branches or pull requests

2 participants