On 22/11/2008 20:41, Enrico Forestieri wrote:
On Sat, Nov 22, 2008 at 07:23:56PM +0100, Abdelrazak Younes wrote:
Actually the internal buffer is properly created and deleted; IOW I
cannot reproduce the assertion... Do you still can?
The bug does not always happens. Here is a recipe for triggering it:
1) Load and preview the user guide (DVI or PDF)
2) Quit LyX
../../../src/support/FileName.cpp(602): Could not delete
/tmp/lyx_tmpdir.JL3220/lyx_tmpbuf1
../../../src/support/lassert.cpp(21): ASSERTION singleton_ VIOLATED IN
../../src/LyX.cpp:1221
Assertion triggered in void lyx::doAssert(const char*, const char*, long int) by failing
check "false" in file ../../../src/support/lassert.cpp:23
Segmentation fault (core dumped)
OK thanks. Bu then this has nothing to do with the internal Buffer stuff
used in clipboard and FindAndReplace. MSVC tells me that the faulty
Buffer comes from lyx::MacroData::expand(), I'll have a deeper look.
Abdel.