malloc(): smallbin double linked list corrupted: 0x00007ffff14ca730 ***
暂时记录问题,找到原因再更新!!!!
*** Error in `/home/lics/1078server/1078Server/./transfer’: malloc(): smallbin double linked list corrupted: 0x00007ffff14ca730 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7f7c4)[0x7ffff5e3f7c4]
/lib64/libc.so.6(+0x82f00)[0x7ffff5e42f00]
/lib64/libc.so.6(__libc_calloc+0xb4)[0x7ffff5e46564]
/home/lics/1078server/1078Server/./transfer[0x4abed4]
/home/lics/1078server/1078Server/./transfer[0x48cd16]
/home/lics/1078server/1078Server/./transfer[0x490c65]
/lib64/libpthread.so.0(+0x7e65)[0x7ffff740ce65]
/lib64/libc.so.6(clone+0x6d)[0x7ffff5ebe88d]
======= Memory map: ========
00400000-01a3a000 r-xp 00000000 fd:01 926208 /home/lics/1078server/1078Server/transfer
01c39000-01cbf000 r–p 01639000 fd:01 926208 /home/lics/1078server/1078Server/transfer
01cbf000-01d02000 rw-p 016bf000 fd:01 926208 /home/lics/1078server/1078Server/transfer
01d02000-041c1000 rw-p 00000000 00:00 0 [heap]
7fff6bdb7000-7fff6bdb8000 —p 00000000 00:00 0
7fff6bdb8000-7fff6c5b8000 rw-p 00000000 00:00 0
7fff6c5b8000-7fff6c5b9000 —p 00000000 00:00 0
7fff6c5b9000-7fff6cdb9000 rw-p 00000000 00:00 0
7fff6cdb9000-7fff6cdba000 —p 00000000 00:00 0
7fff6cdba000-7fff6d5ba000 rw-p 00000000 00:00 0
7fff6d5ba000-7fff6d5bb000 —p 00000000 00:00 0
7fff6d5bb000-7fff6ddbb000 rw-p 00000000 00:00 0
7fffa0000000-7fffa1c08000 rw-p 00000000 00:00 0
7fffa1c08000-7fffa4000000 —p 00000000 00:00 0
7fffa4000000-7fffa5c61000 rw-p 00000000 00:00 0
7fffa5c61000-7fffa8000000 —p 00000000 00:00 0
7fffa8000000-7fffa9c21000 rw-p 00000000 00:00 0
7fffa9c21000-7fffac000000 —p 00000000 00:00 0
7fffac000000-7fffad718000 rw-p 00000000 00:00 0
7fffad718000-7fffb0000000 —p 00000000 00:00 0
7fffb0000000-7fffb1be9000 rw-p 00000000 00:00 0
7fffb1be9000-7fffb4000000 —p 00000000 00:00 0
7fffb4000000-7fffb5c8c000 rw-p 00000000 00:00 0
7fffb5c8c000-7fffb8000000 —p 00000000 00:00 0
7fffb8000000-7fffb9adf000 rw-p 00000000 00:00 0
7fffb9adf000-7fffbc000000 —p 00000000 00:00 0
7fffbc000000-7fffbdbbd000 rw-p 00000000 00:00 0
7fffbdbbd000-7fffc0000000 —p 00000000 00:00 0
7fffc0000000-7fffc1c23000 rw-p 00000000 00:00 0
7fffc1c23000-7fffc4000000 —p 00000000 00:00 0
7fffc4000000-7fffc5c4b000 rw-p 00000000 00:00 0
7fffc5c4b000-7fffc8000000 —p 00000000 00:00 0
7fffc8000000-7fffc9c64000 rw-p 00000000 00:00 0
7fffc9c64000-7fffcc000000 —p 00000000 00:00 0
7fffcc000000-7fffcdc0f000 rw-p 00000000 00:00 0
7fffcdc0f000-7fffd0000000 —p 00000000 00:00 0
7fffd0000000-7fffd1bec000 rw-p 00000000 00:00 0
7fffd1bec000-7fffd4000000 —p 00000000 00:00 0
7fffd40fe000-7fffd45f1000 r-xp 00000000 fd:01 1202248 /usr/local/lib/libx265.so.179
7fffd45f1000-7fffd47f0000 —p 004f3000 fd:01 1202248 /usr/local/lib/libx265.so.179
7fffd47f0000-7fffd47f2000 r–p 004f2000 fd:01 1202248 /usr/local/lib/libx265.so.179
7fffd47f2000-7fffd47f3000 rw-p 004f4000 fd:01 1202248 /usr/local/lib/libx265.so.179
7fffd47f3000-7fffd47f9000 rw-p 00000000 00:00 0
7fffd8000000-7fffd9bdd000 rw-p 00000000 00:00 0
7fffd9bdd000-7fffdc000000 —p 00000000 00:00 0
7fffdf5c6000-7fffdf5dc000 r-xp 00000000 fd:01 1190365 /usr/lib64/libresolv-2.17.so
7fffdf5dc000-7fffdf7db000 —p 00016000 fd:01 1190365 /usr/lib64/libresolv-2.17.so
7fffdf7db000-7fffdf7dc000 r–p 00015000 fd:01 1190365 /usr/lib64/libresolv-2.17.so
7fffdf7dc000-7fffdf7dd000 rw-p 00016000 fd:01 1190365 /usr/lib64/libresolv-2.17.so
7fffdf7dd000-7fffdf7df000 rw-p 00000000 00:00 0
7fffdf7df000-7fffdf7e0000 —p 00000000 00:00 0
7fffdf7e0000-7fffdffe0000 rw-p 00000000 00:00 0
7fffdffe0000-7fffdffe1000 —p 00000000 00:00 0
7fffdffe1000-7fffe07e1000 rw-p 00000000 00:00 0
7fffe07e1000-7fffe07e2000 —p 00000000 00:00 0
7fffe07e2000-7fffe0fe2000 rw-p 00000000 00:00 0
7fffe0fe2000-7fffe0fe3000 —p 00000000 00:00 0
7fffe0fe3000-7fffe17e3000 rw-p 00000000 00:00 0
7fffe17e3000-7fffe17e4000 —p 00000000 00:00 0
7fffe17e4000-7fffe1fe4000 rw-p 00000000 00:00 0
7fffe1fe4000-7fffe1fe5000 —p 00000000 00:00 0
7fffe1fe5000-7fffe27e5000 rw-p 00000000 00:00 0
7fffe27e5000-7fffe27e6000 —p 00000000 00:00 0
7fffe27e6000-7fffe2fe6000 rw-p 00000000 00:00 0
7fffe2fe6000-7fffe2fe7000 —p 00000000 00:00 0
7fffe2fe7000-7fffe37e7000 rw-p 00000000 00:00 0
7fffe37e7000-7fffe37e8000 —p 00000000 00:00 0
7fffe37e8000-7fffe3fe8000 rw-p 00000000 00:00 0
7fffe3fe8000-7fffe3fe9000 —p 00000000 00:00 0
7fffe3fe9000-7fffe47e9000 rw-p 00000000 00:00 0
7fffe47e9000-7fffe47ea000 —p 00000000 00:00 0
7fffe47ea000-7fffe4fea000 rw-p 00000000 00:00 0
7fffe4fea000-7fffe4feb000 —p 00000000 00:00 0
7fffe4feb000-7fffe57eb000 rw-p 00000000 00:00 0
7fffe57eb000-7fffe57ec000 —p 00000000 00:00 0
7fffe57ec000-7fffe5fec000 rw-p 00000000 00:00 0
7fffe5fec000-7fffe5fed000 —p 00000000 00:00 0
7fffe5fed000-7fffe67ed000 rw-p 00000000 00:00 0
7fffe67ed000-7fffe67ee000 —p 00000000 00:00 0
7fffe67ee000-7fffe6fee000 rw-p 00000000 00:00 0
7fffe6fee000-7fffe6fef000 —p 00000000 00:00 0
7fffe6fef000-7fffe77ef000 rw-p 00000000 00:00 0
7fffe77ef000-7fffe77f0000 —p 00000000 00:00 0
7fffe77f0000-7fffe7ff0000 rw-p 00000000 00:00 0
7fffe7ff0000-7fffe7ff1000 —p 00000000 00:00 0
7fffe7ff1000-7fffe87f1000 rw-p 00000000 00:00 0
7fffe87f1000-7fffe87f2000 —p 00000000 00:00 0
7fffe87f2000-7fffe8ff2000 rw-p 00000000 00:00 0
7fffe8ff2000-7fffe8ff3000 —p 00000000 00:00 0
7fffe8ff3000-7fffe97f3000 rw-p 00000000 00:00 0
7fffe97f3000-7fffe97f4000 —p 00000000 00:00 0
7fffe97f4000-7fffe9ff4000 rw-p 00000000 00:00 0
7fffe9ff4000-7fffe9ff5000 —p 00000000 00:00 0
7fffe9ff5000-7fffea7f5000 rw-p 00000000 00:00 0
7fffea7f5000-7fffea7f6000 —p 00000000 00:00 0
7fffea7f6000-7fffeaff6000 rw-p 00000000 00:00 0
7fffeaff6000-7fffeaff7000 —p 00000000 00:00 0
7fffeaff7000-7fffeb7f7000 rw-p 00000000 00:00 0
7fffeb7f7000-7fffeb7f8000 —p 00000000 00:00 0
7fffeb7f8000-7fffebff8000 rw-p 00000000 00:00 0
7fffebff8000-7fffebff9000 —p 00000000 00:00 0
7fffebff9000-7fffec7f9000 rw-p 00000000 00:00 0
7fffec7f9000-7fffec7fa000 —p 00000000 00:00 0
7fffec7fa000-7fffecffa000 rw-p 00000000 00:00 0
7fffecffa000-7fffecffb000 —p 00000000 00:00 0
7fffecffb000-7fffed7fb000 rw-p 00000000 00:00 0
7fffed7fb000-7fffed7fc000 —p 00000000 00:00 0
7fffed7fc000-7fffedffc000 rw-p 00000000 00:00 0
7fffedffc000-7fffedffd000 —p 00000000 00:00 0
7fffedffd000-7fffee7fd000 rw-p 00000000 00:00 0
7fffee7fd000-7fffee7fe000 —p 00000000 00:00 0
7fffee7fe000-7fffeeffe000 rw-p 00000000 00:00 0
7fffeeffe000-7fffeefff000 —p 00000000 00:00 0
7fffeefff000-7fffef7ff000 rw-p 00000000 00:00 0
7fffef7ff000-7fffef800000 —p 00000000 00:00 0
7fffef800000-7ffff0000000 rw-p 00000000 00:00 0
7ffff0000000-7ffff1c1d000 rw-p 00000000 00:00 0
7ffff1c1d000-7ffff4000000 —p 00000000 00:00 0
7ffff41a3000-7ffff41a9000 r-xp 00000000 fd:01 1183438 /usr/lib64/libnss_dns-2.17.so
7ffff41a9000-7ffff43a8000 —p 00006000 fd:01 1183438 /usr/lib64/libnss_dns-2.17.so
7ffff43a8000-7ffff43a9000 r–p 00005000 fd:01 1183438 /usr/lib64/libnss_dns-2.17.so
7ffff43a9000-7ffff43aa000 rw-p 00006000 fd:01 1183438 /usr/lib64/libnss_dns-2.17.so
7ffff43aa000-7ffff43b6000 r-xp 00000000 fd:01 1190351 /usr/lib64/libnss_files-2.17.so
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff55be700 (LWP 1643)]
0x00007ffff5df6337 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 glibc-2.17-292.el7.x86_64 libgcc-4.8.5-39.el7.x86_64 libstdc+±4.8.5-39.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb)
(gdb) bt
#0 0x00007ffff5df6337 in raise () from /lib64/libc.so.6
#1 0x00007ffff5df7a28 in abort () from /lib64/libc.so.6
#2 0x00007ffff5e38e87 in __libc_message () from /lib64/libc.so.6
#3 0x00007ffff5e3f7c4 in malloc_printerr () from /lib64/libc.so.6
#4 0x00007ffff5e42f00 in _int_malloc () from /lib64/libc.so.6
#5 0x00007ffff5e46564 in calloc () from /lib64/libc.so.6
#6 0x00000000004abed4 in msg_queue_create (length=2048) at base/src/msg_queue_list_api.c:22
#7 0x000000000048cd16 in analysis_1078_rtp_packet_register (sockfd=9, connfd=12) at service/src/analysis_1078_rtp_packet.c:956
#8 0x0000000000490c65 in recv_state_thread_handler (param=0x0) at service/src/recv_1078_rtp_packet.c:98
#9 0x00007ffff740ce65 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff5ebe88d in clone () from /lib64/libc.so.6
暂时记录问题,找到原因再更新!!!!
该问题是log4cd的开源库引起的,该库存在内存泄漏,线程不安全等问题,且已无人维护。替换未zlog暂未复现