Home > OS >  GDB debug core, see the stack information
GDB debug core, see the stack information

Time:11-09

Operating system: CentOS 7.3

Program crashes, generate a core file, more than 300 M, by GDB debugging, can't see the stack information, as shown in the figure below:



Excuse me: I should be how to position the problem?

CodePudding user response:

Directly using the run GDB to debug, the exception will stop, look at the location of the exception

CodePudding user response:

This kind of situation, the general is the executor of the library path is not specified, or sysroot is not specified, try to specify this part, then execute bt
  • Related