Andre Poenitz wrote:
> New Doc, Layout->Doceument->Save as Document Defaults, Yes. Boom.
> 
> Does anybody else see this?

This is how far I can trace this bug:

The offending action goes as follows:

FormDocument.C: saveParamsAsDefault(BufferParams const &params)
     its last statement is "return defaults.writeFile(defaults.fileName())"

buffer.C: Buffer::writeFile(string const & fname) const
      this has these lines:
        ParagraphList::iterator pit = paragraphs.begin();
        ParagraphList::iterator pend = paragraphs.end();
        for (; pit != pend; ++pit)
                pit->write(this, ofs, params, depth);

Here it explodes.
"pend" is NULL pointer, but I don't think that's the problem.
Something goes very wrong with "pit->write".


Is this of any help?

Regards,
Rob.

Reply via email to