When GDB fails

How come gdb fails?

Start with

Code:
gdb map-serverrun
 
AFAIK, gdb is the best way.

Why don't you post the coredump here and we may help you find the issue?

Gdb always gave me the correct info, no matter how much deep is the issue.

 
Issue is there's no dump, the crash isn't even detected and recorded, map server just dies while console happily continues to go on, saving things without even reporting it.

 
Last edited by a moderator:
Gdb cant not detect crash.

It can be not crash but emergncy termination. This can happend if by some reason server want to terminate self. For detect this need know where and why server may exit.

Also for better detecting memory corruption or other execution issue possible to use santity flags. They partially can work in gcc 4.9 and better works in gcc 5.

Server will works bit slower. It will report not critial issues to console and will terminate with full issue description if critical issue happend.

For this server can be compiled like this:

Code:
make clean./configure --enable-manager=no --enable-sanitize=full --disable-lto --enable-debug=gdbmake
 
Back
Top