On Mon, 29 Jun 2009, Szak�ts Viktor wrote:
> There seem to be some problem around hb_fsNameConv().
> Here is valgrind on Darwin output:
> ==41669== Invalid write of size 1
> ==41669==    at 0x297590: hb_strncat (in ./ep)
> ==41669==    by 0x293A73: hb_fsFNameMerge (in ./ep)
> ==41669==    by 0x36AAEC: hb_fsNameConv (in ./ep)
> ==41669==    by 0x293C18: hb_fsFileExists (in ./ep)
> ==41669==    by 0x371FB9: HB_FUN_HB_FILEEXISTS (in ./ep)
> ==41669==    by 0x2F5811: hb_vmProc (in ./ep)
> ==41669==    by 0x2F60D6: hb_xvmFunction (in ./ep)
> ==41669==    by 0x1B0961: HB_FUN_LOG_OPEN (in ./ep)
> ==41669==    by 0x2F5811: hb_vmProc (in ./ep)
> ==41669==    by 0x2F60D6: hb_xvmFunction (in ./ep)
> ==41669==    by 0x1AFDD0: HB_FUN_LOGADDEVENT (in ./ep)
> ==41669==    by 0x2F5811: hb_vmProc (in ./ep)
> ==41669==    by 0x2AA8CB: hb_vmExecute (in ./ep)
> ==41669==    by 0x8334: HB_FUN_MAIN (in ./ep)
> ==41669==    by 0x2F5811: hb_vmProc (in ./ep)
> ==41669==    by 0x2FF793: main (in ./ep)
> ==41669==  Address 0x195fcaa is not stack'd, malloc'd or (recently) free'd

Bingo - memory corruption which happens when OS CP conversion is enabled.
Thank you for the log. I'll fix it in a while.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to