hi,

its not such a big issue since normal user will never see, but there seems to
be somthing fishy in the way we destroy preview insets. for trigerring is
usually needed something like:
1. open attached file with math ( instant preview on )
2. export to xhtml
3. edit some math inset and leave to regenerate preview
4. exit lyx

terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create
...
#11 0x08631050 in lyx::support::FileName::absFileName (this=0xb59143b8) at 
FileName.cpp:188
#12 0x08634579 in lyx::support::operator< (lhs=..., rhs=...) at 
FileName.cpp:1019
#13 0x08610595 in std::less<lyx::support::FileName>::operator() 
(this=0x8ce7098, __x=0xb59143a8, __y=0x8ce709c, __k=...)
    at 
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/bits/stl_function.h:230
...stl stuff
#17 lyx::graphics::Cache::remove (this=0x8854cb8, file=...) at 
graphics/GraphicsCache.cpp:122
#18 0x0861bfc6 in lyx::graphics::Loader::Impl::resetFile (this=0xb5915db0, 
file=...) at graphics/GraphicsLoader.cpp:371
#19 0x0861c765 in ~Impl (this=0xb5915db0, __in_chrg=<value optimized out>) at 
graphics/GraphicsLoader.cpp:349
#20 0x0861c936 in ~Loader (this=0xb59146a4, __in_chrg=<value optimized out>) at 
graphics/GraphicsLoader.cpp:234
#21 0x0861effb in ~Impl (this=0xb5914690, __in_chrg=<value optimized out>) at 
graphics/PreviewImage.cpp:113
#22 0x0861f03c in ~PreviewImage (this=0xb5913bb0, __in_chrg=<value optimized 
out>) at graphics/PreviewImage.cpp:63
#23 0x08624d03 in 
std::tr1::_Sp_deleter<lyx::graphics::PreviewImage>::operator() (this=0x0)
....
#39 0x0862024c in ~PreviewLoader (this=0xb5912588, __in_chrg=<value optimized 
out>) at graphics/PreviewLoader.cpp:267
..
#54 0x08854d74 in (anonymous namespace)::unique_filename(std::string 
const&)::theCounter ()


pavel
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 400
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{mathrsfs}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language czech
\inputencoding auto
\fontencoding global
\font_roman lmodern
\font_sans default
\font_typewriter default
\font_default_family default
\use_xetex false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 2
\html_be_strict false
\html_math_img_scale 1.5
\end_header

\begin_body

\begin_layout Standard
aaaaaa aaaa aa aazĂĄaaaaĂĄ aaaaaa 
\begin_inset Formula $\lambda$
\end_inset

, aaa aaaaaa aa aaaaaaĂĄa 
\begin_inset Formula $kj_{b}^{a}dt$
\end_inset

 aaaaá aařaaaí aaaaaaě aýaačaa aza aaaaaaa aáaaaaaaíaí úaaaaa: aaaaa 
aaaaaaa
 
\begin_inset Formula $w^{*}$
\end_inset

 aaa, aay aaaaaa (
\begin_inset CommandInset ref
LatexCommand ref
reference "eq:C_n"

\end_inset

) aaaýaaaa aaaaaåaaí aaaaaaa:
\end_layout

\begin_layout Standard
\begin_inset Formula \begin{equation}
Ckljh\end{equation}

\end_inset

 aaa
\end_layout

\end_body
\end_document

Reply via email to