On Tue, Mar 18, 2008 at 07:33:47PM +0100, Andre Poenitz wrote:
>
> I wonder whether I have the same sources like you. Right now I have
> quite a few problems to use LyX and it does note even remotely look
> like nearing a release. E.g.
>
> - The only way to change ERT from "expanded" to "inline" is to place the
> cursor in front of the inset and press Ctrl-I.
>
> - I get an immediate crash when trying to open the Navigate menu
> after loading the Embedded Objects document.
(gdb) bt
#0 0x0825a8c0 in lyx::ParConstIterator::operator-> (this=0x8f627c4)
at ../../trunk/src/ParIterator.cpp:143
#1 0x0825e979 in lyx::TocItem::id (this=0x8f627c4)
at ../../trunk/src/TocBackend.cpp:54
#2 0x0825e99a in lyx::TocItem::action (this=0x8f627c4)
at ../../trunk/src/TocBackend.cpp:78
#3 0x0845c769 in lyx::frontend::(anonymous
namespace)::MenuDefinition::expandToc (this=0x8b96f20, buf=0x8b86b68)
at ../../../../trunk/src/frontends/qt4/Menus.cpp:952
#4 0x0845d5ee in lyx::frontend::Menus::Impl::expand (this=0x88b05c0,
[EMAIL PROTECTED], [EMAIL PROTECTED], buf=0x8b86b68)
at ../../../../trunk/src/frontends/qt4/Menus.cpp:1333
#5 0x0845ddf6 in lyx::frontend::Menus::updateMenu (this=0x8886658,
qmenu=0x8b96bf0) at
../../../../trunk/src/frontends/qt4/Menus.cpp:1545
#6 0x0845de33 in lyx::frontend::Menu::updateView (this=0x8b96bf0)
at ../../../../trunk/src/frontends/qt4/Menus.cpp:1148
#7 0x0845de7b in lyx::frontend::Menu::qt_metacall (this=0x8b96bf0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff28eac)
at ./Menus_moc.cpp:64
Which reminds me: Storing Par(Const)Iterators is _not_ safe. They
are meant to iterate over a non-changing document, nothing else.
At the very least, StableDocIterators have to be used.
Andre'