<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  Could you try to delete the files generated by fp.exe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>before restarting it:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>fp.exe generates three files:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  -fp.ini<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> -fp.cfg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>and<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>fp.dsk<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Try first to only remove fp.dsk<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>and see if it cures your sigsegv or not.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  fp.dsk is a binary file that contains configuration information<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>that mighr be corrupted.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If remove fp.dsk alone does not remove the crash, try removing the three files.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Could you please report to the list if any of the above helped?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks in advance,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pierre Muller<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> fpc-pascal-bounces@lists.freepascal.org [mailto:fpc-pascal-bounces@lists.freepascal.org] <b>De la part de</b> Lubomír Cabla<br><b>Envoyé :</b> mercredi 18 septembre 2013 20:50<br><b>À :</b> FPC-Pascal users discussions<br><b>Objet :</b> Re: [fpc-pascal] FPC 2.6.2 for DOS/Go32V2 FP.EXE cannot run a second time<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>I am running pure DOS 7 from Windows 98 US, no drivers, no TSR programs.<o:p></o:p></p></div><div><p class=MsoNormal>Just <a href="http://COMMAND.COM">COMMAND.COM</a>, no AUTOEXEC.BAT and CONFIG.SYS.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Run<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>CWSDPMI -p -x<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>DPMI stays in memory, start FP.EXE - again SIGSEGV.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>But I found an interesting thing.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>When I run FP.EXE from FPC 1.0.11 (it started always O.K.),<o:p></o:p></p></div><div><p class=MsoNormal>nothing done, just exit program,<o:p></o:p></p></div><div><p class=MsoNormal>and then try run IDE from FPC 2.6.2 - the program starts!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><b>Further attempts to start IDE from FPC 2.6.2 causes an exception SIGSEV.</b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><b>If previously run IDE from FPC 1.0.11, then IDE from FPC 2.6.2 starts.</b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It is really funny...<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can you tell me where can I download source for IDE from FPC 2.6.2<o:p></o:p></p></div><div><p class=MsoNormal>and how to compile it?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I will try it when I have a free weekend.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Sep 18, 2013 at 8:52 AM, Tomas Hajny <<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>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.<o:p></o:p></p></div></div><p class=MsoNormal>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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>