On Wed, Feb 27, 2002 at 08:35:20PM +0100, Michael Schmitt wrote:

> >|     ==3527== Use of uninitialised CPU condition code
> >|     ==3527==    at 0x814407C: InsetExternal::doSubstitution(Buffer const 
> >*, lyxstring const &) const (insetexternal.C:238)
> >|     ==3527==    by 0x81445FD: InsetExternal::updateExternal(lyxstring 
> >const &, Buffer const *) const (insetexternal.C:290)
> >|     ==3527==    by 0x8143AE1: InsetExternal::write(lyxstring const &, 
> >Buffer const *, ostream &) const (insetexternal.C:149)
> >|     ==3527==    by 0x8143BD3: InsetExternal::ascii(Buffer const *, 
> >ostream &, int) const (insetexternal.C:164)
> 
> Not a crash in the sense that LyX says good-bye. But as you can see from 
> the backtrace above LyX tries to access memory that is not initialized 
> properly. IMHO this is almost equivalent to a crash.

It is indeed. Like I said Lars I think the problem is that InsetExternal looks at
Buffer::niceFile which is not initialised at that point. I think.

THe question is, if this can happen, what sense does looking at niceFile there
make ??

john

-- 
"This is just the kind of crackpot scheme I've been looking to champion!!!"
        - P.M. Hartke on 6U campaign

Reply via email to