On Tue, 02 Feb 2010, Lorenzo Fiorini wrote:
> BTW did you see my msg "Help with segfaults with MT and hb_hrbload?"
> I've created a test with pure prg code but I still get random errors.
> Any suggestion?

Use valgrind to locate the problem.
Such random GPFs can be results of memory corruptions by some other
errors, i.e. buffer overflows or using some uninitialized memory.
Valgrind should precisely show where the problem is:

   valgrind --tool=memcheck --leak-check=yes --num-callers=16 -v \
            ./myapp 2> myapp.log

If you want to see information about source file names and line numbers
then just like for GDB do not strip final binaries and compile Harbour
code with -g GCC flag.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to