On Fri, 07 Nov 2008, David Arturo Macias Corona wrote:

Hi David,

> Take note: I changed C code myself   :-)

Thanks :-)

[...]
> 14. hb_vmDo()
> 15. hb_vmDo()
> 16. hb_vmDo()   <-- note 18 ?
> SYS1808:
> The process has stopped.  The software diagnostic
> code (exception code) is  0001.

So it will crashes inside hb_vmExecute()
Please try to commenct line 1127 in hvm.c
         hb_inkeyPoll();
to eliminate yet another possibly danger place and make test.
Farther tracing using this methods will not be effective.
hb_vmExecute() operates on too many functions.
It will be necessary to use OpenWatcom debugger or enable
Harbour tracing. Please look at doc/tracing.txt.
It's not MT fully safe so some line numbers and/or file names
can be wrong but rest should be correct and enough of us. Of
course if fileio in MT safe in OpenWatcom.
Recompile Harbour using HB_TR_LEVEL_DEBUG macro. Make
   set C_USR=-DHB_TR_LEVEL_DEBUG
and rebuild Harbour and test code.
Then before you execute test application make:
  set HB_TR_LEVEL=HB_TR_DEBUG
  set HB_TR_FLUSH=1
  set HB_TR_OUTPUT=trace.log

It should generate trace.log file with called functions.
Please compress this file and send it to my private e-mail.

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

Reply via email to