Trac comments don't seem to go out to the lyx-devel list so I'm forwarding this.
-- Manoj ---------- Forwarded Message ---------- Subject: Re: #6564: Crash on moving out of math-cases placed in table cell Date: Tuesday 02 March 2010 From: "LyX Ticket Tracker" <[email protected]> To: [email protected], [email protected] #6564: Crash on moving out of math-cases placed in table cell ---------------------+------------------------------------------------------ Reporter: rmanoj | Owner: lasgouttes Type: defect | Status: new Priority: normal | Milestone: 2.0.0 Component: general | Version: 2.0.0svn Severity: normal | Keywords: ---------------------+------------------------------------------------------ Comment(by rmanoj): The offending line seems to be the LASSERT(asInsetMath()) in CursorSlice::row() at level #6 in the above backtrace. In GDB, at level #6 (i.e. within CursorSlice), inset_->asInsetMath() returns 0x0 whereas inset_->asInsetTabular() returns non-zero. Also, inset_->as<other insets>() returns 0x0. This means that the current inset is the text-mode table (InsetTabular). My guess is that as we move between the InsetTabular and the enclosed InsetMath derivative, the CursorSlice stack (vector<CursorSlices> Cursor::slices_) is not being adjusted properly. -- Ticket URL: <http://www.lyx.org/trac/ticket/6564#comment:13> The LyX Project <http://www.lyx.org/> LyX -- The Document Processor -------------------------------------------------------
