New crash on the blocks:

This is difficult to reproduce as it seems to happen randomly.

1) Help->Intro
2) put the cursor somewhere
3) Alt+Up arrow multiple times
4) move to the next paragraph
5) Alt+Down arrow

With a bit of luck (sic), you'll get a crash. Here is a back trace:

lyx-qt4.exe!std::vector<unsigned long,std::allocator<unsigned long> >::operator[](unsigned int _Pos=427) Line 741 + 0x17 bytes C++
lyx-qt4.exe!lyx::Paragraph::getChar(int pos=427)  Line 288 + 0x1d bytes C++
lyx-qt4.exe!lyx::Paragraph::isInset(int pos=427)  Line 331 + 0xc bytes  C++
lyx-qt4.exe!lyx::DocIterator::forwardPos(bool ignorecollapsed=false) Line 327 + 0x1a bytes C++
lyx-qt4.exe!lyx::DocIterator::forwardPar()  Line 421    C++
lyx-qt4.exe!lyx::ParIterator::operator++()  Line 52     C++
lyx-qt4.exe!boost::next<lyx::ParIterator>(lyx::ParIterator x={...}) Line 30 + 0x40 bytes C++ lyx-qt4.exe!lyx::LyXText::dispatch(lyx::LCursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 346 + 0x26 bytes C++ lyx-qt4.exe!lyx::InsetText::doDispatch(lyx::LCursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 252 C++ lyx-qt4.exe!lyx::InsetBase::dispatch(lyx::LCursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 130 + 0x1a bytes C++

The crash happen because pos=427 is greater than the text_ vector size (254).

Any idea what is happening?

Abdel.


Reply via email to