grow test error: buffer overflow detected

grow test error: buffer overflow detected

posted 03-26-2010 08:48 AM
Hello everybody,
I encountered a problem in the test mode both Cygwin and Linux (Ubuntu 9.10) as followed. At the 4th Monte Carlo Iteration, “grow” is termiated. I have more than 20 GB free space. But I am getting buffer overflow error. I don’t know how to overcome this problem. I’m waiting for your reply.
Thank’s
Ercument
growth.c 122 ******************************************
growth.c 130 Monte Carlo = 1 of 4
growth.c 133 proc_GetCurrentYear=1930
growth.c 135 proc_GetStopYear=1990
1931 1932 1933 1934 1935 1936 1937 1938 1939
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949
1950 1951 1952 1953 1954 1955 1956 1957 1958 1959
1960 1961 1962 1963 1964 1965 1966 1967 1968 1969
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
1990

growth.c 122 ******************************************
growth.c 130 Monte Carlo = 2 of 4
growth.c 133 proc_GetCurrentYear=1930
growth.c 135 proc_GetStopYear=1990
1931 1932 1933 1934 1935 1936 1937 1938 1939
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949
1950 1951 1952 1953 1954 1955 1956 1957 1958 1959
1960 1961 1962 1963 1964 1965 1966 1967 1968 1969
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
1990

growth.c 122 ******************************************
growth.c 130 Monte Carlo = 3 of 4
growth.c 133 proc_GetCurrentYear=1930
growth.c 135 proc_GetStopYear=1990
1931 1932 1933 1934 1935 1936 1937 1938 1939
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949
1950 1951 1952 1953 1954 1955 1956 1957 1958 1959
1960 1961 1962 1963 1964 1965 1966 1967 1968 1969
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
1990

growth.c 122 ******************************************
growth.c 130 Monte Carlo = 4 of 4
growth.c 133 proc_GetCurrentYear=1930
growth.c 135 proc_GetStopYear=1990
1931*** buffer overflow detected ***: /home/ercument/SLEUTH3.0beta_p01_linux/grow terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x74cde8]
/lib/tls/i686/cmov/libc.so.6[0x74be20]
/lib/tls/i686/cmov/libc.so.6[0x74b558]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0x9e)[0x6d559e]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xe1c)[0x6a995c]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xad)[0x74b60d]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x74b54d]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x805d243]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x8059bf5]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x805a23d]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x807080b]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x80727d7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x682b56]
/home/ercument/SLEUTH3.0beta_p01_linux/grow[0x8049151]
======= Memory map: ========
00164000-00188000 r-xp 00000000 08:06 2290 /lib/tls/i686/cmov/libm-2.10.1.so
00188000-00189000 r–p 00023000 08:06 2290 /lib/tls/i686/cmov/libm-2.10.1.so
00189000-0018a000 rw-p 00024000 08:06 2290 /lib/tls/i686/cmov/libm-2.10.1.so
0018b000-001a7000 r-xp 00000000 08:06 992 /lib/libgcc_s.so.1
001a7000-001a8000 r–p 0001b000 08:06 992 /lib/libgcc_s.so.1
001a8000-001a9000 rw-p 0001c000 08:06 992 /lib/libgcc_s.so.1
001d2000-001d3000 r-xp 00000000 00:00 0 [vdso]
0034d000-00368000 r-xp 00000000 08:06 942 /lib/ld-2.10.1.so
00368000-00369000 r–p 0001a000 08:06 942 /lib/ld-2.10.1.so
00369000-0036a000 rw-p 0001b000 08:06 942 /lib/ld-2.10.1.so
0066c000-007aa000 r-xp 00000000 08:06 2282 /lib/tls/i686/cmov/libc-2.10.1.so
007aa000-007ac000 r–p 0013e000 08:06 2282 /lib/tls/i686/cmov/libc-2.10.1.so
007ac000-007ad000 rw-p 00140000 08:06 2282 /lib/tls/i686/cmov/libc-2.10.1.so
007ad000-007b0000 rw-p 00000000 00:00 0
08048000-0807c000 r-xp 00000000 08:06 206764 /home/ercument/SLEUTH3.0beta_p01_linux/grow
0807c000-0807d000 r–p 00033000 08:06 206764 /home/ercument/SLEUTH3.0beta_p01_linux/grow
0807d000-08083000 rw-p 00034000 08:06 206764 /home/ercument/SLEUTH3.0beta_p01_linux/grow
08083000-080d2000 rw-p 00000000 00:00 0
09b4a000-09b6b000 rw-p 00000000 00:00 0 [heap]
b7496000-b77cd000 rw-p 00000000 00:00 0
b77da000-b77dd000 rw-p 00000000 00:00 0
bf860000-bf875000 rw-p 00000000 00:00 0 [stack]
Aborted

_______________

Ercument
Geo Newbie

5 comments on “grow test error: buffer overflow detected

  1. posted 04-21-2010 01:02 AM
    Check the LOG_0 file. This may need a constant to be reset in the source code.
    Keith Clarke

    kclarke
    Geo Member

  2. posted 04-26-2010 07:12 AM
    Thank’s a lot for your interest. I reinstalled Cygwin and now, SLEUTH is running under Windows. I think the reason of the problem is related my Linux version.

    Ercument
    Geo Newbie

  3. posted 04-29-2010 02:38 AM
    OK, glad it is working now. Which was the Linux version?
    Keith Clarke

    kclarke
    Geo Member

  4. posted 04-30-2010 11:55 AM
    The linux version was Ubuntu 9.10. Thank’s for your interests.

    Ercument
    Geo Newbie

  5. Hi Hossein

    We’ve been in contact outside of the forum, but I’d like once you have SLEUTH up and running to record your issues here. Please summarize when we are done.

    Keith Clarke

Leave a Reply