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

a glibc specific issue perhaps?
No, my fault I managed to reproduce it. I couldn't before because I had instant preview set to on and the child documents were automatically loaded.

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();*
No, forget about this, I think I know the problem and your backtrace is either due to a memory corruption or to another bug. The backtrace is actually exactly the same as before and is due to a temporary reference. Please try this patch and report back.

Abdel.

Reply via email to