87.0 mt version - crash in BA 7.64 - Page 2

87.0 mt version - crash in BA 7.64

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

wolas
Posts: 112
Joined: 30 Jul 2010, 20:40

Re: 87.0 mt version - crash in BA 7.64

Post by wolas »

Ok now I understand and answer to my first question how much these debug symbols will slowdown everything is it wont slowdown. I tried to attach gdb to spring, but since it was running normaly there was nothing interesting to see, will try to do so when it will really crash.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: 87.0 mt version - crash in BA 7.64

Post by hoijui »

when you do a RELEASE build with spring, the binary is ~10MB.
if you do a DEBUG2 build, the binary is ~100MB, because of the additional debug symbols inside.
using a command line tool, you can separate these ~100MB into a 10MB binary and 90MB debug symbols file. you cna then run the 10MB binary normally, and it should be just as fast as the normal RELEASE build, but you can then make use of the other 90MB just when you need them (eg in case of a crash), because the addresses and references of the two files match.
wolas
Posts: 112
Joined: 30 Jul 2010, 20:40

Re: 87.0 mt version - crash in BA 7.64

Post by wolas »

That means spring on linux by defaults compiles to debug build since mine spring weights 190MB
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: 87.0 mt version - crash in BA 7.64

Post by jamerlan »

Zerver, I compiled under ubuntu and it works fine! Thank you!
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: 87.0 mt version - crash in BA 7.64

Post by hoijui »

wolas, it compiles RELESEWITHDEBUGSYMBOLS or something like that, by default. that means.. it will be huge, nad have the debug symbols, but it should not be slow.
Post Reply

Return to “Help & Bugs”