Hi,

On 2010.05.18 15:00, Przemysław Czerpak wrote:
3 similar samples with different error, so, perhaps we have memory
corruption here.

This is expected and documented few times on this list behavior.
Of course it's a bug but it cannot be well fixed without very serious
modifications in RDD code and all code (also 3-rd part one) which
access any RDD methods.
It's necessary to introduce sth like:

    pArea = hb_rddLockCurrentArea();
    [...] // any RDD methods
    hb_rddFreeArea( pArea );

hb_rddLockCurrentArea()/hb_rddLockArea(iArea) will increase
reference counter and hb_rddFreeArea() will decrease it.
non zero reference counter will delay releasing the pArea
structure until hb_rddFreeArea() will set it to 0.

Thank You. I though it could something like:

2010-03-15 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! fixed bad copy and past typo which could cause internal error when
new index using existing order (subindex) was created without ADDITIVE
      clause. Bug reported by Mindaugas - many thanks for the information.

because we found this bug in a similar way in the same project.


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

Reply via email to