On 15/07/2009 18:16, rgheck wrote:
Well, the problem here is that InsetMathChar *explicitly* doesn't have its buffer_ set. Abdel did this at r23362, with the message: "We don't want a buffer_ member in InsetMathChar." But I don't know why we wouldn't. In any event, if one removes the lines he added there, then the crash goes away. I don't know if this is connected to the fix at r23363. There isn't all that much in the threads around that time.

In case this question was left unanswered, we don't want a buffer_ member in InsetMathChar because this sucks 4 bytes of memory for each inset. And, AFAICS, there's no need to access the Buffer in an InsetMathChar.

So, if we face a call to InsetMathChar::buffer() is done then this is an indication of some problem before that call.

Abdel.

Reply via email to