On Mon, Jul 14, 2008 at 03:12:11AM +0200, Pavel Sanda wrote: > [EMAIL PROTECTED] wrote: > > Author: rgheck > > Date: Sun Jul 13 21:34:56 2008 > > New Revision: 25584 > > > > URL: http://www.lyx.org/trac/changeset/25584 > > Log: > > Redo 25580 the right way. (Failure to initialize bparams had caused > > constant crashes.) > > > > Modified: > > lyx-devel/trunk/src/Undo.cpp > > i guess the recent crash has something to do with the undo tweaks: > 1. launch lyx, new file, set Bibliography environment > 2. click on key-1, add some label, press ok; enter next error dialog > 3. exit lyx, discard changes > 4. kaboom > > Program received signal SIGSEGV, Segmentation fault. > lyx::BufferParams::MemoryTraits::destroy (ptr=0x48) at > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:283 > 283 { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } > (gdb) bt > #0 lyx::BufferParams::MemoryTraits::destroy (ptr=0x48) at > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:283 > #1 0x080a3a7a in ~BufferParams (this=0x8a30538) at > ../../../src/BufferParams.h:52 > #2 0x0820436e in ~UndoElement (this=0x8a19d74) at Undo.cpp:82
Grpmf. Did they really put in the undo improvements five minutes before beta4 was released? Andre'