I have run into some trouble editing documents with a newly installed
version of Lyx.  The attached document produces crashes in lyx-1.62 on
Ubuntu 9.04. The crash is reproducible.  Just hold down  the arrow
keys for a while.

You won't be able to compile this document unless you have the
Sweave/R functionality installed, but I think you can still see the
crash.

 Here's what I see in the terminal.

$ lyx Logit1-1_2009.lyx

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help->Introduction and send us a bug report, if
necessary. Thanks !
Bye.
Aborted

It seems to happen while scrolling and the "latex reveal box" at the
bottom pops open and shut.   I installed the debugging symbols for lyx
and here's what gdb says. I'm sorry I don't have the QT debugging
symbols, but I think the LyX symbols will help you.


(gdb) set args Logit1-1_2009.lyx
(gdb) run
Starting program: /usr/bin/lyx Logit1-1_2009.lyx
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4
[New Thread 0xb5f32920 (LWP 7792)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5f32920 (LWP 7792)]
std::_Rb_tree<int, std::pair<int const, lyx::ParagraphMetrics>,
std::_Select1st<std::pair<int const, lyx::ParagraphMetrics> >,
std::less<int>, std::allocator<std::pair<int const,
lyx::ParagraphMetrics> > >::_M_erase (this=0x9392ae0, __x=0x30)
    at /usr/include/c++/4.3/bits/stl_tree.h:941
941               _M_erase(_S_right(__x));
(gdb) bt
#0  std::_Rb_tree<int, std::pair<int const, lyx::ParagraphMetrics>,
std::_Select1st<std::pair<int const, lyx::ParagraphMetrics> >,
std::less<int>, std::allocator<std::pair<int const,
lyx::ParagraphMetrics> > >::_M_erase (this=0x9392ae0, __x=0x30)
    at /usr/include/c++/4.3/bits/stl_tree.h:941
#1  0x0818f137 in std::_Rb_tree<int, std::pair<int const,
lyx::ParagraphMetrics>, std::_Select1st<std::pair<int const,
lyx::ParagraphMetrics> >, std::less<int>, std::allocator<std::pair<int
const, lyx::ParagraphMetrics> > >::_M_erase (this=0x9392ae0,
__x=0x9390a20)
    at /usr/include/c++/4.3/bits/stl_tree.h:941
#2  0x0818f137 in std::_Rb_tree<int, std::pair<int const,
lyx::ParagraphMetrics>, std::_Select1st<std::pair<int const,
lyx::ParagraphMetrics> >, std::less<int>, std::allocator<std::pair<int
const, lyx::ParagraphMetrics> > >::_M_erase (this=0x9392ae0,
__x=0x939ad48)
    at /usr/include/c++/4.3/bits/stl_tree.h:941
#3  0x08187e4b in lyx::Text::dispatch (this=0x91daa6c,
    c...@0x929b5c8, c...@0xbfff8f6c)
    at /usr/include/c++/4.3/bits/stl_tree.h:697
#4  0x081e91c6 in lyx::Cursor::dispatch (this=0x929b5c8,
    cm...@0xbfff9b40) at ../../src/Cursor.cpp:316
#5  0x08132d6c in lyx::LyXFunc::dispatch (this=0x8ce7a00,
    c...@0xbfff9b40) at ../../src/LyXFunc.cpp:1684
#6  0x081357fc in lyx::LyXFunc::processKeySym (this=0x8ce7a00,
---Type <return> to continue, or q <return> to quit---
    keys...@0xbfff9bcc, state=lyx::NoModifier)
    at ../../src/LyXFunc.cpp:376
#7  0x08394a0f in lyx::frontend::GuiWorkArea::keyPressEvent (
    this=0x929a390, ev=0xbfffa14c)
    at ../../../../src/frontends/qt4/GuiWorkArea.cpp:867
#8  0xb76f3a93 in QWidget::event () from /usr/lib/libQtGui.so.4
#9  0xb7acdd83 in QFrame::event () from /usr/lib/libQtGui.so.4
#10 0xb7b6e83d in QAbstractScrollArea::event ()
   from /usr/lib/libQtGui.so.4
#11 0x08391f9f in lyx::frontend::GuiWorkArea::event (this=0x929a390,
    e=0xbfffa14c)
    at ../../../../src/frontends/qt4/GuiWorkArea.cpp:636
#12 0xb769cf2c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#13 0xb76a62eb in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0x0835c3a8 in lyx::frontend::GuiApplication::notify (
    this=0x8cc1b28, receiver=0x929a390, event=0xbfffa14c)
    at ../../../../src/frontends/qt4/GuiApplication.cpp:1230
#15 0xb7464a3b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#16 0xb769de0e in ?? () from /usr/lib/libQtGui.so.4
#17 0xb773b0a0 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb773d26e in ?? () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#19 0xb7712dfe in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#20 0xb773ecfa in ?? () from /usr/lib/libQtGui.so.4
#21 0xb6b71b88 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#22 0xb6b750eb in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb6b75268 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#24 0xb7490438 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#25 0xb773e3f5 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb746306a in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#27 0xb74634aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#28 0xb7465959 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#29 0xb769cda7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#30 0x081226ce in lyx::LyX::exec (this=0xbfffac40, ar...@0xbfffac70,
    argv=0xbfffacf4) at ../../src/LyX.cpp:343
#31 0x08077e19 in main (argc=2, argv=0x929b78c)
    at ../../src/main.cpp:46

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

Attachment: Logit1-1_2009.lyx
Description: application/lyx

Reply via email to