Hi all,
I write because I am struggling with a very strange thing. I have this class:

static const long POINTS_VERY_FEW = 100;

class Bin2DSphere {
    /*! Class for 2-dimensional binning on a sphere */
    public:
        string Name;
        
        double PhiMin;          /* Minimum value of Phi */
        double PhiMax;          /* Maximum value of Phi */        
        double ThetaMin;        /* Minimum value of Theta */
        double ThetaMax;        /* Maximum value of Theta */     
        long Size;              /* Size of data */
        bool IsFilled;          /* Flag is TRUE if histogram has been filled */
        bool IsNormalized;      /* Flag is TRUE if histogram has been normalized */
        bool IsKernel;          /* Flag is TRUE if kernel technique is used */
        
        double NormalizationFactor;     /* Normalization factor */
        long *PhiBins;                  /* Number of bins in Phi */
        long *OPhiBins;                 /* Number of bins in Phi for kernel density */
        long ThetaBins;                 /* Number of bins in Theta */
        long OThetaBins;                /* Number of bins in Theta for kernel density */
        long Bins;                      /* Number of total bins */
        double Omega;                   /* Solid angle */
        double Theta;                   /* Angular scale covered by Omega */
        
        double **ParameterPhi;          /* Parameter Phi for binning */
        double *ParameterTheta;         /* Parameter Theta for binning */
        double **OParameterPhi;         /* Parameter Phi for overbinning */
        double *OParameterTheta;        /* Parameter Theta for overbinning */
        double **PDF;                   /* Probability distribution function */        
        //double CDF [];                   /* Cumulative distribution function */        
        double **KernelGaussian;        /* Gaussian kernel density estimate */
        
        int O;          /* Number of bins for resampling needed in Gaussian Kernel */
        double S;       /* Bandwith of Gaussian Kernel */
                
        Bin2DSphere () {
            /*! Default constructor */
            PhiBins = new long [POINTS_VERY_FEW];
            OPhiBins = new long [POINTS_VERY_FEW];
            ParameterPhi = new double*[POINTS_VERY_FEW];
            for (int i = 0; i < POINTS_VERY_FEW; ++i ) ParameterPhi[i] = new double [POINTS_VERY_FEW];

            OParameterTheta = new double [POINTS_VERY_FEW];
            OParameterPhi = new double*[POINTS_VERY_FEW];
            for (int i = 0; i < POINTS_VERY_FEW; ++i ) OParameterPhi[i] = new double [POINTS_VERY_FEW];

            ParameterTheta = new double [POINTS_VERY_FEW];
            PDF = new double*[POINTS_VERY_FEW];
            for (int i = 0; i < POINTS_VERY_FEW; ++i ) PDF[i] = new double [POINTS_VERY_FEW];

            //CDF = new double*[POINTS_FEW];            
            //for (int i = 0; i < POINTS_VERY_FEW; ++i ) CDF[i] = new double[POINTS_FEW];

            KernelGaussian = new double*[POINTS_VERY_FEW];
            for (int i = 0; i < POINTS_VERY_FEW; ++i ) KernelGaussian[i] = new double [POINTS_VERY_FEW];
            
            Name = "";
            O = 2;
            PhiMin = ThetaMin = 1e+100;
            PhiMax = ThetaMax = -1e+100;
            NormalizationFactor = -1e+100;
            IsFilled = FALSE;
            IsNormalized = FALSE;
            IsKernel = FALSE;
        };
        
        ~Bin2DSphere() {
            /*! Default destructor */
            //cerr << Name << ": BinSphere Destructor" << endl;
        }
        
        void Bin2DSphereFree() {
            /*! 
                Method to free allocated objects: code is not in the destructor 
                to avoid using deallocated memory 
            */
            
            cerr << "bin: 1" << endl;
            delete [] KernelGaussian[0];
            delete [] KernelGaussian;

            cerr << "bin: 2" << endl;
            delete [] PDF[0];
            delete [] PDF;
            
            cerr << "bin: 3" << endl;
            delete [] OParameterTheta;

            cerr << "bin: 4" << endl;
            delete [] OParameterPhi[0];
            delete [] OParameterPhi;

            cerr << "bin: 5" << endl;
            delete [] ParameterTheta;

            cerr << "bin: 6" << endl;
            delete [] ParameterPhi[0];
            delete [] ParameterPhi;

            cerr << "bin: 7" << endl;
            delete [] OPhiBins;

            cerr << "bin: 8" << endl;
            delete [] PhiBins;
            
            //cerr << Name << ": BinSphere Free" << endl;
            //delete [] CDF;    
        };
    }

and, in some piece of my main code, I have:

.....

            Bin2DSphere TargetDensity;
            Bin2DSphere (*ExpectedDensity) = new Bin2DSphere [POINTS_VERY_FEW];
            Bin2DSphere IsotropicDensity;

            ....

            /* Free objects */

            cerr << "3" << endl;
            IsotropicDensity.Bin2DSphereFree();
            cerr << "4" << endl;
            
            delete [] RMSIsotrop;
            delete [] MeanIsotrop;
            //delete [] IsoValue;

            for(l=MinBin; l<=MaxBin; l+=StepBin){
                ExpectedDensity[l].Name = "pippo";
                ExpectedDensity[l].Bin2DSphereFree();
            }
            cerr << "5" << endl;
            delete [] ExpectedDensity;
            
            cerr << "6" << endl;
            TargetDensity.Bin2DSphereFree();
            cerr << "7" << endl;

My code compiles and runs perfectly on Mac OS X:

Darwin NAME 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

g++ -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

on Ubuntu (proc. AMD64):

Linux NAME 2.6.27-17-generic #1 SMP Fri Mar 12 02:08:25 UTC 2010 x86_64 GNU/Linux

g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

and on

Linux NAME 2.6.24-28-generic #1 SMP Wed Nov 24 09:00:20 UTC 2010 x86_64 GNU/Linux

g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

But... it does not work on:

Linux NAME 2.6.24-28-generic #1 SMP Wed Nov 24 09:30:14 UTC 2010 i686 GNU/Linux

g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

The output of the few lines till the segmentation fault (the first part of the program works perfectly) is:

3
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
4
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
5
6
bin: 1
bin: 2
bin: 3
bin: 4
bin: 5
bin: 6
bin: 7
bin: 8
*** glibc detected *** SDAFp: double free or corruption (out): 0x0806b6e0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb752ab25]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb752e590]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb76f6b11]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xb76f6b6d]
SDAFp[0x8058980]
SDAFp[0x804f253]
SDAFp[0x804fc90]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb74d5450]
SDAFp(__gxx_personality_v0+0x9d)[0x8049f11]
======= Memory map: ========
08048000-08063000 r-xp 00000000 00:19 2555967973  /PATH/SDAFp
08063000-08064000 rw-p 0001b000 00:19 2555967973  /PATH/SDAFp
08064000-0a05c000 rw-p 08064000 00:00 0          [heap]
7e000000-7e021000 rw-p 7e000000 00:00 0 
7e021000-7e100000 ---p 7e021000 00:00 0 
7e134000-b74bf000 rw-p 7e134000 00:00 0 
b74bf000-b7608000 r-xp 00000000 08:02 1849396    /lib/tls/i686/cmov/libc-2.7.so
b7608000-b7609000 r--p 00149000 08:02 1849396    /lib/tls/i686/cmov/libc-2.7.so
b7609000-b760b000 rw-p 0014a000 08:02 1849396    /lib/tls/i686/cmov/libc-2.7.so
b760b000-b760e000 rw-p b760b000 00:00 0 
b760e000-b7618000 r-xp 00000000 08:02 1312900    /lib/libgcc_s.so.1
b7618000-b7619000 rw-p 0000a000 08:02 1312900    /lib/libgcc_s.so.1
b7619000-b761a000 rw-p b7619000 00:00 0 
b761a000-b763d000 r-xp 00000000 08:02 1849401    /lib/tls/i686/cmov/libm-2.7.so
b763d000-b763f000 rw-p 00023000 08:02 1849401    /lib/tls/i686/cmov/libm-2.7.so
b763f000-b7727000 r-xp 00000000 08:02 1284226    /usr/lib/libstdc++.so.6.0.9
b7727000-b772a000 r--p 000e8000 08:02 1284226    /usr/lib/libstdc++.so.6.0.9
b772a000-b772c000 rw-p 000eb000 08:02 1284226    /usr/lib/libstdc++.so.6.0.9
b772c000-b7732000 rw-p b772c000 00:00 0 
b7747000-b7749000 rw-p b7747000 00:00 0 
b7749000-b774a000 r-xp b7749000 00:00 0          [vdso]
b774a000-b7764000 r-xp 00000000 08:02 1313017    /lib/ld-2.7.so
b7764000-b7766000 rw-p 00019000 08:02 1313017    /lib/ld-2.7.so
bf959000-bf96e000 rw-p bffea000 00:00 0          [stack]
Aborted

Time for questions..:

1) Why does it work on some hardware/software configurations only?

2) Why the problem does not affect the program every time I call the Bin2DSphereFree() but just the last call, and in particular in the last delete [] of the method?

Thank you in advance for your help!

Recommended Answers

Check for buffer overruns and writing beyond the array bounds, which most likely will trash memory. This can be a tough job in large programs, so I'd start by commenting out large blocks of code until the problem disappears so that you can narrow down the problem.

Jump to Post

compile with symbols, execute `ulimit -c 1024` (will create a core dump when your program segfaults), then use gdb on the core dump, and tell it where your source files are so that it can tell you where the error originates.

How can you manage a 14k line program …

Jump to Post

First, your statements:

delete [] KernelGaussian[0];

are not correct, you need to traverse the array of pointers and delete each one of them, as so:

for(int i=0;i<POINTS_VERY_FEW;++i)
  delete [] KernelGaussian[i];

Second, you should set all the pointers to NULL after you free them and …

Jump to Post

All 10 Replies

Check for buffer overruns and writing beyond the array bounds, which most likely will trash memory. This can be a tough job in large programs, so I'd start by commenting out large blocks of code until the problem disappears so that you can narrow down the problem.

Check for buffer overruns and writing beyond the array bounds, which most likely will trash memory. This can be a tough job in large programs, so I'd start by commenting out large blocks of code until the problem disappears so that you can narrow down the problem.

Hi,
many thanks for your suggestion. However, I think it is a little bit difficult to apply it at the moment: the whole project is about 14000 lines of code distributed on 9 header files and strongly interconnected each other. Any other idea?

compile with symbols, execute `ulimit -c 1024` (will create a core dump when your program segfaults), then use gdb on the core dump, and tell it where your source files are so that it can tell you where the error originates.

How can you manage a 14k line program without having debugging skills?

compile with symbols, execute `ulimit -c 1024` (will create a core dump when your program segfaults), then use gdb on the core dump, and tell it where your source files are so that it can tell you where the error originates.

How can you manage a 14k line program without having debugging skills?

Probably I know where the problem originates, maybe I missed to write it explicitly. The problem is not where, but why. However, here is the backtrace from gdb:

Program received signal SIGABRT, Aborted.
0xb77bc410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb77bc410 in __kernel_vsyscall ()
#1 0xb755d085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb755ea01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7595c1c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb759db25 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0xb75a1590 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0xb7769b11 in operator delete () from /usr/lib/libstdc++.so.6
#7 0xb7769b6d in operator delete[] () from /usr/lib/libstdc++.so.6
#8 0x080505b4 in Bin2DSphere::Bin2DSphereFree (this=0xbf968f5c) at src/SDBinning.h:1102
#9 0x0805c850 in StatisticsMAF::Estimate (this=0xbf969150, Target=@0xbf969080, MC=1000, MinBin=4, MaxBin=45, StepBin=1, SSMEAR=0, RESHUFFLE_FLAG=false)
at src/SDStatistics.h:1183
#10 0x0804e87c in Anisotropy (File=@0xbf969240, CX=1, CY=2, CE=0, CU=0, Nmin=4, Nmax=45, Nstep=1, CL=1000, X=@0xbf96923c, Y=@0xbf969238, EXPOSURE=@0xbf969234,
EXPOSURE_FILE=@0xbf969230, SSMEAR=0, RESHUFFLE_FLAG=false, MASK=-1) at src/SDAFp.c:51
#11 0x0804f065 in main (argc=5, argv=0xbf969334) at src/SDAFp.c:252

First, your statements:

delete [] KernelGaussian[0];

are not correct, you need to traverse the array of pointers and delete each one of them, as so:

for(int i=0;i<POINTS_VERY_FEW;++i)
  delete [] KernelGaussian[i];

Second, you should set all the pointers to NULL after you free them and check that they are not NULL before you free them. As so, for example:

if(KernelGaussian) {
  for(int i=0;i<POINTS_VERY_FEW;++i)
    delete [] KernelGaussian[i];
  delete[] KernelGaussian;
  KernelGaussian = NULL;
};

These changes should, at least, make your code a bit less error-prone. To be much less error-prone, I would suggest you use std::vector for all those arrays instead (this way you won't even need the Free function).

If that is not an option and you want to debug what you have, I would suggest you run it in ValGrind to really see what you are doing wrong with the memory management. From the code you have posted, I can't see the real source of the error. The value of PhiBins must have gotten corrupted somewhere else (maybe a simple typo like "if(PhiBins = NULL)" instead of the double equal sign).

BTW, you are missing the most important compilation flag in the command-lines you have posted, that is: "-Wall". If you didn't put it because it issued to many warnings, then that is very bad, enable it and take care of all the warnings. Then, debug!

First, your statements:

delete [] KernelGaussian[0];

are not correct, you need to traverse the array of pointers and delete each one of them, as so:

for(int i=0;i<POINTS_VERY_FEW;++i)
  delete [] KernelGaussian[i];

Second, you should set all the pointers to NULL after you free them and check that they are not NULL before you free them. As so, for example:

if(KernelGaussian) {
  for(int i=0;i<POINTS_VERY_FEW;++i)
    delete [] KernelGaussian[i];
  delete[] KernelGaussian;
  KernelGaussian = NULL;
};

These changes should, at least, make your code a bit less error-prone. To be much less error-prone, I would suggest you use std::vector for all those arrays instead (this way you won't even need the Free function).

If that is not an option and you want to debug what you have, I would suggest you run it in ValGrind to really see what you are doing wrong with the memory management. From the code you have posted, I can't see the real source of the error. The value of PhiBins must have gotten corrupted somewhere else (maybe a simple typo like "if(PhiBins = NULL)" instead of the double equal sign).

BTW, you are missing the most important compilation flag in the command-lines you have posted, that is: "-Wall". If you didn't put it because it issued to many warnings, then that is very bad, enable it and take care of all the warnings. Then, debug!

Thanks, I agree on the first part, I will fix that one in the next minutes. FOr the second part of your answer, you will be happy to know that I compile with this line:

g++ src/SDAFp.c -o bin32/SDAFp -Wall

and there are NO warnings.

But overall.. (and here comes the magic) when I run the program with Valgrind, it works perfectly and produce the desired output. Strange, isn't it?

And does Valgrind report any memory leaks, dangling pointers, etc.?

And does Valgrind report any memory leaks, dangling pointers, etc.?

Here:

==26477== Warning: set address range perms: large range 320000036 (noaccess)
==26477== Warning: set address range perms: large range 320000036 (noaccess)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A2E5F: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A2ED1: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x419CA4F: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A2F01: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A2F69: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3B78: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x41A42E9: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419B9C0: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419B9C8: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x41A431D: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A440A: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A43F7: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A44F4: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BE30: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A4516: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BE37: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A4516: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BE40: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A4516: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x41A451F: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A452F: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419B9FC: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BA10: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BA16: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BA1A: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BA20: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BA28: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== More than 100 errors detected.  Subsequent errors
==26477== will still be recorded, but in less detail than before.
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x41A2913: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A3795: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BE30: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A292C: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A3795: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x419BE37: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A292C: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A3795: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A37A1: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Use of uninitialised value of size 4
==26477==    at 0x41A2913: (within /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41A37CD: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A37D1: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3885: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A397E: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3A2C: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3B34: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3B16: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A37DA: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB81: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3802: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB81: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A380B: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB81: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A383F: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB81: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A3850: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB81: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Syscall param write(buf) points to uninitialised byte(s)
==26477==    at 0x40007F2: (within /lib/ld-2.7.so)
==26477==    by 0x4099298: std::basic_filebuf<char, std::char_traits<char> >::_M_convert_to_external(char*, int) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x4099C3A: std::basic_filebuf<char, std::char_traits<char> >::overflow(int) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x4098B76: std::basic_filebuf<char, std::char_traits<char> >::sync() (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C41D1: std::ostream::flush() (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C60A8: std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C36BE: std::ostream::operator<<(std::ostream& (*)(std::ostream&)) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FBF7: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477==  Address 0x42b2b1f is 15 bytes inside a block of size 8,192 alloc'd
==26477==    at 0x4022F14: operator new[](unsigned) (vg_replace_malloc.c:268)
==26477==    by 0x40987EB: std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x409C231: std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x409C3A5: std::basic_ofstream<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804F9FB: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDAFp)
==26477== 
==26477== Conditional jump or move depends on uninitialised value(s)
==26477==    at 0x41A382E: __printf_fp (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x419E563: vfprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x41C2CA3: vsnprintf (in /lib/tls/i686/cmov/libc-2.7.so)
==26477==    by 0x40AC75B: (within /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BAC9B: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40BB1B4: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, double) const (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C656F: std::ostream& std::ostream::_M_insert<double>(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x40C66F3: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.9)
==26477==    by 0x804FB3D: StatisticsMAF::Print(std::string) (in /projects/sdaf/SDAFp)
==26477==    by 0x804E89F: Anisotropy(std::string, int, int, int, int, long, long, long, double, std::string, std::string, std::string, std::string, double, bool, int) (in /projects/sdaf/SDAFp)
==26477==    by 0x804F064: main (in /projects/sdaf/SDA

May I help you if I tell you that this problem raised just on yesterday, after an update of the OS? Before the update, the program worked perfectly.

Yeah... your valgrind seems alright.

It definitely seems like its an OS problem of some sort. You might wanna use an older or newer kernel on your computer (like a RC version from a backport).

I'm not so familiar with architecture compatibilities, but have you noticed that the faulty build shows that your kernel is for i686 and you are building for target i486 (is that voluntary or could it be the cause of the problem).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.