Re: malloc() error; coredump
Roy Marples
Wed May 25 23:28:12 2016
On 2016-05-25 23:32, Neal P. Murphy wrote:
I'm playing with getting Smoothwall Express to use IPv6. And not
getting anywhere very quickly. But that's partly due to my newness to
IPv6.
Something is weird.
With 6.10.3 and 6.11.0, any of these lines in the .conf:
----
ia_pd 0b:17:f2:7d/::/60 eth0/1 eth2/3
ia_pd 0b:17:f2:7d/::0/60 eth0/1 eth2/3
ia_pd 0b:17:f2:7d//60 eth0/1 eth2/3
----
causes
----
...
DUID 00:01:00:01:1b:ff:1d:50:00:90:0b:17:f2:7d
eth0: IAID 0b:17:f2:7a
eth2: IAID 0b:17:f2:7c
eth3: IAID 0b:17:f2:7d
eth3: delaying IPv6 router solicitation for 0.8 seconds
eth3: reading lease `/var/db/dhcpcd-eth3.lease6'
eth3: soliciting a DHCPv6 lease
eth3: delaying SOLICIT6 (xid 0x32dd0d), next in 0.9 seconds
eth3: soliciting an IPv6 router
*** Error in `dhcpcd': malloc(): memory corruption: 0x09c8fb50 ***
----
And dhcpcd must be killed via 'kill -9 PID'.
Since others seem to use the syntax without trouble, is it
possible--or probable--that I'm building dhcpcd wrong?
As to the coredump I mentioned in the subject, *now* I can't reproduce
it. I can send the coredump and unstripped binary (for 6.10.3), if
desired.
Yes please.
The core dump and the binary will tell us where the problem is.
dhcpcd-6.11.0 did fix some potential memory issues you may have found
with dhcpcd-6.10.x which would explain why you cannot replicate it.
Roy
Archive administrator: postmaster@marples.name