Hi!
Deleting the last word in a paragraph causes a crash (tested in r21082).
It looks like it's related to FontList?
Here's the trace:
#0 0xb7129d86 in raise () from /lib/libc.so.6
#1 0xb712b5b1 in abort () from /lib/libc.so.6
#2 0xb72c2436 in __gnu_debug::_Error_formatter::_M_error ()
from /usr/lib/libstdc++.so.6
#3 0x083c6086 in _Safe_iterator (this=0xbf8a4cd4, [EMAIL PROTECTED])
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/safe_iterator.h:127
#4 0x083c664c in
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<lyx::FontTable*,
__gnu_norm::vector<lyx::FontTable, std::allocator<lyx::FontTable> > >,
__gnu_debug_def::vector<lyx::FontTable, std::allocator<lyx::FontTable> >
>::operator+ (this=0xbf8a4c44, [EMAIL PROTECTED])
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/safe_iterator.h:285
#5 0x083be06e in lyx::FontList::erase (this=0x8f827a0, pos=0)
at FontList.cpp:91
#6 0x0820031d in lyx::Paragraph::eraseChar (this=0x8f64910, pos=0,
trackChanges=false) at Paragraph.cpp:450
#7 0x08456122 in lyx::Text::backspace (this=0x8f69afc, [EMAIL PROTECTED])
at Text.cpp:1095
#8 0x0824af95 in lyx::Text::dispatch (this=0x8f69afc, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at Text3.cpp:556
#9 0x08692d89 in lyx::InsetText::doDispatch (this=0x8f69aec,
[EMAIL PROTECTED],
[EMAIL PROTECTED]) at insets/InsetText.cpp:235
#10 0x0855adca in lyx::Inset::dispatch (this=0x8f69aec, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at insets/Inset.cpp:160
#11 0x0838014f in lyx::Cursor::dispatch (this=0x8f7c124, [EMAIL PROTECTED])
at Cursor.cpp:318
#12 0x081631f8 in lyx::LyXFunc::dispatch (this=0x8d2dcf0, [EMAIL PROTECTED])
at LyXFunc.cpp:1969
#13 0x08164d83 in lyx::LyXFunc::processKeySym (this=0x8d2dcf0,
[EMAIL PROTECTED], state=lyx::NoModifier) at LyXFunc.cpp:429
#14 0x086d8993 in lyx::frontend::WorkArea::processKeySym (this=0x8f7b8cc,
[EMAIL PROTECTED], mod=lyx::NoModifier) at WorkArea.cpp:173
#15 0x088bb926 in lyx::frontend::GuiWorkArea::keyPressEvent
(this=0x8f7b8b8,
ev=0xbf8ab744) at GuiWorkArea.cpp:432
#16 0xb78a3e11 in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0xb7b24c24 in QFrame::event () from /usr/lib/libQtGui.so.4
#18 0xb7b9984f in QAbstractScrollArea::event () from /usr/lib/libQtGui.so.4
#19 0xb785a59f in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#20 0xb785d318 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x086e7b00 in lyx::frontend::GuiApplication::notify (this=0x8d31710,
receiver=0x8f7b8b8, event=0xbf8ab744) at GuiApplication.cpp:290
#22 0xb78a9f3e in QApplication::topLevelAt () from /usr/lib/libQtGui.so.4
#23 0xb78d4fe6 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#24 0xb78d6dd1 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#25 0xb78b4428 in QApplication::x11ProcessEvent () from
/usr/lib/libQtGui.so.4
#26 0xb78d81f8 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#27 0xb7e63b51 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb7e66bc6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#29 0xb7e67147 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb76406a8 in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#31 0xb78d7fe5 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#32 0xb761c291 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb761c39a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0xb761e756 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0xb785a017 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0x086e7838 in lyx::frontend::GuiApplication::exec (this=0x8d31710)
at GuiApplication.cpp:211
#37 0x0812fa46 in lyx::LyX::exec (this=0xbf8ac84c, [EMAIL PROTECTED],
argv=0xbf8ac904) at LyX.cpp:482
#38 0x0806be62 in main (argc=1, argv=Cannot access memory at address 0x2f3b
) at main.cpp:48