On Sun, 14 Sep 2008, Szak?ts Viktor wrote:

Hi Viktor,

> Can easily be that I'm doing something wrong, but I'm getting this:
> ---
> C:\harbour\bin>mttest07.exe
> Harbour 1.1.0dev Intl. (Rev. 9387)
> Main start
> Starting threads: <1><2><3><4><5>
> Sending jobs...
> Unrecoverable error 9022: Memory buffer overflow
> Called from HB_MUTEXNOTIFY(0)
> Called from MAIN(45) in mttest07.prg

It's my fault. Stupid typo in fm.c with memory statistic enabled - mutex was
set after realloc() not before so when realloc() returned new block and other
thread was linking or unlinking neighbor block then it was possible to corrupt
linked list of memory block. I'll commit fix 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