>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> How should that be uninitialized? I even set it explicitly to
Andre> false (which is unneeded, as static bools gets
Andre> zero-initialized)

I don't know. That's why I wrote it may be bogus.

>> But these are probably more serious:
>> 
>> ==2426== Invalid read of size 4 ==2426== at 0x8179ECA:
>> InsetFormulaMacro::read(istream &)
>> (/usr/include/g++-3/stl_alloc.h:394) ==2426== by 0x8179DEC:
>> InsetFormulaMacro::read(Buffer const *, LyXLex &)
>> (../../../lyx-devel/src/mathed/formulamacro.C:113)

Andre> I just swapped two lines. Could you check whether this fixed
Andre> the problem?

No I can't, because I can run valgrind only at home. But you can do it
yourself :) Anyway, your fix seems reasonable.

JMarc

Reply via email to