Re: Bus error when writing in a typed file

Waldek Hebisch <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
> 
> Le 17/11/2012 16:13, Baudouin Le Charlier a =E9crit :
> >   I am using a Mac OS X 10.6.8. I have downloaded GNU Pascal for Mac Os f=
> romhttp://www.microbizz.nl/gpc.html. I have been using GNU Pascal for writi=
> ng very simple programs for an introductory programming course and it worke=
> d fine until I wrote the following program for which I got a "bus error" wh=
> en writing a first record in the file (at line 128). Notice that the progra=
> m executes without errors when compiled with free pascal compiler.
> 
> It works also with old BP !
> I find the same error (SIGSEGV) under DJGPP, MingW and Linux 64bits
> Seems to be a serious bug of GPC.

Hmm, quick test with Debian gpc did not produce a crash.  It certainly
would help to have example without a lot of interaction.


-- 
                              Waldek Hebisch
[email protected] 

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.