On Tue, Feb 29, 2000 at 05:39:09PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Shawn" == Shawn Koons <[EMAIL PROTECTED]> writes:
> 
> Shawn> Okay, here goes. I've recreated the problem while lyx was
> Shawn> running in gdb and here is the output for each time I have
> Shawn> created it:
> 
> I have not been able to recreate it either. Maybe could you send a
> short ascii file and precise instructions to get to the crash.
> 

I think that I found a way to recreate this bug (or maybe it a different bug)
Open the attached file, put the cursor before the letter X, and then hold
backspace, and LyX will crash (it doesn't happens every time, but often
enough)

If you can't recreate it, here is the backtrace:
(more specifically, the problem occurs in the line
    while (row && row->par == tmppar) {
of LyXText::RemoveParagraph since row is not 0, and it is pointing to
illegal memory block. This happens on the first time that the while
condition is evaluated)

#0  0x80ea2f8 in LyXText::RemoveParagraph (this=0x82ea3f0, row=0x829e800) at 
text2.C:308
#1  0x80e5830 in LyXText::Backspace (this=0x82ea3f0) at text.C:3323
#2  0x80b15f3 in LyXFunc::Dispatch (this=0x81beee8, ac=66, 
do_not_use_this_arg=0x8191bd0 "") at lyxfunc.C:1784
#3  0x80abf2f in LyXFunc::processKeyEvent (this=0x81beee8, ev=0x400802ec) at 
lyxfunc.C:286
#4  0x806429c in LyXView::KeyPressMask_raw_callback (fl=0x81b62d0, xev=0x400802ec) at 
LyXView.C:358
#5  0x8064350 in C_LyXView_KeyPressMask_raw_callback (fl=0x81b62d0, xev=0x400802ec) at 
LyXView.C:390
#6  0x400393bf in fl_register_raw_callback ()
#7  0x40038758 in fl_last_event ()
#8  0x40038ee2 in fl_treat_interaction_events ()
#9  0x40038f1c in fl_check_forms ()
#10 0x80a1b4e in LyXGUI::runTime (this=0x81a3560) at lyx_gui.C:598
#11 0x80a2c5b in LyX::LyX (this=0xbffffae8, argc=0xbffffb90, argv=0xbffffba4) at 
../src/lyx_main.C:130
#12 0x80be916 in main (argc=1, argv=0xbffffba4) at ../src/main.C:42
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\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

\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
a
\layout Standard

\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
b
\layout Standard

\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
\SpecialChar \protected_separator
X
\layout Standard

c
\the_end

Reply via email to