Page 1 of 1

Abnormal Program Termination (->Antonio)

PostPosted: Sat Sep 05, 2009 11:35 am
by byte-one
With new FWH- and Harbour version i becomes in some cases the message "Abnormal Program Termination" or the program hangs. But the same part of the program on next start is OK. I dont know, this behavior is from FWH or from Harbour.

Re: Abnormal Program Termination (->Antonio)

PostPosted: Sat Sep 05, 2009 1:22 pm
by Antonio Linares
Günther,

Could you build it using xHarbour so we may know if it is a compiler or a FWH issue ? thanks

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 8:22 am
by byte-one
I will test this. Is the make file and libs for xharbour the same as from harbour. (paths self-explanatory!)

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 9:07 am
by Antonio Linares
Günther,

Please review FWH\samples\buildx.bat

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 1:33 pm
by byte-one
Antonio, now in xharbour i see many errors "Call to function hb_xvmExitProc with no prototype in function ....".
Whats wrong in my make?

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 2:03 pm
by Antonio Linares
Günther,

What xHarbour version and build are you using ?

Where have you downloaded it from ?

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 2:45 pm
by byte-one
Antonio, the xharbour-version you provided with 9.08!
(build 1.2.1 (Simplex) (Rev. 6406)

Re: Abnormal Program Termination (->Antonio)

PostPosted: Mon Sep 07, 2009 3:33 pm
by Antonio Linares
Günther,

Are you able to reproduce that error building a FWH\samples PRG using xharbour ? thanks

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 10:36 am
by byte-one
Antonio, I found the bad thing!! :D
In my program i compile and link extra the modified xbrowse.prg with the last changes. If I not linked xbrowse.prg all is ok!

And a other lib should linked in the program: codepage.lib. In your makefile this lib is not available!

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 10:52 am
by Antonio Linares
Günther,

Is the problem already solved ?

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 11:05 am
by byte-one
Antonio, it seems that the problem with "abnormal...." is not present with Xharbour!

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 1:33 pm
by byte-one
Antonio, the problem with the hb_xvmExitProc is ONLY, if the xharbour -gc3 command line option is activated and i compile also the xbrowse.prg to my app! In harbour is this option ok.

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 1:35 pm
by Antonio Linares
Günther,

Why do you think that report.ch causes the trouble and not the modified xbrowse.prg ?

Re: Abnormal Program Termination (->Antonio)

PostPosted: Tue Sep 08, 2009 1:47 pm
by byte-one