On Wed, 13 May 2009, Szak�ts Viktor wrote:

Hi,

> An even simpler one:---
> PROCEDURE Main()
>    LOCAL oBrowse, tmp
>    oBrowse := TBrowseNew( 0, 0, MaxRow(), MaxCol() )
>    oBrowse:addColumn( TBColumnNew( "a", {|| "b" } ) )
>    tmp := oBrowse:getColumn( 1 )
>    tmp := oBrowse:colWidth( 1 ) + Len( oBrowse:colSep )
>    RETURN
> > I could reduce the bug to this small example, important that
> > it only happens with -gc3:

It could be even much simpler.
The bug is inside HVM and it's caused my missing hb_itemClear() call
in some cases. It can be exploited also with -gc0/2 output but it
needs different code.
Many thanks for information and code exampled.
I've just committed the fix.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to