watchbiao / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
1 stars 0 forks source link

why always this proplem #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have downloaded the last release (FastDFS_v1.24) archive and build it in
ubuntu (9.04 and 9.10) and ./make.sh install with no errors but when run it
with the command "/usr/local/bin/fdfs_trackerd tracker.conf" there is
always some error :
==========================================================================

*** buffer overflow detected ***: /usr/local/bin/fdfs_trackerd terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7f07da8]
/lib/tls/i686/cmov/libc.so.6[0xb7f05eb0]
/lib/tls/i686/cmov/libc.so.6[0xb7f055a8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7e77bb8]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x133)[0xb7e49963]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb7f05654]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb7f0559d]
/usr/local/bin/fdfs_trackerd[0x805100b]
/usr/local/bin/fdfs_trackerd[0x8051407]
/usr/local/bin/fdfs_trackerd[0x804ef24]
/usr/local/bin/fdfs_trackerd[0x804ffae]
/usr/local/bin/fdfs_trackerd[0x805080f]
/usr/local/bin/fdfs_trackerd[0x805f76b]
/usr/local/bin/fdfs_trackerd[0x804a35f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e20775]
/usr/local/bin/fdfs_trackerd[0x804a1f1]
======= Memory map: ========
08048000-08066000 r-xp 00000000 08:02 40760      /usr/local/bin/fdfs_trackerd
08066000-08067000 r--p 0001d000 08:02 40760      /usr/local/bin/fdfs_trackerd
08067000-08068000 rw-p 0001e000 08:02 40760      /usr/local/bin/fdfs_trackerd
0991b000-0993c000 rw-p 0991b000 00:00 0          [heap]
b7dc1000-b7dce000 r-xp 00000000 08:02 1104       /lib/libgcc_s.so.1
b7dce000-b7dcf000 r--p 0000c000 08:02 1104       /lib/libgcc_s.so.1
b7dcf000-b7dd0000 rw-p 0000d000 08:02 1104       /lib/libgcc_s.so.1
b7dd0000-b7dd2000 rw-p b7dd0000 00:00 0 
b7dd2000-b7de4000 r-xp 00000000 08:02 3723      
/lib/tls/i686/cmov/libresolv-2.9.so
b7de4000-b7de5000 r--p 00011000 08:02 3723      
/lib/tls/i686/cmov/libresolv-2.9.so
b7de5000-b7de6000 rw-p 00012000 08:02 3723      
/lib/tls/i686/cmov/libresolv-2.9.so
b7de6000-b7de8000 rw-p b7de6000 00:00 0 
b7de8000-b7def000 r-xp 00000000 08:02 3724      
/lib/tls/i686/cmov/librt-2.9.so
b7def000-b7df0000 r--p 00006000 08:02 3724      
/lib/tls/i686/cmov/librt-2.9.so
b7df0000-b7df1000 rw-p 00007000 08:02 3724      
/lib/tls/i686/cmov/librt-2.9.so
b7df1000-b7e06000 r-xp 00000000 08:02 3713      
/lib/tls/i686/cmov/libnsl-2.9.so
b7e06000-b7e07000 r--p 00014000 08:02 3713      
/lib/tls/i686/cmov/libnsl-2.9.so
b7e07000-b7e08000 rw-p 00015000 08:02 3713      
/lib/tls/i686/cmov/libnsl-2.9.so
b7e08000-b7e0a000 rw-p b7e08000 00:00 0 
b7e0a000-b7f66000 r-xp 00000000 08:02 3707       /lib/tls/i686/cmov/libc-2.9.so
b7f66000-b7f67000 ---p 0015c000 08:02 3707       /lib/tls/i686/cmov/libc-2.9.so
b7f67000-b7f69000 r--p 0015c000 08:02 3707       /lib/tls/i686/cmov/libc-2.9.so
b7f69000-b7f6a000 rw-p 0015e000 08:02 3707       /lib/tls/i686/cmov/libc-2.9.so
b7f6a000-b7f6e000 rw-p b7f6a000 00:00 0 
b7f6e000-b7f83000 r-xp 00000000 08:02 3722      
/lib/tls/i686/cmov/libpthread-2.9.so
b7f83000-b7f84000 r--p 00014000 08:02 3722      
/lib/tls/i686/cmov/libpthread-2.9.so
b7f84000-b7f85000 rw-p 00015000 08:02 3722      
/lib/tls/i686/cmov/libpthread-2.9.so
b7f85000-b7f87000 rw-p b7f85000 00:00 0 
b7f87000-b7f9f000 r-xp 00000000 08:02 40875      /usr/lib/libevent-1.4.so.2.1.3
b7f9f000-b7fa0000 r--p 00017000 08:02 40875      /usr/lib/libevent-1.4.so.2.1.3
b7fa0000-b7fa1000 rw-p 00018000 08:02 40875      /usr/lib/libevent-1.4.so.2.1.3
b7fa5000-b7fa7000 rw-p b7fa5000 00:00 0 
b7fa7000-b7fa8000 r-xp b7fa7000 00:00 0          [vdso]
b7fa8000-b7fc4000 r-xp 00000000 08:02 15666      /lib/ld-2.9.so
b7fc4000-b7fc5000 r--p 0001b000 08:02 15666      /lib/ld-2.9.so
b7fc5000-b7fc6000 rw-p 0001c000 08:02 15666      /lib/ld-2.9.so
bfae8000-bfafd000 rw-p bffeb000 00:00 0          [stack]
Aborted

Original issue reported on code.google.com by liuqingl...@gmail.com on 16 Jan 2010 at 4:59

GoogleCodeExporter commented 8 years ago
you can get the newest source code as:
svn checkout http://fastdfs.googlecode.com/svn/trunk/ fastdfs-read-only 
or
svn export http://fastdfs.googlecode.com/svn/trunk/ fastdfs-read-only 

you can change make.sh, uncomment the line for debug:
#DEBUG_FLAG=1
then recompile the code and retry.

if this problem occurs yet, please paste the content of the log file as 
logs/tracker.log. thank you.

Original comment by happyfis...@gmail.com on 18 Jan 2010 at 7:28

GoogleCodeExporter commented 8 years ago

Original comment by happyfis...@gmail.com on 24 Nov 2010 at 8:04

GoogleCodeExporter commented 8 years ago
please upgrade your FastDFS to v2.11 or v3.02

Original comment by happyfis...@gmail.com on 27 Sep 2011 at 6:05