Allan Rae <[EMAIL PROTECTED]> writes:
| On Mon, 31 Jan 2000, Reuben Thomas wrote:
|
| > If I load two documents and then repeatedly press Ctrl+R for
| > "Reformat" then LyX segfaults after a few goes. It doesn't seem to happen
| > if I only have one document loaded.
| >
| > This is with LyX 1.1.4pre2.
|
| I've experienced this also but only once and haven't been able to repeat
| it. Are you able to repeat the crash consistently? If so can you try to
| provide us with the two files that cause the crash or at least a
| backtrace. Thanks.
This is easily repeatable, this is the textcache playing funny tricks
on us. I have a fix ready.
btw. what is really done is a "buffer-reload". When doing a reload
BufferView::buffer is called and Buffer::text get stored in textcache
even if the buffer it points to does not exist anymore... then upon
reload the old deleted buffers address is reused for the new one...
and then we search in textcache for this address and _voila_ we found
it...but the text we found points to the old buffer... and CRASH.
expect fix and 1.1.4 RSN.
Lgb