Hi.

I got a problem with 1.4.0.
Open the test file attached to this mail (table created by 1.3).
Click in a cell of the table, then click the <edit> entry of the toolbar 
-> Boom.

Same under qt and xforms. I tried to first save the file (to update 
tabular format), then reopen it -> same story.

RH 9.0, version gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Have fun
Alain
----
(gdb) run
Starting program: 
/home/sae/castera/etc.local/lyx-devel/build-xforms/src/lyx
Menu warning: menu entry "Texte ASCII en Lignes" does not contain shortcut 
`L...'.
Menu warning: menu entry "Texte ASCII en Paragraphes" does not contain 
shortcut `P...'.
text not available!
no text in cache!

Program received signal SIGSEGV, Segmentation fault.
0x080e2477 in LyXFunc::getStatus(FuncRequest const&) const 
(this=0x8418180,
    [EMAIL PROTECTED]) at ../../src/lyxfunc.C:508
508                     InsetOld::Code code = inset->lyxCode();

Note : inset is obtained by a call inset=inset->owner() and is NULL when 
trying to call lyXCode()

(gdb) bt
#0  0x080e2477 in LyXFunc::getStatus(FuncRequest const&) const (
    this=0x8418180, [EMAIL PROTECTED]) at ../../src/lyxfunc.C:508
#1  0x0807d4c2 in Menu::add(MenuItem const&, LyXView const*) 
(this=0xbfffe3b0,
    [EMAIL PROTECTED], view=0x85250a4) at LyXView.h:80
#2  0x0807ff89 in MenuBackend::expand(Menu const&, Menu&, LyXView const*) 
const
    (this=0x8376788, [EMAIL PROTECTED], [EMAIL PROTECTED], 
view=0x83f1b88)
    at stl_iterator.h:593
#3  0x0828ceb3 in XFormsMenubar::MenuCallback(flobjs_*, long) 
(ob=0x83f3ec8,
    button=1) at ../../../../src/frontends/xforms/XFormsMenubar.C:362
--------------------- 

-- 
 *******************************************************************
 *        Alain Castera                                            *
 * IPNL - UCB Lyon 1             | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac               |      or        [EMAIL PROTECTED] *
 * Campus de la Doua             | Telephone :     (+33) 472448429 *
 * F69622 Villeurbanne CEDEX     | Fax :           (+33) 472448004 *
 *******************************************************************
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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  Tabular
<lyxtabular version="3" rows="2" columns="5">
<features>
<column alignment="center" valignment="bottom" leftline="true" width="10mm">
<column alignment="left" valignment="top" leftline="true" width="20mm">
<column alignment="right" valignment="bottom" leftline="true" width="0">
<column alignment="block" valignment="top" leftline="true" width="10mm">
<column alignment="block" valignment="bottom" leftline="true" rightline="true" 
width="20mm">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

abc
\layout Standard

a
\layout Standard

a
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

bcd
\layout Standard

c
\layout Standard

d
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

efg
\lang frenchb
 
\lang american
f
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

ghi
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard

hij
\layout Standard

i
\end_inset 
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

test plus long
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\the_end

Reply via email to