1

Topic: GDB how to learn whence the exception arrived

Greetings! Is core-dump process. An essence such: process uses asio. The exception arrived in io_service.run () which envelop in try-catch. The exception was deduced in a broad gull, and process started to be completed. But, in the course of end, process "ran" on SIGSEGV and, as a result, fell. A question in how now, having core-dump to understand, the exception whence "arrived"? Thanks.

2

Re: GDB how to learn whence the exception arrived

I will specify: how to play back a bug - it is not clear. At present is only core-dump process.

3

Re: GDB how to learn whence the exception arrived

X> a question in how now, having core-dump to understand, the exception whence "arrived"? gdb core dump analysis for beginners

4

Re: GDB how to learn whence the exception arrived

Hello, niXman, you wrote: X> greetings! X> is core-dump process. X> an essence such: X> process uses asio. The exception arrived in io_service.run () which envelop in try-catch. The exception was deduced in a broad gull, and process started to be completed. X> but, in the course of end, process "ran" on SIGSEGV and, as a result, fell. X> a question in how now, having core-dump to understand, the exception whence "arrived"? Yes in any way. If if the exception was processed in catch that flew down already disappeared.

5

Re: GDB how to learn whence the exception arrived

Hello, VTT, you wrote: VTT> Yes in any way. If if the exception was processed in catch that flew down already disappeared. I too thought of it.

6

Re: GDB how to learn whence the exception arrived

T> gdb core dump analysis for beginners With what it do not agree?

7

Re: GDB how to learn whence the exception arrived

Hello, turbocode, you wrote: T> With what it do not agree? About what speech?

8

Re: GDB how to learn whence the exception arrived

Here already helps nothing, it is necessary to play back anew, using Maxim Egorushkina's trick for place determination, the exception whence took off: http://rsdn.org/forum/cpp/1029176 the Author: MaximE Date: 16.02.05

9

Re: GDB how to learn whence the exception arrived

Hello, VTT, you wrote: VTT> Yes in any way. If if the exception was processed in catch that flew down already disappeared. If flew down then not  heavy deep calls any  there  is. But to analyze that once was a stack is that still art. But, for example, simply to be transversed on a stack and make addr2sym for each 4/8 byte can to give something.