[Lazarus] Access violation in build_lcl_docs --outfmt chm

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 2 00:39:44 CET 2012


On Thu, 01 Mar 2012 18:15:39 -0500
Andrew Haines <AndrewD207 at aol.com> wrote:

> On 03/01/12 13:51, Mattias Gaertner wrote:
> > On Thu, 01 Mar 2012 17:31:47 +0100
> > Thomas Moritz <thm_ml at thmoritz.de> wrote:
> > 
> >> Hello,
> >>
> >> this is the output:
> >>
> >> HTML Files written. Collecting other files and compressing...this could take some time
> >> Generating Table of contents...
> >> Generating Index...
> >> Finishing compressing...
> >> Exception at 00000000004FFF6F: EAccessViolation:
> >> Access violation.
> >>
> >> 'lcl.chm' has 0 Byte
> >>
> >> openSUSE 12.1 x86_64
> >> fpc 2.7.1 svn 20450
> >> lazarus svn 35641
> > 
> > It is a bug in the 2.7.1 version of the chmwriter.
> > Can you create a backtrace?
> > 
> > Maybe Andrew Haines can help.
> > 
> 
> I managed to reproduce this. I cannot look into it for a couple of days
> though. I wonder if something has changed in fpc because it worked until
> I updated all of fpc but my chm folder was already up to date.

Compile with -Criot and check all places where widestrings and
ansistrings come together.

Mattias




More information about the Lazarus mailing list