Stefan Schimanski wrote:

Am 29.05.2007 um 09:35 schrieb Stefan Schimanski:


Can you give me a backtrace of it? Tried with RTL and LTR paragraphs, everything works fine, no crash. Also tried Abdel's example file from two weeks ago, no crash.

Stefan

The new patch, adapted to the whitespace changes.

And including the claimed fix for the newline-at-paragraph-end bug. It does not crash here either.

Stefan

Again, trace attached. Using the same version of the patch as in my previous mail. I typed a few characters, then Ctrl-Enter and got a crash (if the Ctrl-Enter was at the beginning of the paragraph, there wasn't any crash...).

Dov
#0  0xb71b5867 in raise () from /lib/libc.so.6
#1  0xb71b70d8 in abort () from /lib/libc.so.6
#2  0xb733a899 in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#3  0x08383043 in __gnu_debug_def::vector<wchar_t, std::allocator<wchar_t> 
>::operator[] (this=0x8f3cfd8, __n=15)
    at 
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/vector:199
#4  0x0842dd8c in lyx::TextMetrics::computeRowMetrics (this=0x8f33744, pit=0, 
    [EMAIL PROTECTED]) at Paragraph.h:286
#5  0x083eae6b in lyx::Text::cursorX (this=0x8f3cab8, [EMAIL PROTECTED], 
    [EMAIL PROTECTED], boundary=false) at Text.cpp:1634
#6  0x0814be7d in lyx::bv_funcs::coordOffset ([EMAIL PROTECTED], [EMAIL 
PROTECTED], 
    boundary=false) at bufferview_funcs.cpp:198
#7  0x0814cf6a in lyx::bv_funcs::getPos ([EMAIL PROTECTED], [EMAIL PROTECTED], 
    boundary=false) at bufferview_funcs.cpp:218
#8  0x08133138 in lyx::BufferView::fitCursor (this=0x8dcd3c0)
    at BufferView.cpp:327
#9  0x08135e0d in lyx::BufferView::update (this=0x8dcd3c0, flags=3)
    at BufferView.cpp:411
#10 0x08306c51 in lyx::LyXFunc::dispatch (this=0x8cf6550, [EMAIL PROTECTED])
    at LyXFunc.cpp:1785
#11 0x0830862b in lyx::LyXFunc::processKeySym (this=0x8cf6550, 
    [EMAIL PROTECTED], state=lyx::key_modifier::ctrl) at LyXFunc.cpp:377
#12 0x0868c4ad in lyx::frontend::WorkArea::processKeySym (this=0x8d753f4, 
    [EMAIL PROTECTED], state=lyx::key_modifier::ctrl) at WorkArea.cpp:177
#13 0x086fb54b in lyx::frontend::GuiWorkArea::keyPressEvent (this=0x8d753e0, 
    e=0xbf8fd954) at GuiWorkArea.cpp:427
#14 0xb7a40e11 in QWidget::event () from /usr/lib/libQtGui.so.4
#15 0xb7cc1c84 in QFrame::event () from /usr/lib/libQtGui.so.4
#16 0xb7d368af in QAbstractScrollArea::event () from /usr/lib/libQtGui.so.4
#17 0xb79f759f in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#18 0xb79fa318 in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x086e20e0 in lyx::frontend::GuiApplication::notify (this=0x8cf9f08, 
    receiver=0x8d753e0, event=0xbf8fd954) at GuiApplication.cpp:237
#20 0xb7a46f3e in QApplication::topLevelAt () from /usr/lib/libQtGui.so.4
#21 0xb7a71fe6 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#22 0xb7a73dd1 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#23 0xb7a51428 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0xb7a751f8 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#25 0xb75d1b51 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb75d4bc6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#27 0xb75d5147 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb7765648 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#29 0xb7a74fe5 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#30 0xb7741231 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb774133a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb77436f6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb79f7017 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x086e12c8 in lyx::frontend::GuiApplication::exec (this=0x8cf9f08)
    at GuiApplication.cpp:158
#35 0x082deaa9 in lyx::LyX::exec (this=0xbf8feafc, [EMAIL PROTECTED], 
    argv=0xbf8febb4) at LyX.cpp:463
#36 0x0806a1ae in main (argc=1, argv=Cannot access memory at address 0x3318
) at main.cpp:48

Reply via email to