[Debian-ha-maintainers] Bug#601807: heartbeat: Segfault while using a failover IPv6 address
Simon Horman
horms at verge.net.au
Sun Dec 12 22:12:03 UTC 2010
On Mon, Dec 13, 2010 at 06:30:33AM +0900, Simon Horman wrote:
> On Sun, Dec 12, 2010 at 04:54:19PM +0100, Laurent CARON wrote:
> > On 07/11/2010 12:02, Laurent CARON wrote:
> > >On 07/11/2010 02:27, Simon Horman wrote:
> > >>On Sat, Nov 06, 2010 at 08:07:13PM +0100, Laurent CARON wrote:
> > >>>On 30/10/2010 08:54, Simon Horman wrote:
> > >>>>On Sat, Oct 30, 2010 at 08:18:33AM +0200, Laurent Caron wrote:
> > >>>>>On Sat, Oct 30, 2010 at 02:11:57PM +0900, Simon Horman wrote:
> > >>>>>>On Fri, Oct 29, 2010 at 10:54:55PM +0200, Laurent Caron wrote:
> > >>>>>>could you give a little bit more detail on the configuration
> > >>>>>>that you have that segfaults?
> > >>>>>Hi Simon,
> > >>>>>
> > >>>>>Here you go:
> > >>>>>
> > >>>>>$ /etc/ha.d/resource.d/IPv6addr abcd:abc:abc:a::b/64/bond0 start
> > >>>>>*** glibc detected *** /usr/lib/ocf/resource.d//heartbeat/IPv6addr:
> > >>>>>free(): invalid next size (fast): 0x00000000006042b0 ***
> > >>>>[ snip ]
> > >>>>
> > >>>>Thanks
> > >>>>
> > >>>Hi Simon,
> > >>>
> > >>>Do you have any input on this ?
> > >>
> > >>Hi,
> > >>
> > >>I haven't had time to look into this.
> > >>But I would start by seeing if the bug has been
> > >>fixed upstream - I seem to recall a fix for a problem like this.
> > >>
> > >
> > >Did check it:
> > >
> > >http://rpmfind.net/linux/RPM/opensuse/11.3/x86_64/heartbeat-resources-2.99.3-18.2.x86_64.html
> > >
> > >
> > >* Wed Jan 21 2009 lmb at suse.de
> > >- RA: IPv6addr: Fix crash on x86_64 (LF#2034).
> > >
> > >Can you please push this fix to the debian package ?
> > >
> > >Thanks
> >
> >
> > Hi Simon,
> >
> > Did you update the debian package with the IPv6 patch ?
>
> Sorry, no, not yet.
Hi,
I took a look and that patch is as follows. However the line that it
changes doesn't exist in the lenny4 package. I guess we need to poke a bit
harder.
# HG changeset patch
# User Dejan Muhamedagic <dejan at hello-penguin.com>
# Date 1257196243 -3600
# Node ID c9d24c4d9149b99fd967f67ff7e40926014d0c83
# Parent cdf5dc51eeec038bbc94ec4958a098d6efe68007
Medium: IPv6addr: ifdef out the ip offset hack for libnet v1.1.4 (LF 2034)
diff -r cdf5dc51eeec -r c9d24c4d9149 heartbeat/IPv6addr.c
--- a/heartbeat/IPv6addr.c Mon Nov 02 22:09:27 2009 +0100
+++ b/heartbeat/IPv6addr.c Mon Nov 02 22:10:43 2009 +0100
@@ -450,7 +450,9 @@
255,*(struct libnet_in6_addr*)src_ip,
dst_ip,NULL,0,l,0);
/* Hack: adjust the correct checksum offset. see LF #2034 */
+#ifndef HAVE_LIBNET_1_1_4_API
libnet_pblock_record_ip_offset(l, l->total_size);
+#endif
if (libnet_write(l) == -1)
More information about the Debian-ha-maintainers
mailing list