John Levon wrote: > On Mon, Mar 03, 2003 at 02:36:18AM +0900, Rob Lahaye wrote: >>The attached patch prettifies the Xforms Changes dialog. >>I think it also fixes the dis/enable-buttons, when nothing is in the >>changed list. > > I got a crash from this I didn't get in my other tree. Maybe not the > patches fault,
No it's not, as I explained in an earlier email. The crash occurs when more than one document is opened and one of them has changes switched on. As soon as you click in a text field that is marked by Changes, LyX crashes. The crash occurs in src/author.C AuthorList::get at line 80: 77: Author const & AuthorList::get(int id) 78: { 79: Authors::const_iterator it(authors_.find(id)); 80 lyx::Assert(it != authors_.end()); 81: return it->second; 82: } The integer "id" is zero, but that is not the real problem, since the value is zero also when only one document is opened (and LyX does not crash then). Any idea why this is causing a crash only for the case of more than one document opened? For some reason 'it == authors_.end()' when more than one document is open.... Regards, Rob.