<div dir="ltr"><div>I am running pure DOS 7 from Windows 98 US, no drivers, no TSR programs.</div><div>Just <a href="http://COMMAND.COM">COMMAND.COM</a>, no AUTOEXEC.BAT and CONFIG.SYS.</div><div><br></div><div>Run</div><div>
<br></div><div>CWSDPMI -p -x</div><div><br></div><div>DPMI stays in memory, start FP.EXE - again SIGSEGV.</div><div><br></div><div>But I found an interesting thing.</div><div><br></div><div>When I run FP.EXE from FPC 1.0.11 (it started always O.K.),</div>
<div>nothing done, just exit program,</div><div>and then try run IDE from FPC 2.6.2 - the program starts!</div><div><br></div><div><b>Further attempts to start IDE from FPC 2.6.2 causes an exception SIGSEV.</b></div><div>
<b><br></b></div><div><b>If previously run IDE from FPC 1.0.11, then IDE from FPC 2.6.2 starts.</b></div><div><br></div><div>It is really funny...</div><div><br></div><div>Can you tell me where can I download source for IDE from FPC 2.6.2</div>
<div>and how to compile it?</div><div><br></div><div>I will try it when I have a free weekend.</div><div><br></div><div>Thank you.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 8:52 AM, Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, September 17, 2013 20:57, Lubomír Čabla wrote:<br>
> FPC 2.6.2 for DOS/Go32V2<br>
><br>
> There is the fatal IDE unstability in FPC 2.6.2 under pure DOS.<br>
><br>
> IDE almost always starts only first time (after installation or reboot).<br>
> I start the IDE, compile and run the program (e.g. Hello.pas) and close<br>
> IDE. But when I want to start IDE again it crashes with SIGSEGV message.<br>
><br>
> Exiting due to signal SIGSEGV<br>
> FPC General Protection Fault at eip=006EDE95<br>
> eax=65672D6C ebx=0000002A ecx=00000088 edx=00000000 esi=008E91F8<br>
> edi=0083B504<br>
> ebp=008C0CA0 esp=008C0C90 program=C:\PP\BIN\GO32V2\FP.EXE<br>
> cs: sel=00A7 base=00400000 limit=008EFFFF<br>
> ds: sel=00AF base=00400000 limit=008EFFFF<br>
> es: sel=00AF base=00400000 limit=008EFFFF<br>
> fs: sel=00C7 base=00000000 limit=0010FFFF<br>
> gs: sel=00C7 base=00000000 limit=0010FFFF<br>
> ss: sel=00AF base=00400000 limit=008EFFFF<br>
><br>
> Call frame traceback EIPs:<br>
> $006EDE95<br>
> $005BD905<br>
> $005BCD84<br>
> $005BC83D<br>
> $005BC7F8<br>
> $00308AF8<br>
> $0030B9F4<br>
> $0002DB50<br>
> $0002DC5A<br>
> $00002040<br>
><br>
> To be able to start IDE again in DOS I have to reboot the computer.<br>
> I think IDE set something in memory and warm restart does not erase the<br>
> memory contents.<br>
><br>
> Compilation from command prompt with FPC.EXE works everywhere.<br>
> But IDE is good for debugging and help.<br>
><br>
> Can someone please help me or advise what I'm doing wrong.<br>
><br>
> The main problem is running IDE in pure DOS.<br>
<br>
</div></div>Which DOS version is it? Is there any DPMI provider running before<br>
starting the IDE (some DOS versions include DPMI host themselves)?<br>
<br>
If there is no other DPMI host (running) and thus CWSDPMI.EXE is used, I'd<br>
recommend starting with a check whether there is just one (the latest)<br>
CWSDPMI.EXE and just for test purposes try loading it into memory as TSR<br>
with options "-p -x" (see cwsdpmi.txt included in directory doc\fpc) to<br>
see if it makes any difference.<br>
<br>
Obviously, the next step would be compiling the IDE with debug information<br>
(including -gl) to see where exactly it fails.<br>
<br>
Tomas<br>
<br>
<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>