Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-05

FPDOC crashes if built with fpc 2.1.1

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

If I use fpc 2.1.1 to compile fpdoc on linux and use that to create the rtl docs, I get the following error:

An unhandled exception occurred at $080503F7 :
EOutOfMemory : Out of memory
$080503F7 NEWWIDESTRING, line 170 of
/home/vsds/lazarus/source/fpc/2.1/rtl/inc/wstrings.inc $080C9C60 TXMLREADER__PARSEMISC, line 763 of xmlread.pp $080CB725 READXMLFILE

I used the compiler options "-ghl" parameters.

I don't understand why a new string is allocated at that place in ParseMisc and I don't understand why at the end of newwidestring this error is raised.

Vincent

Reply by email

Vincent Snijders
to Vincent Snijders
Vincent Snijders wrote 17 lines
Hi, If I use fpc 2.1.1 to compile fpdoc on linux and use that to create the rtl docs, I get the following error: An unhandled exception occurred at $080503F7 : EOutOfMemory : Out of memory $080503F7 NEWWIDESTRING, line 170 of /home/vsds/lazarus/source/fpc/2.1/rtl/inc/wstrings.inc $080C9C60 TXMLREADER__PARSEMISC, line 763 of xmlread.pp $080CB725 READXMLFILE I used the compiler options "-ghl" parameters. I don't understand why a new string is allocated at that place in ParseMisc and I don't understand why at the end of newwidestring this error is raised.

On windows this error doesn't occur, maybe because the widestring implementation is different on windows than on linux.

Vincent

Reply by email