https://bugs.freedesktop.org/show_bug.cgi?id=64424

--- Comment #3 from Julien Nabet <[email protected]> ---
Created attachment 79120
  --> https://bugs.freedesktop.org/attachment.cgi?id=79120&action=edit
bt after naive patch

On pc Debian x86-64 with master sources updated today, I reproduced the crash
with same bt as Joren.

I noticed this:
    244     GetParaPortions().Reset();
    245 
    246     ParaPortion* pIniPortion = new ParaPortion( aEditDoc[0] );
    247     GetParaPortions().Insert(0, pIniPortion);

GetParaPortions is declared twice in editeng/source/editeng/editeng.cxx and
editeng/source/editeng/impedit.hxx one is const, the other is non const
In both case, it returns "aParaPortionList" which has the type
"ParaPortionList".
This last one is a class (present in editdoc.hxx/cxx) containing
boost::ptr_vector<ParaPortion> maPortions

Since "Reset" method clear the ptr_vector (see
http://opengrok.libreoffice.org/xref/core/editeng/source/editeng/editdoc.cxx#759)
I thought that replacing the call to "Insert" by a call to "Append" would help.
But I had a new bt attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to