[Debian-ha-maintainers] Bug#601807: heartbeat: Segfault while using a failover IPv6 address

Laurent Caron lcaron at LNCSA.FR
Sat Oct 30 06:18:33 UTC 2010


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 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f4f800b09a8]
/lib/libc.so.6(cfree+0x76)[0x7f4f800b2ab6]
/usr/lib/libnet.so.1(libnet_write+0x10b)[0x7f4f8110ab6b]
/usr/lib/ocf/resource.d//heartbeat/IPv6addr[0x401fce]
/usr/lib/ocf/resource.d//heartbeat/IPv6addr[0x402710]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f4f8005b1a6]
/usr/lib/ocf/resource.d//heartbeat/IPv6addr[0x401539]
======= Memory map: ========
00400000-00404000 r-xp 00000000 09:01 2777275                            /usr/lib/ocf/resource.d/heartbeat/IPv6addr
00603000-00604000 rw-p 00003000 09:01 2777275                            /usr/lib/ocf/resource.d/heartbeat/IPv6addr
00604000-00625000 rw-p 00000000 00:00 0                                  [heap]
7f4f78000000-7f4f78021000 rw-p 00000000 00:00 0 
7f4f78021000-7f4f7c000000 ---p 00000000 00:00 0 
7f4f7eb34000-7f4f7eb4a000 r-xp 00000000 09:01 3579907                    /lib/libgcc_s.so.1
7f4f7eb4a000-7f4f7ed4a000 ---p 00016000 09:01 3579907                    /lib/libgcc_s.so.1
7f4f7ed4a000-7f4f7ed4b000 rw-p 00016000 09:01 3579907                    /lib/libgcc_s.so.1
7f4f7ed4b000-7f4f7ed61000 r-xp 00000000 09:01 3580257                    /lib/libpthread-2.7.so
7f4f7ed61000-7f4f7ef61000 ---p 00016000 09:01 3580257                    /lib/libpthread-2.7.so
7f4f7ef61000-7f4f7ef63000 rw-p 00016000 09:01 3580257                    /lib/libpthread-2.7.so
7f4f7ef63000-7f4f7ef67000 rw-p 00000000 00:00 0 
7f4f7ef67000-7f4f7efe9000 r-xp 00000000 09:01 3580231                    /lib/libm-2.7.so
7f4f7efe9000-7f4f7f1e8000 ---p 00082000 09:01 3580231                    /lib/libm-2.7.so
7f4f7f1e8000-7f4f7f1ea000 rw-p 00081000 09:01 3580231                    /lib/libm-2.7.so
7f4f7f1ea000-7f4f7f212000 r-xp 00000000 09:01 2660238                    /usr/lib/libpcre.so.3.12.1
7f4f7f212000-7f4f7f411000 ---p 00028000 09:01 2660238                    /usr/lib/libpcre.so.3.12.1
7f4f7f411000-7f4f7f412000 rw-p 00027000 09:01 2660238                    /usr/lib/libpcre.so.3.12.1
7f4f7f412000-7f4f7f419000 r-xp 00000000 09:01 7045179                    /usr/lib/libpils.so.1.0.0
7f4f7f419000-7f4f7f619000 ---p 00007000 09:01 7045179                    /usr/lib/libpils.so.1.0.0
7f4f7f619000-7f4f7f61a000 rw-p 00007000 09:01 7045179                    /usr/lib/libpils.so.1.0.0
7f4f7f61a000-7f4f7f621000 r-xp 00000000 09:01 2659952                    /usr/lib/libltdl.so.3.1.6
7f4f7f621000-7f4f7f820000 ---p 00007000 09:01 2659952                    /usr/lib/libltdl.so.3.1.6
7f4f7f820000-7f4f7f821000 rw-p 00006000 09:01 2659952                    /usr/lib/libltdl.so.3.1.6
7f4f7f821000-7f4f7f823000 r-xp 00000000 09:01 3580240                    /lib/libdl-2.7.so
7f4f7f823000-7f4f7fa23000 ---p 00002000 09:01 3580240                    /lib/libdl-2.7.so
7f4f7fa23000-7f4f7fa25000 rw-p 00002000 09:01 3580240                    /lib/libdl-2.7.so
7f4f7fa25000-7f4f7fa2d000 r-xp 00000000 09:01 3580244                    /lib/librt-2.7.so
7f4f7fa2d000-7f4f7fc2c000 ---p 00008000 09:01 3580244                    /lib/librt-2.7.so
7f4f7fc2c000-7f4f7fc2e000 rw-p 00007000 09:01 3580244                    /lib/librt-2.7.so
7f4f7fc2e000-7f4f7fc39000 r-xp 00000000 09:01 3579927                    /lib/libpam.so.0.81.12
7f4f7fc39000-7f4f7fe38000 ---p 0000b000 09:01 3579927                    /lib/libpam.so.0.81.12
7f4f7fe38000-7f4f7fe39000 rw-p 0000a000 09:01 3579927                    /lib/libpam.so.0.81.12
7f4f7fe39000-7f4f7fe3c000 r-xp 00000000 09:01 3579973                    /lib/libuuid.so.1.2
7f4f7fe3c000-7f4f8003c000 ---p 00003000 09:01 3579973                    /lib/libuuid.so.1.2
7f4f8003c000-7f4f8003d000 rw-p 00003000 09:01 3579973                    /lib/libuuid.so.1.2
7f4f8003d000-7f4f80187000 r-xp 00000000 09:01 3580243                    /lib/libc-2.7.so
7f4f80187000-7f4f80386000 ---p 0014a000 09:01 3580243                    /lib/libc-2.7.so
7f4f80386000-7f4f80389000 r--p 00149000 09:01 3580243                    /lib/libc-2.7.so
7f4f80389000-7f4f8038b000 rw-p 0014c000 09:01 3580243                    /lib/libc-2.7.so
7f4f8038b000-7f4f80390000 rw-p 00000000 00:00 0 
7f4f80390000-7f4f804e2000 r-xp 00000000 09:01 2659812                    /usr/lib/libxml2.so.2.6.32
7f4f804e2000-7f4f806e1000 ---p 00152000 09:01 2659812                    /usr/lib/libxml2.so.2.6.32
7f4f806e1000-7f4f806eb000 rw-p 00151000 09:01 2659812                    /usr/lib/libxml2.so.2.6.32
7f4f806eb000-7f4f806ec000 rw-p 00000000 00:00 0 
7f4f806ec000-7f4f80702000 r-xp 00000000 09:01 2656421                    /usr/lib/libz.so.1.2.3.3
7f4f80702000-7f4f80902000 ---p 00016000 09:01 2656421                    /usr/lib/libz.so.1.2.3.3
7f4f80902000-7f4f80903000 rw-p 00016000 09:01 2656421                    /usr/lib/libz.so.1.2.3.3
7f4f80903000-7f4f80912000 r-xp 00000000 09:01 3579940                    /lib/libbz2.so.1.0.4
7f4f80912000-7f4f80b11000 ---p 0000f000 09:01 3579940                    /lib/libbz2.so.1.0.4
7f4f80b11000-7f4f80b13000 rw-p 0000e000 09:01 3579940                    /lib/libbz2.so.1.0.4
7f4f80b13000-7f4f80bd4000 r-xp 00000000 09:01 2660242                    /usr/lib/libglib-2.0.so.0.1600.6
7f4f80bd4000-7f4f80dd4000 ---p 000c1000 09:01 2660242                    /usr/lib/libglib-2.0.so.0.1600.6
7f4f80dd4000-7f4f80dd5000 rw-p 000c1000 09:01 2660242                    /usr/lib/libglib-2.0.so.0.1600.6
7f4f80dd5000-7f4f80dd6000 rw-p 00000000 00:00 0 
7f4f80dd6000-7f4f80e02000 r-xp 00000000 09:01 7045180                    /usr/lib/libplumb.so.1.0.0
7f4f80e02000-7f4f81002000 ---p 0002c000 09:01 7045180                    /usr/lib/libplumb.so.1.0.0
7f4f81002000-7f4f81004000 rw-p 0002c000 09:01 7045180                    /usr/lib/libplumb.so.1.0.0
7f4f81004000-7f4f81005000 rw-p 00000000 00:00 0 
7f4f81005000-7f4f81021000 r-xp 00000000 09:01 3580253                    /lib/ld-2.7.so
7f4f810f5000-7f4f810fb000 rw-p 00000000 00:00 0 
7f4f810fb000-7f4f81111000 r-xp 00000000 09:01 7045151                    /usr/lib/libnet.so.1.3.0
7f4f81111000-7f4f81211000 ---p 00016000 09:01 7045151                    /usr/lib/libnet.so.1.3.0
7f4f81211000-7f4f81212000 rw-p 00016000 09:01 7045151                    /usr/lib/libnet.so.1.3.0/etc/ha.d/resource.d//hto-mapfuncs: line 52: 25339 Aborted                 $__SCRIPT_NAME start
2010/10/30_08:15:45 ERROR:  Unknown error: 134
ERROR:  Unknown error: 134

$ /etc/ha.d/resource.d/IPv6addr abcd:abc:abc:a::b/64/bond0 stop
2010/10/30_08:16:51 INFO:  Success
INFO:  Success






More information about the Debian-ha-maintainers mailing list