Hi,

The attached .lyx file demonstrates two bugs in current 1.2.0cvs (sorry,
couldn't reduce it further):

1. You can't reach the numerator using mouse click, except for the few
rightmost digits. If you click on the middle or left of the numerator,
the cursor is placed elsewhere.

2. Select the rightmost digit of the numerator and press 'r' to replace
it. LyX crashes with the lovely backtrace seen below (my STL is RedHat's
gcc-2.96-85).

  Regards,
    Eran Tromer


(gdb) bt
#0  0x80080501 in ?? ()
#1  0x402ad648 in ?? ()
#2  0x402ad648 in ?? ()
#3  0x402ad648 in ?? ()
#4  0x402ad648 in ?? ()
#5  0x402ad648 in ?? ()
:
:
:
#10073 0x402ad648 in ?? ()
#10074 0x402ad648 in ?? ()
#10075 0x402ad648 in ?? ()
#10076 0x402ad648 in ?? ()
#10077 0x082ce277 in vector<unsigned char, allocator<unsigned char>
>::insert (
    this=0x840d9c0, __position=0x84061bc "\001", __n=3, __x=@0xbfffed4b)
    at /usr/include/g++-3/stl_algobase.h:271
#10078 0x0818ef4d in MathArray::insert (this=0x840d9c0, pos=180, b=114, 
    t=LM_TC_VAR) at array.C:150
#10079 0x0817d01b in MathCursor::insert (this=0x840b8f0, c=114 'r', 
    t=LM_TC_VAR) at math_cursor.C:372
#10080 0x08178050 in InsetFormulaBase::localDispatch (this=0x840f820, 
    bv=0x83f56b8, action=LFUN_SELFINSERT, arg=@0xbffff230) at
formulabase.C:890
#10081 0x0817a639 in InsetFormula::localDispatch (this=0x840f820, 
    bv=0x83f56b8, action=LFUN_SELFINSERT, arg=@0xbffff230) at
formula.C:275
#10082 0x08103f65 in LyXFunc::Dispatch (this=0x83c9388, ac=86, 
    do_not_use_this_arg=@0xbffff290) at lyxfunc.C:756
#10083 0x08102379 in LyXFunc::processKeySym (this=0x83c9388, keysym=114, 
    state=0) at lyxfunc.C:348
#10084 0x08056ca7 in BufferView::Pimpl::workAreaKeyPress
(this=0x83f56d0, 
    keysym=114, state=0) at BufferView_pimpl.C:506
#10085 0x08283573 in SigC::ObjectSlot2_<void, unsigned long, unsigned
int, Buffe
rView::Pimpl>::callback (d=0x83f68f4, p1=114, p2=0)
    at ../sigc++/object_slot.h:250
#10086 0x0829522d in SigC::Signal2<void, unsigned long, unsigned int,
SigC::Mars
hal<void> >::emit (this=0x83f5704, p1=@0xbffff38c, p2=@0xbffff388)
    at ../sigc++/slot.h:456
#10087 0x0809960f in WorkArea::work_area_handler (ob=0x83f6200, event=9, 
    key=114, xev=0x400e64c0) at WorkArea.C:432
#10088 0x08098733 in C_WorkArea_work_area_handler (ob=0x83f6200,
event=9, 
    key=114, xev=0x400e64c0) at WorkArea.C:58
#10089 0x4008712b in ?? ()
#10090 0x400871d4 in ?? ()
#10091 0x4005b7e1 in ?? ()
#10092 0x4005bbd9 in ?? ()
#10093 0x4005bf16 in ?? ()
#10094 0x4005c5bd in ?? ()
#10095 0x4005cbb1 in ?? ()
#10096 0x4005cbf0 in ?? ()
#10097 0x081ed5f8 in GUIRunTime::runTime () at GUIRunTime.C:86
#10098 0x080f1320 in LyXGUI::runTime (this=0x8391278) at lyx_gui.C:314
#10099 0x080f33df in LyX::LyX (this=0xbffff870, argc=0xbffff8b0, 
    argv=0xbffff91c) at ../src/lyx_main.C:178
#10100 0x0812cc15 in main (argc=2, argv=0xbffff91c) at ../src/main.C:38
#10101 0x4029c177 in ?? ()
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula \begin{eqnarray*}
 &  & \frac{123456789012345678901234567890123456789012345678901234567890}{} \\
 &  & \end{eqnarray*}

\end_inset 


\the_end

Reply via email to