> > 1. launch lyx, save file x, close lyx
> > 2. launch lyx, open file y, open outliner
> > 3. remove file x from disk
> > 4. try to open file x from file recent menu
> > 5. crash
> > 
> > can anybody confirm?
> 
> No (I get an empty file x).
> Do you have a backtrace?

that is the strange thing - even if i run it under gdb with enabled debug
symbols i dont get any back trace - only this output:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/debug/vector:201:error: 
    attempt to subscript container with out-of-bounds index 0, but     
    container only holds 0 elements.

Objects involved in the operation:
sequence "this" @ 0x0x900e24c {
  type = N15__gnu_debug_def6vectorISsSaISsEEE;
}

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()


more observations:
-its under 1.5.5svn, cant reprudoce under 1.5.4.
-the outliner step is really needed.


if lyx -dbg any i get:

LyXFunc::dispatch: cmd:  action: 144 arg: '/trash/st.lyx' x: 0 y: 0
isDirWriteable: /home/installer/
Temporary file `/home/installer/lyxwritetest23087LSXpi8' created.
Buffer::Buffer()
Assigning to buffer 1
lyx::Buffer* lyx::BufferView::setBuffer(lyx::Buffer*)[ b = 0x927de70]
lyx::Buffer* lyx::BufferView::setBuffer(lyx::Buffer*)Buffer addr: 0x927de70
void lyx::BufferView::updateMetrics(bool) y1: 0 y2: 67 pit1: 0 pit2: 0 npit: 1 
singlepar: 0size: 1
BufferView::updateMetrics
ParPosCache contains:
Text:0x927ef04
Paragraph 0: "" has point 0,39
InsetCache contains:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/debug/vector:201:error: 
    attempt to subscript container with out-of-bounds index 0, but     
    container only holds 0 elements.

Objects involved in the operation:
sequence "this" @ 0x0x9246cf4 {
  type = N15__gnu_debug_def6vectorISsSaISsEEE;
}
Aborted



pavel

Reply via email to