2010-07-23 65 views
0
*** glibc detected *** /acu/722/bin/runcblrpc: free(): invalid next size (fast): 0x082d8368 *** 
          ======= Backtrace: ========= 
        /lib/libc.so.6[0xb7e38fc4] 
        /lib/libc.so.6(cfree+0x9c)0xb7e3a95c] 
        /acu/722/bin/runcblrpc[0x8241053] 
          ======= Memory map: ======== 
08048000-08273000 r-xp 00000000 08:02 1079681 /acu/722/bin/runcblrpc 
08273000-08274000 r--p 0022b000 08:02 1079681 /acu/722/bin/runcblrpc 
08274000-0827c000 rw-p 0022c000 08:02 1079681 /acu/722/bin/runcblrpc 
0827c000-0835d000 rw-p 0827c000 00:00 0   [heap] 
b7c00000-b7c21000 rw-p b7c00000 00:00 0 
b7c21000-b7d00000 ---p b7c21000 00:00 0 
b7d89000-b7d95000 r-xp 00000000 08:02 1594594 /lib/libgcc_s.so.1 
b7d95000-b7d96000 r--p 0000b000 08:02 1594594 /lib/libgcc_s.so.1 
b7d96000-b7d97000 rw-p 0000c000 08:02 1594594 /lib/libgcc_s.so.1 
b7d97000-b7dcc000 r--s 00000000 08:02 671266  /var/run/nscd/passwd 
b7dcc000-b7dcd000 rw-p b7dcc000 00:00 0 
b7dcd000-b7f0a000 r-xp 00000000 08:02 1594443 /lib/libc-2.8.so 
b7f0a000-b7f0c000 r--p 0013d000 08:02 1594443 /lib/libc-2.8.so 
b7f0c000-b7f0d000 rw-p 0013f000 08:02 1594443 /lib/libc-2.8.so 
b7f0d000-b7f10000 rw-p b7f0d000 00:00 0 
b7f10000-b7f22000 r-xp 00000000 08:02 1594676 /lib/libz.so.1.2.3 
b7f22000-b7f23000 r--p 00011000 08:02 1594676 /lib/libz.so.1.2.3 
b7f23000-b7f24000 rw-p 00012000 08:02 1594676 /lib/libz.so.1.2.3 
b7f24000-b7f48000 r-xp 00000000 08:02 1594454 /lib/libm-2.8.so 
b7f48000-b7f49000 r--p 00023000 08:02 1594454 /lib/libm-2.8.so 
b7f49000-b7f4a000 rw-p 00024000 08:02 1594454 /lib/libm-2.8.so 
b7f4a000-b7f4c000 r-xp 00000000 08:02 1594449 /lib/libdl-2.8.so 
b7f4c000-b7f4d000 r--p 00001000 08:02 1594449 /lib/libdl-2.8.so 
b7f4d000-b7f4e000 rw-p 00002000 08:02 1594449 /lib/libdl-2.8.so 
b7f4e000-b7f4f000 rw-p b7f4e000 00:00 0 
b7f64000-b7f7f000 r-xp 00000000 08:02 1594773 /lib/ld-2.8.so 
b7f7f000-b7f80000 r--p 0001a000 08:02 1594773 /lib/ld-2.8.so 
b7f80000-b7f81000 rw-p 0001b000 08:02 1594773 /lib/ld-2.8.so 
bfc6c000-bfc81000 rw-p bffeb000 00:00 0   [stack] 
ffffe000-fffff000 r-xp 00000000 00:00 0   [vdso] 
./fg4: line 23: 3247 Aborted 
    /acu/722/bin/runcblrpc FG4RUN FM4-010 
End of FlexGen 

回答

0

它看起來像程序中的內存損壞;在運行程序之前,嘗試將MALLOC_CHECK_環境變量設置爲1,23MALLOC_CHECK_這些參數將要求標準malloc(3)對堆損壞執行更多檢查。 (也許23將更爲有用,因爲它們會立即abort(3)程序。)

如果簡單MALLOC_CHECK_不追查你,你可能需要使用Valgrind找到你的錯誤。 (另一種選擇是嘗試debugging memory allocator,但我從來沒有使用過。)

相關問題