-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Stripped PDBs for debugging? #65
Comments
We'd find this extremely useful too. Crashes that occur in engine.dll, materialsystem.dll etc are basically a dead end - there's no way to debug aside from trial and error, caveman and rock style. |
Yeah, having this would be really very handy. It would have made a great many things I've tried in the past significantly easier. |
Still no response regarding this? is it really that hard to provide these? I got a pretty good example for why this is useful: I've been spending 2 whole days now on a crash that seems to be related to my code but has not client.dll/server.dll function calls at all, just in engine.dll and tier0.dll. (and still haven't found out what's causing it) You can't expect people to know ASM just to decipher what the debugger is trying to tell you... |
No reason that this can't be done? |
There were a lot of concerns about symbols being used to make cheating and unwanted reverse engineering easier. Sorry -- I know it's annoying not having symbols. |
Ok, thanks for explaining why. Would it be appropriate to post crash dumps as issues in this repo if we're stuck with a re-creatable crash happening inside Source that we can't debug ourselves? |
@bruced-valve can you ship a separate server.dll for Windows that isn't stripped; like how Linux is currently shipped? |
Posting occasional crash dumps and asking for analysis is not a bad idea. We can't promise to look at them, but we have done that in the past. |
@monokrome VAC2 was well documented years ago. The claim this helps prevent cheating is unfortunately based on pure ignorance. There's an internal disconnected sect that's hell bent on trying to weaken the community, that's all this is. No one can stop it externally; it's purely political. |
@KyleSanderson I deleted my comment, because it slightly misrepresented my point. Security through obscurity in the engine code itself (as is being leveraged here) is not really representative of ignorance. It actually exists primarily as a form of protection against accidentally exposing potential artifacts of ignorance as potentially exploitable artifacts, design patterns, etcetera - which could be used as an attack vector in the final product. Windows isn't a very good example of what to do here, because it is often regarded as a product which does not provide realistic security concerns for it's goals and is therefore often exploited. As for shipping Although I am not personally a fan of security through obscurity, I don't see that there are any outlandishly any ignorant decisions made here. |
@monokrome okay.
I'm not asking for client bins to be unstripped. My only ultimate goal here is for servers to have some sort of stability. When I have to use memory patching just to prevent crashes... The game is pretty much lost. I'm lucky Linux intentionally has symbols (yes; it's intentional), and there's no one trying to poison that platform yet. EDIT PS: No one supports their current breakpad platform, the dumps that are uploaded are clearly never reviewed. |
Eh, maybe you're approaching the problem the wrong way if you're mad about server stability. |
…nusmap-and-commentary Make Bonus maps and commentary buttons available.
Windows includes stripped pdbs for debugging, so you can see roughly where a crash occurs. Would this not be possible for the Source engine too, since it could help know where the crash has occurred, even for the sections where we don't have source access. These pdbs can be generated either directly from visual studio with the /PDBSTRIPPED argument ( http://msdn.microsoft.com/en-us/library/y87kw2fd(v=vs.100).aspx ) or with pdbcopy ( http://msdn.microsoft.com/en-us/library/ff560131%28VS.85%29.aspx ).
The text was updated successfully, but these errors were encountered: