why does assert(0) corrupt the stack trace?

Paul Smith paul@mad-scientist.net
Sun Nov 5 19:46:00 GMT 2017


On Sun, 2017-11-05 at 14:13 -0500, æ
•å†¬äº® wrote:
> I have a question about debugging assert in gdb. When one program
> crash at one assert statement, the stack trace shown in the gdb is
> corrupted. Is it normal?

No, that's not normal.

Cheers!



More information about the Gdb mailing list