Discussion:
[xHarbour-developers] A bug or my fault?
Enrico Maria Giordano
2016-11-23 15:38:06 UTC
Permalink
Why the following sample is crashing here? My fault or xHarbour bug?

FUNCTION MAIN()

USE NOTEXISTS

RETURN NIL


FUNCTION ERRORSYS()

ERRORBLOCK( { | e | DefError( e ) } )

RETURN NIL


STATIC FUNCTION DEFERROR( e )

? e:GenCode

QUIT

RETURN NIL

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Ron Pinkas
2016-11-23 17:33:38 UTC
Permalink
Should be fixed after:

2016-11-23 11:24 UTC-0600 Ron Pinkas <ron.pinkas/at/xharbour.com>
* source/vm/hvm.c
! Fixed gpf trap in hb_vmQuit() - afill of s_aStatics did not verify type array.
Post by Enrico Maria Giordano
Why the following sample is crashing here? My fault or xHarbour bug?
FUNCTION MAIN()
USE NOTEXISTS
RETURN NIL
FUNCTION ERRORSYS()
ERRORBLOCK( { | e | DefError( e ) } )
RETURN NIL
STATIC FUNCTION DEFERROR( e )
? e:GenCode
QUIT
RETURN NIL
EMG
--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
https://lists.sourceforge.net/lists/listinfo/xharbour-developers
------------------------------------------------------------------------------
Enrico Maria Giordano
2016-11-23 18:32:57 UTC
Permalink
Post by Ron Pinkas
2016-11-23 11:24 UTC-0600 Ron Pinkas <ron.pinkas/at/xharbour.com>
* source/vm/hvm.c
! Fixed gpf trap in hb_vmQuit() - afill of s_aStatics did not verify type array.
Thank you, Ron! :-)

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

------------------------------------------------------------------------------
Loading...