> Maybe it is a good starting point to have a look MathArray::MathArray...?
The constructor is ok. It's probably one of the MathArray::insert() thingys
that overwrite one or two of the embedded MathInset *...
I cannot really read this output, maybe you could give a hint why you think
that the constructort is the problem?
> ******************
>
> MLK: 10800 bytes leaked in 3 blocks
> This memory was allocated from:
> malloc [rtlib.o]
> __malloc_alloc_template<0>::allocate(unsigned int)
> [stl_alloc.h:157]
> allocate__t24__default_alloc_template2b0i0Ui
> [stl_alloc.h:407]
>
> allocate__t12simple_alloc2Z10MathXArrayZt24__default_alloc_template2b0i0Ui
> [stl_alloc.h:228]
>
> _M_allocate__t18_Vector_alloc_base3Z10MathXArrayZt9allocator1Z10MathXArrayb1Ui
> [stl_vector.h:93]
>
>
>_Vector_base<MathXArray,allocator<MathXArray>>::_Vector_base<MathXArray,allocator<MathXArray>>(unsigned
> int,const allocator<MathXArray>&) [stl_vector.h:110]
>
>
>vector<MathXArray,allocator<MathXArray>>::vector<MathXArray,allocator<MathXArray>>(const
> vector<MathXArray,allocator<MathXArray>>&) [stl_vector.h:234]
> MathInset::MathInset(const MathInset&) [math_inset.h:232]
> MathGridInset::MathGridInset(const MathGridInset&)
> [math_gridinset.h:129]
> MathArrayInset::MathArrayInset(const MathArrayInset&)
> [math_arrayinset.h:20]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ because of this?
> MathArrayInset::clone()const [math_arrayinset.C:16]
> MathArray::MathArray(const MathArray&) [array.C:33]
> MathXArray::MathXArray(const MathXArray&) [xarray.h:62]
> construct__H2Z10MathXArrayZ10MathXArray_PX01RCX11_v
> [stl_construct.h:48]
>
>
>__uninitialized_copy_aux__H2ZPC10MathXArrayZP10MathXArray_X01X01X11G12__false_type_X11
> [stl_uninitialized.h:58]
>
> __uninitialized_copy__H3ZPC10MathXArrayZP10MathXArrayZ10MathXArray_X01X01X11PX21_X11
> [stl_uninitialized.h:71]
>
> uninitialized_copy__H2ZPC10MathXArrayZP10MathXArray_X01X01X11_X11
> [stl_uninitialized.h:80]
>
>
>vector<MathXArray,allocator<MathXArray>>::vector<MathXArray,allocator<MathXArray>>(const
> vector<MathXArray,allocator<MathXArray>>&) [stl_vector.h:235]
> MathInset::MathInset(const MathInset&) [math_inset.h:232]
> MathGridInset::MathGridInset(const MathGridInset&)
> [math_gridinset.h:129]
> MathMatrixInset::MathMatrixInset(const MathMatrixInset&)
> [math_matrixinset.h:84]
> MathMatrixInset::clone()const [math_matrixinset.C:91]
> InsetFormulaBase::InsetFormulaBase(const InsetFormulaBase&)
> [formulabase.C:132]
> InsetFormula::InsetFormula(const InsetFormula&)
> [formula.h:86]
> InsetFormula::clone(const Buffer&,bool)const [formula.C:75]
> Paragraph::Paragraph(const Paragraph&,bool)
> [paragraph.C:138]
> InsetText::setParagraphData(Paragraph*) [insettext.C:1668]
> InsetText::init(const InsetText*,bool) [insettext.C:157]
> InsetText::operator =(const InsetText&) [insettext.C:133]
> LyXTabular::cellstruct::operator =(const
> LyXTabular::cellstruct&) [tabular.C:237]
Andre'
--
André Pönitz ............................................. [EMAIL PROTECTED]