[fpc-pascal] FPC 2.6.4 for GO32
Pierre Free Pascal
pierre at freepascal.org
Sat Mar 29 13:32:31 CET 2014
> -----Message d'origine-----
> De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] De la part de Lubomír Cabla
> Envoyé : vendredi 28 mars 2014 23:21
> À : FPC-Pascal users discussions
> Objet : Re: [fpc-pascal] FPC 2.6.4 for GO32
>
> I have only good news...
Great !
> The window list with ALT+0 works, good job, thank you.
> Yes, I am using the option -Cr just for debugging purpose.
>
> >Did you try to use -O- to recompile all rtl/packages
> >to rule out optimization error?
>
> Not yet, because I found the cause of the freezing program FP.EXE
> when I use trace key F7 or run program with breakpoint(s).
>
> The cause is CWSDPMI.EXE r7.
>
> If I use an earlier version CWSDPMI.EXE r5 or another DPMI server
> (hdpmi32.exe)
> everything works as it should!
>
> Some users reported a bug to me (using new CWSDPMI r7)
>
> Page Fault cr2=00400000 at eip=419; flags=3206
> Eax=00000300 ebx=00330021 ecx=000000a6 edx=bfeb00bf esi=00000000
> edi=00000000
> Ebp=00000001 esp=00003ffa cs=87 ds=bf es=b7 fs=0 gs=0 ss=a7 error=0006
>
> The explanation on http://www.delorie.com/djgpp/v2faq/faq12_2.html:
>
> "This usually means the program tried to access some data via a NULL or
> an uninitialized pointer."
>
> But using CWSDPMI.EXE r5 or hdpmi32.exe no error occurs (with the same
> program).
No idea what could trigger that behavior change...
I never tested cwsdpmi r7...
> SUMMARY:
>
> Thank you very much, now I am happy because everything works including
> the possibility of debugging.
>
> I'll do more tests but I assume that everything will be fine.
Great, please report all findings!
Pierre Muller
More information about the fpc-pascal
mailing list