Abdelrazak Younes wrote:
> I tried many times but I can't reproduce...

a glibc specific issue perhaps?

> Is there any macro in the document?

No.

>> #7  0x08075b98 in lyx::Buffer::buildMacros (this=0x8b64578)
>> at /usr/include/c++/4.2.1/bits/stl_map.h:228
>> 
> This doesn't give me at which line it happens but I guess it is one of
> those two:
> 
> MathMacroTemplate const & mac
> = static_cast<MathMacroTemplate const &>(*it->inset);
> insertMacro(mac.name(), mac.asMacroData());

or maybe this
1736    pimpl_->macros = MacroTable::globalMacros();

I uncommented the debug code just before the lines you cited and it gives me
this before the crash:

found inset code 9
found inset code 14
found inset code 9
found inset code 14
found inset code 9
found inset code 14
found inset code 9
found inset code 14
found inset code 9
found inset code 14
found inset code 9
found inset code 14

These are LABEL_CODE (9) and INCLUDE_CODE (14), so it should not get into
the line you quoted. However, it looks like a loop (there are only 2
includes and two labels in the master, and no includes in the childs).

Maybe buildMacros is called recursively?

Jürgen

Reply via email to