Problem with BitCount benchmark
[ID=0 of 1][PC=0x8000000][3.3E+00V, 6.0E+01MHz] cd "bitcount"
[ID=0 of 1][PC=0x8000000][3.3E+00V, 6.0E+01MHz] load small.m
Loading small.m...
Set memory size to 19531 Kilobytes
Loading S-RECORD to memory at address 0x8004000
[M] Done.
Function param "x" on stack, typename "long int", fn start=0x8004020,
frame offset=0, ptr=0
Stack var "n" in fn scope, typename "int", fn start=0x8004020, frame
offset=4, ptr=0
Function param "i" on stack, typename "long int", fn start=0x8004080,
frame offset=0, ptr=0
Function param "x" on stack, typename "long int", fn start=0x8004180,
frame offset=0, ptr=0
Function param "x" on stack, typename "long int", fn start=0x8004264,
frame offset=0, ptr=0
Stack var "U" in fn scope, typename "(null)", fn start=0x8004264,
frame offset=4, ptr=0
Function param "x" on stack, typename "long int", fn start=0x80042d4,
frame offset=0, ptr=0
Stack var "Ptr" in fn scope, typename "(null)", fn start=0x80042d4,
frame offset=4, ptr=0
Stack var "Accu" in fn scope, typename "int", fn start=0x80042d4,
frame offset=8, ptr=0
Function param "x" on stack, typename "long int", fn start=0x80043a0,
frame offset=0, ptr=0
Stack var "cnt" in fn scope, typename "int", fn start=0x80043a0, frame
offset=4,ptr=0
Function param "x" on stack, typename "long int", fn start=0x8004418,
frame offset=0, ptr=0
Stack var "cnt" in fn scope, typename "int", fn start=0x8004418, frame
offset=4,ptr=0
Function param "argc" on stack, typename "int", fn start=0x800460c,
frame offset=12, ptr=0
Function param "argv" on stack, typename "(null)", fn start=0x800460c,
frame offset=8, ptr=1
Stack var "start" in fn scope, typename "(null)", fn start=0x800460c,
frame offset=16, ptr=0
Stack var "stop" in fn scope, typename "(null)", fn start=0x800460c,
frame offset=20, ptr=0
Stack var "ct" in fn scope, typename "double", fn start=0x800460c,
frame offset=24, ptr=0
Stack var "cmin" in fn scope, typename "double", fn start=0x800460c,
frame offset=32, ptr=0
Stack var "cmax" in fn scope, typename "double", fn start=0x800460c,
frame offset=40, ptr=0
Stack var "i" in fn scope, typename "int", fn start=0x800460c, frame
offset=48,ptr=0
Stack var "cminix" in fn scope, typename "int", fn start=0x800460c,
frame offset=52, ptr=0
Stack var "cmaxix" in fn scope, typename "int", fn start=0x800460c,
frame offset=56, ptr=0
Stack var "j" in fn scope, typename "long int", fn start=0x800460c,
frame offset=60, ptr=0
Stack var "n" in fn scope, typename "long int", fn start=0x800460c,
frame offset=64, ptr=0
Stack var "seed" in fn scope, typename "long int", fn start=0x800460c,
frame offset=68, ptr=0
Stack var "iterations" in fn scope, typename "int", fn
start=0x800460c, frame offset=72, ptr=0
Function param "x" on stack, typename "long int", fn start=0x80048bc,
frame offset=0, ptr=0
Stack var "i" in fn scope, typename "int", fn start=0x80048bc, frame
offset=4, ptr=0
Stack var "n" in fn scope, typename "int", fn start=0x80048bc, frame
offset=8, ptr=0
Function param "name" on stack, typename "(null)", fn start=0x8004940,
frame offset=8, ptr=0
Function param "mode" on stack, typename "(null)", fn start=0x8004940,
frame offset=4, ptr=0
Stack var "bf" in fn scope, typename "(null)", fn start=0x8004940,
frame offset=12, ptr=0
Function param "bf" on stack, typename "(null)", fn start=0x80049f4,
frame offset=0, ptr=0
Function param "bit" on stack, typename "int", fn start=0x8004a88,
frame offset=4, ptr=0
Function param "bf" on stack, typename "(null)", fn start=0x8004a88,
frame offset=0, ptr=0
Function param "bf" on stack, typename "(null)", fn start=0x8004b3c,
frame offset=0, ptr=0
Function param "str" on stack, typename "(null)", fn start=0x8004b80,
frame offset=12, ptr=0
Function param "byze" on stack, typename "long int", fn
start=0x8004b80, frame offset=8, ptr=0
Function param "biz" on stack, typename "int", fn start=0x8004b80,
frame offset=4, ptr=0
Function param "strwid" on stack, typename "int", fn start=0x8004b80,
frame offset=0, ptr=0
Stack var "i" in fn scope, typename "int", fn start=0x8004b80, frame
offset=16,ptr=0
Stack var "j" in fn scope, typename "int", fn start=0x8004b80, frame
offset=20,ptr=0
Function param "cptr" on stack, typename "(null)", fn start=0x8004cb4,
frame offset=0, ptr=0
Stack var "i" in fn scope, typename "unsigned int", fn
start=0x8004cb4, frame offset=4, ptr=0
Stack var "j" in fn scope, typename "unsigned int", fn
start=0x8004cb4, frame offset=8, ptr=0
*** stack smashing detected ***: ./sf terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7f11548]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7f11500]
./sf[0x8059807]
./sf[0x8083700]
======= Memory map: ========
08048000-080ad000 r-xp 00000000 08:03 1637898 /home/yasir/
sunflowersim/sim/sf
080ad000-080ae000 r--p 00064000 08:03 1637898 /home/yasir/
sunflowersim/sim/sf
080ae000-080b1000 rw-p 00065000 08:03 1637898 /home/yasir/
sunflowersim/sim/sf
09ef6000-09f3f000 rw-p 09ef6000 00:00 0 [heap]
b43ca000-b56dd000 rw-p b56de000 00:00 0
b56dd000-b56de000 rw-p b56dd000 00:00 0
b66c2000-b66cf000 r-xp 00000000 08:03 1717063 /lib/libgcc_s.so.1
b66cf000-b66d0000 r--p 0000c000 08:03 1717063 /lib/libgcc_s.so.1
b66d0000-b66d1000 rw-p 0000d000 08:03 1717063 /lib/libgcc_s.so.1
b66de000-b7e17000 rw-p b66de000 00:00 0
b7e17000-b7f6f000 r-xp 00000000 08:03 1751473 /lib/tls/i686/cmov/
libc-2.8.90.so
b7f6f000-b7f71000 r--p 00158000 08:03 1751473 /lib/tls/i686/cmov/
libc-2.8.90.so
b7f71000-b7f72000 rw-p 0015a000 08:03 1751473 /lib/tls/i686/cmov/
libc-2.8.90.so
b7f72000-b7f76000 rw-p b7f72000 00:00 0
b7f76000-b7f8b000 r-xp 00000000 08:03 1751487 /lib/tls/i686/cmov/
libpthread-2.8.90.so
b7f8b000-b7f8c000 r--p 00014000 08:03 1751487 /lib/tls/i686/cmov/
libpthread-2.8.90.so
b7f8c000-b7f8d000 rw-p 00015000 08:03 1751487 /lib/tls/i686/cmov/
libpthread-2.8.90.so
b7f8d000-b7f8f000 rw-p b7f8d000 00:00 0
b7f8f000-b7fb3000 r-xp 00000000 08:03 1751477 /lib/tls/i686/cmov/
libm-2.8.90.so
b7fb3000-b7fb4000 r--p 00023000 08:03 1751477 /lib/tls/i686/cmov/
libm-2.8.90.so
b7fb4000-b7fb5000 rw-p 00024000 08:03 1751477 /lib/tls/i686/cmov/
libm-2.8.90.so
b7fc1000-b7fc4000 rw-p b7fc1000 00:00 0
b7fc4000-b7fde000 r-xp 00000000 08:03 1717257 /lib/
ld-2.8.90.so
b7fde000-b7fdf000 r-xp b7fde000 00:00 0 [vdso]
b7fdf000-b7fe0000 r--p 0001a000 08:03 1717257 /lib/
ld-2.8.90.so
b7fe0000-b7fe1000 rw-p 0001b000 08:03 1717257 /lib/
ld-2.8.90.so
bfccc000-bfce1000 rw-p bffeb000 00:00 0 [stack]
Aborted