|
From: Julian S. <js...@ac...> - 2017-03-08 10:56:25
|
On 08/03/17 07:16, A. Lester Buck III wrote: > I don't understand the last line: > > Address 0xf95f6a0 is in the BSS segment of /usr/local/lib/libaws-cpp-\ > sdk-core.so What this means is, the address that has been passed to free -- that is, 0xf95f6a0 -- is zero-initialised data in libaws-cpp-sdk-core.so and so has not been allocated on the heap. It's (the address of) a global variable in libaws-cpp-sdk-core.so, in other words. > How do I use this to figure out where/why the free() error is happening? You can poke around more with GDB by rerunning the program on V with --vgdb-error=0 and following the directions it gives. GDB will stop at the error (at all errors) and you can examine the program state at your leisure. J |