Just getting started using fpvectorial to create .docx and .odt files and found that the most basic 'Hello World' examples raised a sigsev error using Document.WriteToFile in vfDOCX mode. vfODT worked fine. Stepping through I found it was falling over here
Procedure TvDOCXVectorialWriter.WriteToStream(AStream: TStream;
AData: TvVectorialDocument);
...
For i := 0 To FFiles.Count - 1 Do
oZip.Entries.AddFileEntry(FFiles[i].Stream, FFiles[i].Path); //sigsev fault here
but it ran and produced sensible output if I added 'inherited' to the TIndentedStringList constructor:
Constructor TIndentedStringList.Create;
Begin
inherited; //This is absent in fpc source
FIndent := '';
FIndentSteps := ' ';
End;
Could it be that line (or sthg similar) has just fallen off the source code somewhere ? Or might I have some more subtle problem causing this behaviour? The current installation is being used for several other projects, some quite large, and nothing similar has appeared elsewhere so far.
Lazarus 2.0.10 fpc 3.2.0 MX Linux x86_64