I found a bug in LyX 1.1.6fix2 (installed on RedHat7.1 using Sylvan's
RPMs).

To reproduce, open a new document. Type:
    a b
Place the cursor after the 'a' and press SPACE to obtain (| denotes
cursor):
    a | b
Press Shift-Home to select from beginning of line. You can already tell
that something's wrong, since you obtain (^ denotes selection):
    a b|
  ^^^^^
Now press Ctrl-X.  LyX dumps core.


Here's the top of the backtrace:
---------------------------------------------------------------------
#0  0x40144801 in __kill () from /lib/i686/libc.so.6
#1  0x401445da in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40145d82 in abort () at ../sysdeps/generic/abort.c:88
#3  0x081d348b in lyx::abort () at abort.C:9
#4  0x080bd542 in error_handler (err_sig=11) at ../src/lyx_main.C:873
#5  <signal handler called>
#6  Row::par (this=0x1f) at lyxrow.C:34
#7  0x08121736 in LyXText::RedoParagraphs (this=0x84005e8, 
    bview=0x83af7d0, cur=@0x84006b8, endpar=0x0) at text2.C:1050
#8  0x081268de in LyXText::CutSelection (this=0x84005e8, 
    bview=0x83af7d0, doclear=true) at text2.C:2273
#9  0x08054507 in BufferView::cut (this=0x83af7d0) at 
    BufferView2.C:590
#10 0x080c7ad1 in LyXFunc::Dispatch (this=0x83b11f0, ac=22, 
    do_not_use_this_arg=@0xbffff2a0) at lyxfunc.C:962
#11 0x080c4b9f in LyXFunc::processKeySym (this=0x83b11f0, keysym=120, 
    state=4) at lyxfunc.C:308
:
:
---------------------------------------------------------------------


  Regards,
    Eran Tromer

Reply via email to