dpvs icon indicating copy to clipboard operation
dpvs copied to clipboard

keepalived crashed in reloading, thank you.

Open icymoon opened this issue 6 years ago • 2 comments

Reload keepalived, add / remove 2 real servers each time. sleep 1 sec between reloading.

Core was generated by `/home/XXXX/../dpvs/bin/keepalived -d -C -f /etc/keepalive'. Program terminated with signal 11, Segmentation fault. #0 0x00007f9530fcf4dc in free () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.17-196.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-8.el7.x86_64 libcom_err-1.42.9-10.el7.x86_64 libselinux-2.5-11.el7.x86_64 nss-softokn-freebl-3.28.3-8.el7_4.x86_64 openssl-libs-1.0.2k-8.el7.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-17.el7.x86_64 (gdb) bt #0 0x00007f9530fcf4dc in free () from /lib64/libc.so.6
#1 0x0000000000421995 in free_element (l=0x12603b40) at list.c:114 #2 free_list (l=0x12603b40) at list.c:140 #3 0x000000000041a0db in free_interface_queue () at vrrp_if.c:409 #4 0x0000000000405637 in reload_check_thread (thread=) at check_daemon.c:199 #5 0x000000000042013d in thread_call (thread=0x7ffc2ec3ebd0) at scheduler.c:761 #6 launch_scheduler () at scheduler.c:784 #7 0x000000000040575b in start_check_child () at check_daemon.c:311 #8 0x0000000000405856 in check_respawn_thread (thread=) at check_daemon.c:240 #9 0x000000000042013d in thread_call (thread=0x7ffc2ec3ec50) at scheduler.c:761 #10 launch_scheduler () at scheduler.c:784 #11 0x00000000004030b9 in main (argc=, argv=) at main.c:307

another stack is: (gdb) bt #0 0x00007f9530fcc314 in _int_malloc () from /lib64/libc.so.6 #1 0x00007f9530fcf10c in malloc () from /lib64/libc.so.6 #2 0x000000000041e5ae in zalloc (size=size@entry=24) at memory.c:44 #3 0x000000000041c9fc in keyword_alloc (keywords_vec=0x2f96250, string=0x42a63e "vrrp_mcast_group4", handler=0x404650 <vrrp_mcast_group4_handler>) at parser.c:50 #4 0x000000000041caf2 in install_keyword (string=string@entry=0x42a63e "vrrp_mcast_group4", handler=handler@entry=0x404650 <vrrp_mcast_group4_handler>) at parser.c:101 #5 0x0000000000404728 in global_init_keywords () at global_parser.c:127 #6 0x000000000040c029 in check_init_keywords () at check_parser.c:407 #7 0x000000000041d7ea in init_data (conf_file=0x7ffc2ec3f764 "/etc/keepalived/keepalived.conf", Init_keywords=0x40c020 <check_init_keywords>) at parser.c:462 #8 0x00000000004054ee in start_check () at check_daemon.c:110 #9 0x0000000000405689 in reload_check_thread (thread=) at check_daemon.c:212 #10 0x000000000042013d in thread_call (thread=0x7ffc2ec3ebd0) at scheduler.c:761 #11 launch_scheduler () at scheduler.c:784 #12 0x000000000040575b in start_check_child () at check_daemon.c:311 #13 0x0000000000405856 in check_respawn_thread (thread=) at check_daemon.c:240 #14 0x000000000042013d in thread_call (thread=0x7ffc2ec3ec50) at scheduler.c:761 #15 launch_scheduler () at scheduler.c:784 #16 0x00000000004030b9 in main (argc=, argv=) at main.c:307

icymoon avatar Apr 09 '18 03:04 icymoon

we will update keepalived to try to fix these crash bugs. Thanks for your issues.

mscbg avatar Apr 26 '18 08:04 mscbg

@beacer @mscbg Whether the vulnerability has been repaired.thank you

wangdwcsd avatar Jul 23 '18 01:07 wangdwcsd