danielga / gmsv_serversecure

A module for Garry's Mod that mitigates exploits on the Source engine.
https://github.com/danielga/gmsv_serversecure
Other
126 stars 31 forks source link

1.5.29 segfaults #43

Closed storm37000 closed 3 years ago

storm37000 commented 4 years ago
 srcds_linux[22259]: segfault at 2aa3d7cc ip 000000002a996858 sp 00000000075161e0 error 4 in libpthread-2.28.so[2a996000+1000]
[1322789.186062] Code: 77 28 89 c3 83 ec 0c 52 e8 b5 f8 ff ff 83 c4 10 89 d8 8b 74 24 1c 65 33 35 14 00 00 00 75 1d 83 c4 20 5b 5e 5f c3 8d 74 26 00 <8b> 8e ac ff ff ff f7 d8 bb ff ff ff ff 65 89 01 eb c8 e8 a1 33 00

I do have a core dump. I will have to send you the link to it somewhere private.

storm37000 commented 4 years ago

still happens, it is very infrequent, but when it does, it is sometimes a few times in a row a few minutes after server starts back up each time. When i was testing with gmod dll modules, the libpthread error would happen when your thread closed without joining with main thread. This close can be a crash or legit close without a join. So if your module has no way of closing threads unexpectedly without joining then the thread must be crashing. This may even be caused by an outside source like a player trying to ddos sending a bad query packet or something.

danielga commented 4 years ago

The thread I create is being joined in the main thread, at module unloading, so I don't know how that part could be causing issues.

storm37000 commented 4 years ago

it means the thread is running into an unhandled exception somewhere and crashing, thus not being joined due to the unexpected crash.

Brskt commented 4 years ago

I use it on two very populated servers and I never had a crash about this issue. Did you tried on a vanilla server ?

storm37000 commented 4 years ago

vanilla? this is for linux running on debian 10, the error stops altogether if i downgrade to the last functioning stable version (1.5.24)

Brskt commented 4 years ago

When I mean vanilla, I mean a server with no addons, nothing configured.

Did you tried on Deb 9 ? (cause we are on 9)

storm37000 commented 4 years ago

no, i have 10 which is the current stable version, im not ever going to downgrade as that would be too much of a pain/downtime. Also my testing indicated that this module is what is causing it.

danielga commented 4 years ago

What's your list of modules? Any custom made ones/available source code?

storm37000 commented 4 years ago

just this one, mysqloo, and mine(antifreeze, it is on github)

danielga commented 3 years ago

Closing issues related to old versions, new version is 1.5.32.