Re: malloc() error; coredump
Roy Marples
Thu May 26 21:45:33 2016
On 2016-05-26 21:12, Neal P. Murphy wrote:
(Had to figure out how to make the build system use '-g'....) This is
dhcpcd.trunk (even though it looks like 6.11.0).
OK. Built with -g. Have gdb on the target. Run with and still get the
memory corruption; even gdb is hung up. So run it without gdb, then
attach gdb to dhcpcd once it's hung, and use 'gcore' to generate a
coredump. Looks like something is thoroughly stomping on the stack.
This is all I get:
I'm not entirely sure what to make of that really.
Can you run dhcpcd using valgrind to try and track the memory error as
that's the best tool for this I find.
Roy
Archive administrator: postmaster@marples.name