Juergen Spitzmueller wrote:
Abdelrazak Younes wrote:

Do you have a recipe?

Open the test file from the bug report, click on one label in the master,
edit, press OK. The crash does not occur regularly.
I tried many times but I can't reproduce... I am happy that we cleaned up the label stuff in trunk (which seems to work perfectly with this document).

The output I sent was produced after closing LyX (without previous crash,
obviously).

However, I managed to get a backtrace with the above procedure. It seems
MacroData is involved:
Is there any macro in the document?

#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());

Abdel.

Reply via email to