Re: crash in ExportData::addExternalFile

2004-06-03 Thread Georg Baum
Angus Leeming wrote: > Attached is a 'reasonable' patch, which I'll commit. Thanks. You are too quick for me! The only thing that I don't understand is that I could not reproduce the crash. Georg

Re: crash in ExportData::addExternalFile

2004-06-03 Thread Angus Leeming
Angus Leeming wrote: > Ok, the crash occurs because runparams.exportdata == 0, so the > dereferencing that occurs here is bogus. > > int InsetExternal::latex(Buffer const & buf, ostream & os, > OutputParams const & runparams) const > { > return external::writeExter

Re: crash in ExportData::addExternalFile

2004-06-03 Thread Angus Leeming
Angus Leeming wrote: > Georg, > > the attached test case crashes in ExportData::addExternalFile, so > I suspect this is an artefact of your recent changes. > > To trigger the crash: > * fire up lyx > * turn instant previewing on (Edit->Preferences dialog, Graphics > pane). * open crash.lyx > * op