Linux下运行我的服务器报 corrupted double-linked list:
Linux下运行我的服务器报 corrupted double-linked list:不知道是啥原因
gdb输出如下:
*** glibc detected *** /SourceCode/YR/YR_CT/Application/YRCTServerConsole/YRCTServerConsole: corrupted double-linked list: 0x080c0668 ***[-1208484976]
======= Backtrace: =========
/lib/libc.so.6
/lib/libc.so.6(cfree+0x90)
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)
/SourceCode/YR/Bin/CentOS5.3_32_Debug/libYRCTSystemBase.so.2/SourceCode/YR/Bin/CentOS5.3_32_Debug/libYRCTSystemBase.so.2(_Z22WaitForMultipleObjectsjPKPvij+0x307)
/SourceCode/YR/Bin/CentOS5.3_32_Debug/libDYFileServerCore.so.2
/lib/libpthread.so.0
/lib/libc.so.6(clone+0x5e)
======= Memory map: ========
00110000-0011b000 r-xp 00000000 fd:00 3868807 /lib/libgcc_s-4.1.2-20080825.so.1
0011b000-0011c000 rwxp 0000a000 fd:00 3868807 /lib/libgcc_s-4.1.2-20080825.so.1
0011c000-00170000 r-xp 00000000 fd:00 3378939 /SourceCode/YR/YR_CT/Src/YRFileTransfer/libYRFileTransfer.so.2
00170000-00171000 rwxp 00053000 fd:00 3378939 /SourceCode/YR/YR_CT/Src/YRFileTransfer/libYRFileTransfer.so.2
0017c000-00328000 r-xp 00000000 fd:00 3643406 /SourceCode/YR/YR_CT/Src/ace/libYRCTNetBase.so.2
00328000-00334000 rwxp 001ab000 fd:00 3643406 /SourceCode/YR/YR_CT/Src/ace/libYRCTNetBase.so.2
00334000-00335000 rwxp 00334000 00:00 0
00335000-00415000 r-xp 00000000 fd:00 2569404 /usr/lib/libstdc++.so.6.0.8
00415000-00419000 r-xp 000df000 fd:00 2569404 /usr/lib/libstdc++.so.6.0.8
00419000-0041a000 rwxp 000e3000 fd:00 2569404 /usr/lib/libstdc++.so.6.0.8
0041a000-00420000 rwxp 0041a000 00:00 0
005ab000-005ac000 r-xp 005ab000 00:00 0
006aa000-006c4000 r-xp 00000000 fd:00 3868797 /lib/ld-2.5.so
006c4000-006c5000 r-xp 00019000 fd:00 3868797 /lib/ld-2.5.so
006c5000-006c6000 rwxp 0001a000 fd:00 3868797 /lib/ld-2.5.so
006cd000-0080b000 r-xp 00000000 fd:00 3868798 /lib/libc-2.5.so
0080b000-0080d000 r-xp 0013e000 fd:00 3868798 /lib/libc-2.5.so
0080d000-0080e000 rwxp 00140000 fd:00 3868798 /lib/libc-2.5.so
0080e000-00811000 rwxp 0080e000 00:00 0
00813000-00838000 r-xp 00000000 fd:00 3868805 /lib/libm-2.5.so
00838000-00839000 r-xp 00024000 fd:00 3868805 /lib/libm-2.5.so
00839000-0083a000 rwxp 00025000 fd:00 3868805 /lib/libm-2.5.so
0083c000-0083e000 r-xp 00000000 fd:00 3868799 /lib/libdl-2.5.so
0083f000-00840000 rwxp 00002000 fd:00 3868799 /lib/libdl-2.5.so
00842000-00855000 r-xp 00000000 fd:00 3868800 /lib/libpthread-2.5.so
00855000-00856000 r-xp 00012000 fd:00 3868800 /lib/libpthread-2.5.so
00856000-00857000 rwxp 00013000 fd:00 3868800 /lib/libpthread-2.5.so
00857000-00859000 rwxp 00857000 00:00 0
00ab6000-00abd000 r-xp 00000000 fd:00 3868801 /lib/librt-2.5.so
00abd000-00abe000 r-xp 00006000 fd:00 3868801 /lib/librt-2.5.so
00abe000-00abf000 rwxp 00007000 fd:00 3868801 /lib/librt-2.5.so
00ac1000-00ac4000 r-xp 00000000 fd:00 3868808 /lib/libuuid.so.1.2
00ac4000-00ac5000 rwxp 00003000 fd:00 3868808 /lib/libuuid.so.1.2
00b34000-00ba2000 r-xp 00000000 fd:00 3378845 /SourceCode/YR/YR_CT/Src/DYFileServerCore_ACE/libDYFileServerCore.so.2
00ba2000-00ba3000 rwxp 0006d000 fd:00 3378845 /SourceCode/YR/YR_
CT/Src/DYFileServerCore_ACE/libDYFileServerCore.so.2
00bf6000-00bfd000 r-xp 00000000 fd:00 3577425 /SourceCode/YR/YR_CT/Src/YRStructBuffer/libYRStructBuffer.so.2
00bfd000-00bfe000 rwxp 00006000 fd:00 3577425 /SourceCode/YR/YR_CT/Src/YRStructBuffer/libYRStructBuffer.so.2
00c3f000-00c56000 r-xp 00000000 fd:00 3412046 /SourceCode/YR/YR_CT/Src/YRCTSystemBase/libYRCTSystemBase.so.2
00c56000-00c57000 rwxp 00017000 fd:00 3412046 /SourceCode/YR/YR_CT/Src/YRCTSystemBase/libYRCTSystemBase.so.2
00c73000-00c93000 r-xp 00000000 fd:00 3412050 /SourceCode/YR/YR_CT/Src/YRCTBaseModule/libYRCTBaseModule.so.2
00c93000-00c94000 rwxp 0001f000 fd:00 3412050 /SourceCode/YR/YR_CT/Src/YRCTBaseModule/libYRCTBaseModule.so.2
00cfa000-00d35000 r-xp 00000000 fd:00 3412053 /SourceCode/YR/YR_CT/Src/YRSocket/libYRSocket.so.2
00d35000-00d36000 rwxp 0003a000 fd:00 3412053 /SourceCode/YR/YR_CT/Src/YRSocket/libYRSocket.so.2
00db7000-00dfa000 r-xp 00000000 fd:00 3411992 /SourceCode/YR/YR_CT/Src/YRCTBaseModuleEx/libYRCTBaseModuleEx.so.2
00dfa000-00dfd000 rwxp 00042000 fd:00 3411992 /SourceCode/YR/YR_CT/Src/YRCTBaseModuleEx/libYRCTBaseModuleEx.so.2
08048000-0804a000 r-xp 00000000 fd:00 3378851 /SourceCode/YR/YR_CT/Application/YRCTServerConsole/YRCTServerConsole
0804a000-0804b000 rw-p 00002000 fd:00 3378851 /SourceCode/YR/YR_CT/Application/YRCTServerConsole/YRCTServerConsole
080ad000-08139000 rw-p 080ad000 00:00 0
b5e00000-b5e21000 rw-p b5e00000 00:00 0
b5e21000-b5f00000 ---p b5e21000 00:00 0
b5f38000-b5f39000 rw-p b5f38000 00:00 0
b5f39000-b5f3a000 ---p b5f39000 00:00 0
b5f3a000-b693a000 rw-p b5f3a000 00:00 0
b693a000-b693b000 ---p b693a000 00:00 0
b693b000-b733b000 rw-p b693b000 00:00 0
b733b000-b7342000 r--s 00000000 fd:00 2654529 /usr/lib/gconv/gconv-modules.ca
che
b7342000-b7343000 r--p 01046000 fd:00 2560637 /usr/lib/locale/locale-archive
b7343000-b737f000 r--p 00fce000 fd:00 2560637 /usr/lib/locale/locale-archive
b737f000-b757f000 r--p 00000000 fd:00 2560637 /usr/lib/locale/locale-archive
b757f000-b7580000 ---p b757f000 00:00 0
b7580000-b7f86000 rw-p b7580000 00:00 0
b7f9e000-b7f9f000 rw-p b7f9e000 00:00 0
bfa31000-bfa46000 rw-p bffea000 00:00 0
网上说说指针被free2次,怎么找到这个问题呢,可是不大好找啊
大家有无好的办法呢 try valgrind.
页:
[1]