Skip to Content.
Sympa Menu

ndt-users - Re: buffer overflow detected

Subject: ndt-users list created

List archive

Re: buffer overflow detected


Chronological Thread 
  • From: Maurice Volaski <>
  • To: Richard Carlson <>
  • Cc:
  • Subject: Re: buffer overflow detected
  • Date: Fri, 13 Mar 2009 12:14:14 -0400

At 8:36 AM -0500 3/13/09, Richard Carlson wrote:
Hi Maurice;

OK, how much memory and disk space did you give this VM?

The crash is occurring with the following true:
Mem: 1013016k total, 592708k used, 420308k free, 214052k buffers
Swap: 2048276k total, 0k used, 2048276k free, 198848k cached
Disk space available is 7.6G

This seems to be irrelevant. I booted the machine with double memory, and it still crashed. When I blew away the websrv log file, it launched just fine.

On Mar 12, 2009, at 6:37 PM, Maurice Volaski wrote:

Hi again,

I found another problem as I'm frequently stopping and starting the server. It seems to be related to log file. It keeps crashing until I erase it.

ANL/Internet2 NDT ver 3.5.0
Variables file = /usr/local/ndt/web100_variables
log file = /var/log/web100_web100srv.log
Admin file = /usr/local/ndt/admin.html
Debug level set to 3
server ready on port 3001
web100_init() read 69 variables from file
*** buffer overflow detected ***: /usr/local/sbin/web100srv terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f4f5e8b7d97]
/lib/libc.so.6[0x7f4f5e8b5b70]
/lib/libc.so.6(__fgets_chk+0x18f)[0x7f4f5e8b5f4f]
/usr/local/sbin/web100srv[0x40d48d]
/usr/local/sbin/web100srv[0x4070df]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f4f5e7f15c6]
/usr/local/sbin/web100srv[0x4034f9]
======= Memory map: ========
00400000-00420000 r-xp 00000000 08:03 830302 /config/local/sbin/web100srv
0061f000-00620000 r--p 0001f000 08:03 830302 /config/local/sbin/web100srv
00620000-00621000 rw-p 00020000 08:03 830302 /config/local/sbin/web100srv
00621000-00656000 rw-p 00621000 00:00 0 [heap]
7f4f5e5bd000-7f4f5e5d2000 r-xp 00000000 08:03 675767 /lib64/libgcc_s.so.1
7f4f5e5d2000-7f4f5e7d1000 ---p 00015000 08:03 675767 /lib64/libgcc_s.so.1
7f4f5e7d1000-7f4f5e7d2000 r--p 00014000 08:03 675767 /lib64/libgcc_s.so.1
7f4f5e7d2000-7f4f5e7d3000 rw-p 00015000 08:03 675767 /lib64/libgcc_s.so.1
7f4f5e7d3000-7f4f5e91e000 r-xp 00000000 08:03 823029 /lib64/libc-2.9.so
7f4f5e91e000-7f4f5eb1e000 ---p 0014b000 08:03 823029 /lib64/libc-2.9.so
7f4f5eb1e000-7f4f5eb22000 r--p 0014b000 08:03 823029 /lib64/libc-2.9.so
7f4f5eb22000-7f4f5eb23000 rw-p 0014f000 08:03 823029 /lib64/libc-2.9.so
7f4f5eb23000-7f4f5eb28000 rw-p 7f4f5eb23000 00:00 0
7f4f5eb28000-7f4f5eb3e000 r-xp 00000000 08:03 822551 /lib64/libpthread-2.9.so
7f4f5eb3e000-7f4f5ed3e000 ---p 00016000 08:03 822551 /lib64/libpthread-2.9.so
7f4f5ed3e000-7f4f5ed3f000 r--p 00016000 08:03 822551 /lib64/libpthread-2.9.so
7f4f5ed3f000-7f4f5ed40000 rw-p 00017000 08:03 822551 /lib64/libpthread-2.9.so
7f4f5ed40000-7f4f5ed44000 rw-p 7f4f5ed40000 00:00 0
7f4f5ed44000-7f4f5edc6000 r-xp 00000000 08:03 823049 /lib64/libm-2.9.so
7f4f5edc6000-7f4f5efc5000 ---p 00082000 08:03 823049 /lib64/libm-2.9.so
7f4f5efc5000-7f4f5efc6000 r--p 00081000 08:03 823049 /lib64/libm-2.9.so
7f4f5efc6000-7f4f5efc7000 rw-p 00082000 08:03 823049 /lib64/libm-2.9.so
7f4f5efc7000-7f4f5eff7000 r-xp 00000000 08:03 512395 /usr/lib64/libpcap.so.1.0.0
7f4f5eff7000-7f4f5f1f7000 ---p 00030000 08:03 512395 /usr/lib64/libpcap.so.1.0.0
7f4f5f1f7000-7f4f5f1f8000 r--p 00030000 08:03 512395 /usr/lib64/libpcap.so.1.0.0
7f4f5f1f8000-7f4f5f1f9000 rw-p 00031000 08:03 512395 /usr/lib64/libpcap.so.1.0.0
7f4f5f1f9000-7f4f5f1fa000 rw-p 7f4f5f1f9000 00:00 0
7f4f5f1fa000-7f4f5f200000 r-xp 00000000 08:03 837588 /config/local/lib/libweb100.so.0.3.2
7f4f5f200000-7f4f5f3ff000 ---p 00006000 08:03 837588 /config/local/lib/libweb100.so.0.3.2
7f4f5f3ff000-7f4f5f400000 r--p 00005000 08:03 837588 /config/local/lib/libweb100.so.0.3.2
7f4f5f400000-7f4f5f401000 rw-p 00006000 08:03 837588 /config/local/lib/libweb100.so.0.3.2
7f4f5f401000-7f4f5f41e000 r-xp 00000000 08:03 823032 /lib64/ld-2.9.so
7f4f5f60e000-7f4f5f612000 rw-p 7f4f5f60e000 00:00 0
7f4f5f61a000-7f4f5f61d000 rw-p 7f4f5f61a000 00:00 0
7f4f5f61d000-7f4f5f61e000 r--p 0001c000 08:03 823032 /lib64/ld-2.9.so
7f4f5f61e000-7f4f5f61f000 rw-p 0001d000 08:03 823032 /lib64/ld-2.9.so
7fff6760a000-7fff6761f000 rw-p 7ffffffea000 00:00 0 [stack]
7fff677ff000-7fff67800000 r-xp 7fff677ff000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Signal 6 received by process 7276
Aborted

--

Maurice Volaski,

Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University

Richard Carlson

1000 Oakbrook Dr
Ann Arbor, MI 48104

P: 734-352-7043
C: 630-251-4572


--

Maurice Volaski,

Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University



Archive powered by MHonArc 2.6.16.

Top of Page