Abdelrazak Younes wrote:
Thomas Schmidt wrote:
Hello developers.

I have maybe a bug in Lyx 1.5.1.

If i'm inserting a float object field and delete this object directly after inserting (because i clicked at the wrin one) i can't insert a further float object. Every time i do this, lyx crashes directly.

I can produce this crash on a Windows Vista System with actual Version of Lyx. This evening i can test it under Windows XP and maybe on Linux (Ubuntu Feisty).

Can anyone confirm this crash? If yes, i'll make a bugreport at bugzilla.lyx.org

Ouch! Confirmed on WinXP too! Please fill-it in.

Here is the backtrace for 1.5.2svn, the problem seems to be an empty paragraph in the new float while there should be at least one!

Abdel.

lyx-qt4.exe!std::vector<unsigned long,std::allocator<unsigned long> >::operator[](unsigned int _Pos=0x00000000) Line 741 + 0x17 bytes C++ lyx-qt4.exe!lyx::Paragraph::getChar(int pos=0x00000000) Line 286 + 0x1d bytes C++

Here text_ is empty!


lyx-qt4.exe!lyx::Paragraph::isInset(int pos=0x00000000) Line 329 + 0xc bytes C++ lyx-qt4.exe!lyx::Paragraph::isHfill(int pos=0x00000000) Line 325 + 0xc bytes C++ > lyx-qt4.exe!lyx::`anonymous namespace'::numberOfHfills(const lyx::Paragraph & par={...}, const lyx::Row & row={...}) Line 101 + 0xc bytes C++ lyx-qt4.exe!lyx::TextMetrics::computeRowMetrics(const int pit=0x00000001, const lyx::Row & row={...}) Line 311 + 0xd bytes C++ lyx-qt4.exe!lyx::Text::cursorX(const lyx::BufferView & bv={...}, const lyx::CursorSlice & sl={...}, bool boundary=false) Line 1709 C++ lyx-qt4.exe!lyx::InsetText::cursorPos(const lyx::BufferView & bv={...}, const lyx::CursorSlice & sl={...}, bool boundary=false, int & x=0x00000000, int & y=0x00000000) Line 357 + 0x17 bytes C++ lyx-qt4.exe!lyx::InsetCollapsable::cursorPos(const lyx::BufferView & bv={...}, const lyx::CursorSlice & sl={...}, bool boundary=false, int & x=0x00000000, int & y=0x00000000) Line 248 C++ lyx-qt4.exe!lyx::bv_funcs::coordOffset(const lyx::BufferView & bv={...}, const lyx::DocIterator & dit={...}, bool boundary=false) Line 168 + 0x52 bytes C++ lyx-qt4.exe!lyx::bv_funcs::getPos(const lyx::BufferView & bv={...}, const lyx::DocIterator & dit={...}, bool boundary=false) Line 242 + 0x15 bytes C++ lyx-qt4.exe!lyx::Cursor::getPos(int & x=0x000000aa, int & y=0x00000035) Line 421 + 0x1f bytes C++ lyx-qt4.exe!lyx::Cursor::dispatch(const lyx::FuncRequest & cmd0={...}) Line 305 C++ lyx-qt4.exe!lyx::Text::dispatch(lyx::Cursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 1280 + 0x3a bytes C++ lyx-qt4.exe!lyx::InsetText::doDispatch(lyx::Cursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 264 C++ lyx-qt4.exe!lyx::Inset::dispatch(lyx::Cursor & cur={...}, lyx::FuncRequest & cmd={...}) Line 145 + 0x1a bytes C++ lyx-qt4.exe!lyx::Cursor::dispatch(const lyx::FuncRequest & cmd0={...}) Line 319 C++ lyx-qt4.exe!lyx::LyXFunc::dispatch(const lyx::FuncRequest & cmd={...}) Line 1860 C++ lyx-qt4.exe!lyx::dispatch(const lyx::FuncRequest & action={...}) Line 1483 C++ lyx-qt4.exe!lyx::LyXView::dispatch(const lyx::FuncRequest & cmd={...}) Line 513 + 0x9 bytes C++

Reply via email to