misyltoad / VPhysics-Jolt

Volt (VPhysics Jolt) is a replacement physics module for the Source Engine.
MIT License
1.26k stars 72 forks source link

Segfault on server startup (x86-64, Linux) #221

Open WinterPhoenix opened 3 months ago

WinterPhoenix commented 3 months ago

Using Release 0.20 on Ubuntu 20.04 LTS, with the GMod SRCDS 64-bit, Volt segfaults on server startup.

> version
Protocol version 24
Exe version 2023.06.28 (garrysmod)
Exe build: 18:32:30 Jul 22 2024 (9379) (4000)
GMod version 2024.08.09, branch: unknown
Linux 64bit Dedicated Server

DMP: 6c946fff-4304-494b-eb0e9389-2fc08281.zip

This is a separate issue from #216 and #217 since those seem to be using 32-bit.

Bagellll commented 1 month ago

Not sure if it's the same for everyone else with this problem, but it seems to happen during this function (thanks debug symbols) while initializing MeshShapeSettings https://github.com/misyltoad/VPhysics-Jolt/blob/9f3bff409fdf1c5e997f4619d42c95703e4c12bd/vphysics_jolt/vjolt_collide.cpp#L812