Raised This Month: $51 Target: $400
 12% 

[CS:GO] Missing Linux Debug Symbols?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 01-01-2019 , 13:26   [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #1

Hi everyone,

I just had a quick question regarding Linux debugging symbols in CS:GO. My server is suffering from a server crash and when inspecting the core dump using GDB, it states `srcds_linux` is missing the debugging symbols.

Code:
Reading symbols from srcds_linux...(no debugging symbols found)...done.
This makes the back trace basically useless for engine-specific crashes I believe. For example, here is my back trace:

Code:
(gdb) bt full
#0  0xe9ebc381 in ?? ()
No symbol table info available.
#1  0xef82406f in ?? ()
No symbol table info available.
#2  0xef92accc in sp::Environment::Invoke(sp::PluginContext*, ke::RefPtr<sp::MethodInfo> const&, int*) ()
   from /home/container/csgo/addons/sourcemod/bin/sourcepawn.jit.x86.so
No symbol table info available.
#3  0x000aa278 in ?? ()
No symbol table info available.
#4  0x0001513c in ?? ()
No symbol table info available.
#5  0x0009513c in ?? ()
No symbol table info available.
#6  0x0bc56ed8 in ?? ()
No symbol table info available.
As you can see, the only function that shows up is from SourceMod. When opening the csgo/bin/server.so file using a program such as IDA, it doesn't include any function names (just sub_xxxx).

It has been a few years since I've ran CS:GO servers on Linux, but I am starting to again due to the Linux limitation being lifted.

If I remember correctly, this wasn't the case years ago. There were debugging symbols included with `srcds_linux` in CS:GO.

Does anybody know if this has changed at some point in the past or if there's anything else I can do to get the debugging symbols? I'm not an expert with debugging in Linux. If you need additional information, please let me know.

P.S. I am used to inspecting core dumps using GDB along with reading the contents of the debug.log file. However, I tried using Accelerator to see if that included additional details but it's not uploading the crash dump correctly. This may be due to the crash I'm experiencing being a loop. I will dig deeper into it later.

Any help is highly appreciated!

Thanks.
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 01-01-2019 , 14:08   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #2

They started stripping the symbols a few years ago as mainly the only people using them were cheaters. I'm pretty sure they didn't even mean to leave them in originally. I've only had luck locating the exact issue from crash dumps around 15% of the time. The rest of the time the stack is just showing the must recent events that were called when the crash happens. The actual reason for the crash was some type of memory corruption from invalid hooks that stacked over time and were perfectly fine for 1,000,000's of executions. Tracing it back that far is almost impossible.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 01-01-2019 , 15:07   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #3

Quote:
Originally Posted by 1337norway View Post
They started stripping the symbols a few years ago as mainly the only people using them were cheaters. I'm pretty sure they didn't even mean to leave them in originally. I've only had luck locating the exact issue from crash dumps around 15% of the time. The rest of the time the stack is just showing the must recent events that were called when the crash happens. The actual reason for the crash was some type of memory corruption from invalid hooks that stacked over time and were perfectly fine for 1,000,000's of executions. Tracing it back that far is almost impossible.
Thank you for the information!

I guess the engine-specific crashes will be hard to narrow down if there are no other logs + debugging symbols.
__________________
Software/network engineer. I often work on a neat project called The Modding Community.

Check out my GitHub here!
gamemann is offline
Send a message via Skype™ to gamemann
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-02-2019 , 08:57   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #4

Quote:
Originally Posted by 1337norway View Post
They started stripping the symbols a few years ago as mainly the only people using them were cheaters. I'm pretty sure they didn't even mean to leave them in originally.
That excuse worked back in 2004 when CS:S shipped, but that ship sailed since they left the symbols in every Linux server binary they've released since... until they suddenly decided to strip them from CS:GO (and only CS:GO).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 01-02-2019 , 10:57   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #5

Quote:
Originally Posted by Powerlord View Post
That excuse worked back in 2004 when CS:S shipped, but that ship sailed since they left the symbols in every Linux server binary they've released since... until they suddenly decided to strip them from CS:GO (and only CS:GO).
Well considering counter-strike is one of the most cheated games of all time it's no surprise. It wasn't until global offensive that they started making large grossing from micro transactions and created dedicated servers for competitive play. If you look at any of the cheating forums you will see it's a big issue for new cheaters that have no idea what they are doing without abusing string look ups.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-02-2019 , 13:34   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #6

Quote:
Originally Posted by 1337norway View Post
Well considering counter-strike is one of the most cheated games of all time it's no surprise.
You've clearly never played Team Fortress 2, which has been free to play for 7 years now had a metric crapton of cheaters since they could just create new free accounts when their old accounts were banned. There was a point when you literally couldn't play on any Valve server without running into blatant cheaters. You pretty much had to run SMAC on any community servers you ran too.

Quote:
Originally Posted by 1337norway View Post
It wasn't until global offensive that they started making large grossing from micro transactions
...again, that started with Team Fortress 2 in September 2010, about 2 years before CS:GO even came out. You'd be surprised how much money people spent at $2.50 USD a pop for that 1% chance of getting an "exceedingly rare" cosmetic item (which was a regular cosmetic item with a particle system attached to it).

Quote:
Originally Posted by 1337norway View Post
and created dedicated servers for competitive play.
This one is actually true. Valve was remarkably slow on the uptake for competitive mode in Team Fortress 2, not launching until it was too late and Blizzard already stole the competitive market from them with Overwatch's competitive mode.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-02-2019 at 13:37.
Powerlord is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 01-02-2019 , 14:27   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #7

sure buddy, i'm not here to argue about some petty nonsense that's irreverent. The topics question has been answered.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-02-2019 , 14:50   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #8

The anti-cheating argument falls immediately flat when you realise SourceMod still works - and the dedicated people that maintain SM's CS:GO support get a lot fewer motivational dollars than the popular cheat maintainers do. They've always stripped the client builds to get rid of the low-hanging fruit for hobby cheats.
__________________
asherkin is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 10-17-2020 , 06:04   Re: [CS:GO] Missing Linux Debug Symbols?
Reply With Quote #9

people are gonna cheat regardless they should give out the debugging symbols for crying out loud
canadianjeff is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode