==12772== Invalid read of size 8 ==12772== at 0x2563F903: TextPortion::~TextPortion() (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libeditenglo.so) ==12772== by 0x256CCCDF: ImpEditEngine::RecalcTextPortion(ParaPortion*, unsigned short, short) (impedit3.cxx:2439) ==12772== by 0x256C443F: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:693) ==12772== by 0x256C2EF2: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==12772== by 0x256D47FA: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4042) ==12772== by 0x2565A43B: EditEngine::PostKeyEvent(KeyEvent const&, EditView*, Window*) (editeng.cxx:1280) ==12772== by 0x2569C1D4: ImpEditView::PostKeyEvent(KeyEvent const&, Window*) (impedit.cxx:1023) ==12772== by 0x256799CB: EditView::PostKeyEvent(KeyEvent const&, Window*) (editview.cxx:409) ==12772== by 0x257A2BCB: OutlinerView::PostKeyEvent(KeyEvent const&, Window*) (outlvw.cxx:260) ==12772== by 0x3FCFD801: sd::DrawViewShell::FuSupport(SfxRequest&) (drviewse.cxx:880) ==12772== by 0x3FD09254: SfxStubDrawViewShellFuSupport(SfxShell*, SfxRequest&) (sdslots.hxx:1136) ==12772== by 0x733EBB1: SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:199) ==12772== by 0x733774B: SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) (dispatch.cxx:262) ==12772== by 0x733A96D: SfxDispatcher::PostMsgHandler(SfxRequest*) (dispatch.cxx:1247) ==12772== by 0x733A828: SfxDispatcher::LinkStubPostMsgHandler(void*, void*) (dispatch.cxx:1218) ==12772== by 0x727BEFF: Link::Call(void*) const (link.hxx:143) ==12772== by 0x756303E: GenLink::Call(void*) (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libsfxlo.so) ==12772== by 0x7562EDE: SfxHintPoster::Event(SfxHint*) (hintpost.cxx:71) ==12772== by 0x756306F: SfxHintPoster::DoEvent_Impl(SfxHint*) (hintpost.cxx:61) ==12772== by 0x7562EB4: SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (hintpost.cxx:65) ==12772== by 0x9F0AC87: Link::Call(void*) const (link.hxx:143) ==12772== by 0xA3BDD18: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1991) ==12772== by 0xA3BEFD3: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2563) ==12772== by 0xA3D0D98: SalFrame::CallCallback(unsigned short, void const*) const (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libvcllo.so) ==12772== by 0xA3D080B: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:102) ==12772== by 0x15747BE3: GtkData::userEventFn(void*) (gtkdata.cxx:942) ==12772== by 0x15747C3A: call_userEventFn (gtkdata.cxx:952) ==12772== by 0x17BAF0CE: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAF8C7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAFA98: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x15746B65: GtkData::Yield(bool, bool) (gtkdata.cxx:581) ==12772== by 0x1574A7C7: GtkInstance::Yield(bool, bool) (gtkinst.cxx:606) ==12772== by 0x9F2294C: ImplYield(bool, bool) (svapp.cxx:451) ==12772== by 0x9F1ED68: Application::Yield(bool) (svapp.cxx:485) ==12772== by 0x9F1ED09: Application::Execute() (svapp.cxx:430) ==12772== by 0x4D226D2: desktop::Desktop::Main() (app.cxx:1804) ==12772== by 0x9F2B3E9: ImplSVMain() (svmain.cxx:183) ==12772== by 0x9F2B52F: SVMain() (svmain.cxx:220) ==12772== by 0x4D61DF9: soffice_main (sofficemain.cxx:79) ==12772== by 0x400733: sal_main (main.c:34) ==12772== by 0x400718: main (main.c:33) ==12772== Address 0x20355f20 is 0 bytes inside a block of size 40 free'd ==12772== at 0x402873C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12772== by 0x25652AC3: void boost::checked_delete(TextPortion const*) (checked_delete.hpp:34) ==12772== by 0x2565190A: void boost::delete_clone(TextPortion const*) (clone_allocator.hpp:56) ==12772== by 0x2564FC7D: void boost::heap_clone_allocator::deallocate_clone(TextPortion const*) (clone_allocator.hpp:74) ==12772== by 0x2564CCA9: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::null_clone_allocator::deallocate_clone(TextPortion const*) (reversible_ptr_container.hpp:126) ==12772== by 0x2564924A: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::null_policy_deallocate_clone(TextPortion const*) (reversible_ptr_container.hpp:276) ==12772== by 0x25644EE7: void boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::remove > >, std::__debug::vector > >, TextPortion> >(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator > >, std::__debug::vector > >, TextPortion>) (reversible_ptr_container.hpp:250) ==12772== by 0x25640950: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator > >, std::__debug::vector > >, TextPortion>) (reversible_ptr_container.hpp:582) ==12772== by 0x25630663: TextPortionList::Remove(unsigned long) (editdoc.cxx:451) ==12772== by 0x256CCCCE: ImpEditEngine::RecalcTextPortion(ParaPortion*, unsigned short, short) (impedit3.cxx:2438) ==12772== by 0x256C443F: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:693) ==12772== by 0x256C2EF2: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==12772== by 0x256D47FA: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4042) ==12772== by 0x2565A43B: EditEngine::PostKeyEvent(KeyEvent const&, EditView*, Window*) (editeng.cxx:1280) ==12772== by 0x2569C1D4: ImpEditView::PostKeyEvent(KeyEvent const&, Window*) (impedit.cxx:1023) ==12772== by 0x256799CB: EditView::PostKeyEvent(KeyEvent const&, Window*) (editview.cxx:409) ==12772== by 0x257A2BCB: OutlinerView::PostKeyEvent(KeyEvent const&, Window*) (outlvw.cxx:260) ==12772== by 0x3FCFD801: sd::DrawViewShell::FuSupport(SfxRequest&) (drviewse.cxx:880) ==12772== by 0x3FD09254: SfxStubDrawViewShellFuSupport(SfxShell*, SfxRequest&) (sdslots.hxx:1136) ==12772== by 0x733EBB1: SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:199) ==12772== by 0x733774B: SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) (dispatch.cxx:262) ==12772== by 0x733A96D: SfxDispatcher::PostMsgHandler(SfxRequest*) (dispatch.cxx:1247) ==12772== by 0x733A828: SfxDispatcher::LinkStubPostMsgHandler(void*, void*) (dispatch.cxx:1218) ==12772== by 0x727BEFF: Link::Call(void*) const (link.hxx:143) ==12772== by 0x756303E: GenLink::Call(void*) (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libsfxlo.so) ==12772== by 0x7562EDE: SfxHintPoster::Event(SfxHint*) (hintpost.cxx:71) ==12772== by 0x756306F: SfxHintPoster::DoEvent_Impl(SfxHint*) (hintpost.cxx:61) ==12772== by 0x7562EB4: SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (hintpost.cxx:65) ==12772== by 0x9F0AC87: Link::Call(void*) const (link.hxx:143) ==12772== by 0xA3BDD18: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1991) ==12772== by 0xA3BEFD3: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2563) ==12772== by 0xA3D0D98: SalFrame::CallCallback(unsigned short, void const*) const (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libvcllo.so) ==12772== by 0xA3D080B: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:102) ==12772== by 0x15747BE3: GtkData::userEventFn(void*) (gtkdata.cxx:942) ==12772== by 0x15747C3A: call_userEventFn (gtkdata.cxx:952) ==12772== by 0x17BAF0CE: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAF8C7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAFA98: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x15746B65: GtkData::Yield(bool, bool) (gtkdata.cxx:581) ==12772== by 0x1574A7C7: GtkInstance::Yield(bool, bool) (gtkinst.cxx:606) ==12772== by 0x9F2294C: ImplYield(bool, bool) (svapp.cxx:451) ==12772== by 0x9F1ED68: Application::Yield(bool) (svapp.cxx:485) ==12772== by 0x9F1ED09: Application::Execute() (svapp.cxx:430) ==12772== by 0x4D226D2: desktop::Desktop::Main() (app.cxx:1804) ==12772== by 0x9F2B3E9: ImplSVMain() (svmain.cxx:183) ==12772== by 0x9F2B52F: SVMain() (svmain.cxx:220) ==12772== by 0x4D61DF9: soffice_main (sofficemain.cxx:79) ==12772== by 0x400733: sal_main (main.c:34) ==12772== by 0x400718: main (main.c:33) ==12772== ==12772== Invalid free() / delete / delete[] / realloc() ==12772== at 0x402873C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12772== by 0x256CCCE7: ImpEditEngine::RecalcTextPortion(ParaPortion*, unsigned short, short) (impedit3.cxx:2439) ==12772== by 0x256C443F: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:693) ==12772== by 0x256C2EF2: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==12772== by 0x256D47FA: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4042) ==12772== by 0x2565A43B: EditEngine::PostKeyEvent(KeyEvent const&, EditView*, Window*) (editeng.cxx:1280) ==12772== by 0x2569C1D4: ImpEditView::PostKeyEvent(KeyEvent const&, Window*) (impedit.cxx:1023) ==12772== by 0x256799CB: EditView::PostKeyEvent(KeyEvent const&, Window*) (editview.cxx:409) ==12772== by 0x257A2BCB: OutlinerView::PostKeyEvent(KeyEvent const&, Window*) (outlvw.cxx:260) ==12772== by 0x3FCFD801: sd::DrawViewShell::FuSupport(SfxRequest&) (drviewse.cxx:880) ==12772== by 0x3FD09254: SfxStubDrawViewShellFuSupport(SfxShell*, SfxRequest&) (sdslots.hxx:1136) ==12772== by 0x733EBB1: SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:199) ==12772== by 0x733774B: SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) (dispatch.cxx:262) ==12772== by 0x733A96D: SfxDispatcher::PostMsgHandler(SfxRequest*) (dispatch.cxx:1247) ==12772== by 0x733A828: SfxDispatcher::LinkStubPostMsgHandler(void*, void*) (dispatch.cxx:1218) ==12772== by 0x727BEFF: Link::Call(void*) const (link.hxx:143) ==12772== by 0x756303E: GenLink::Call(void*) (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libsfxlo.so) ==12772== by 0x7562EDE: SfxHintPoster::Event(SfxHint*) (hintpost.cxx:71) ==12772== by 0x756306F: SfxHintPoster::DoEvent_Impl(SfxHint*) (hintpost.cxx:61) ==12772== by 0x7562EB4: SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (hintpost.cxx:65) ==12772== by 0x9F0AC87: Link::Call(void*) const (link.hxx:143) ==12772== by 0xA3BDD18: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1991) ==12772== by 0xA3BEFD3: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2563) ==12772== by 0xA3D0D98: SalFrame::CallCallback(unsigned short, void const*) const (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libvcllo.so) ==12772== by 0xA3D080B: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:102) ==12772== by 0x15747BE3: GtkData::userEventFn(void*) (gtkdata.cxx:942) ==12772== by 0x15747C3A: call_userEventFn (gtkdata.cxx:952) ==12772== by 0x17BAF0CE: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAF8C7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAFA98: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x15746B65: GtkData::Yield(bool, bool) (gtkdata.cxx:581) ==12772== by 0x1574A7C7: GtkInstance::Yield(bool, bool) (gtkinst.cxx:606) ==12772== by 0x9F2294C: ImplYield(bool, bool) (svapp.cxx:451) ==12772== by 0x9F1ED68: Application::Yield(bool) (svapp.cxx:485) ==12772== by 0x9F1ED09: Application::Execute() (svapp.cxx:430) ==12772== by 0x4D226D2: desktop::Desktop::Main() (app.cxx:1804) ==12772== by 0x9F2B3E9: ImplSVMain() (svmain.cxx:183) ==12772== by 0x9F2B52F: SVMain() (svmain.cxx:220) ==12772== by 0x4D61DF9: soffice_main (sofficemain.cxx:79) ==12772== by 0x400733: sal_main (main.c:34) ==12772== by 0x400718: main (main.c:33) ==12772== Address 0x20355f20 is 0 bytes inside a block of size 40 free'd ==12772== at 0x402873C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12772== by 0x25652AC3: void boost::checked_delete(TextPortion const*) (checked_delete.hpp:34) ==12772== by 0x2565190A: void boost::delete_clone(TextPortion const*) (clone_allocator.hpp:56) ==12772== by 0x2564FC7D: void boost::heap_clone_allocator::deallocate_clone(TextPortion const*) (clone_allocator.hpp:74) ==12772== by 0x2564CCA9: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::null_clone_allocator::deallocate_clone(TextPortion const*) (reversible_ptr_container.hpp:126) ==12772== by 0x2564924A: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::null_policy_deallocate_clone(TextPortion const*) (reversible_ptr_container.hpp:276) ==12772== by 0x25644EE7: void boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::remove > >, std::__debug::vector > >, TextPortion> >(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator > >, std::__debug::vector > >, TextPortion>) (reversible_ptr_container.hpp:250) ==12772== by 0x25640950: boost::ptr_container_detail::reversible_ptr_container > >, boost::heap_clone_allocator>::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator > >, std::__debug::vector > >, TextPortion>) (reversible_ptr_container.hpp:582) ==12772== by 0x25630663: TextPortionList::Remove(unsigned long) (editdoc.cxx:451) ==12772== by 0x256CCCCE: ImpEditEngine::RecalcTextPortion(ParaPortion*, unsigned short, short) (impedit3.cxx:2438) ==12772== by 0x256C443F: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:693) ==12772== by 0x256C2EF2: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==12772== by 0x256D47FA: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4042) ==12772== by 0x2565A43B: EditEngine::PostKeyEvent(KeyEvent const&, EditView*, Window*) (editeng.cxx:1280) ==12772== by 0x2569C1D4: ImpEditView::PostKeyEvent(KeyEvent const&, Window*) (impedit.cxx:1023) ==12772== by 0x256799CB: EditView::PostKeyEvent(KeyEvent const&, Window*) (editview.cxx:409) ==12772== by 0x257A2BCB: OutlinerView::PostKeyEvent(KeyEvent const&, Window*) (outlvw.cxx:260) ==12772== by 0x3FCFD801: sd::DrawViewShell::FuSupport(SfxRequest&) (drviewse.cxx:880) ==12772== by 0x3FD09254: SfxStubDrawViewShellFuSupport(SfxShell*, SfxRequest&) (sdslots.hxx:1136) ==12772== by 0x733EBB1: SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:199) ==12772== by 0x733774B: SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) (dispatch.cxx:262) ==12772== by 0x733A96D: SfxDispatcher::PostMsgHandler(SfxRequest*) (dispatch.cxx:1247) ==12772== by 0x733A828: SfxDispatcher::LinkStubPostMsgHandler(void*, void*) (dispatch.cxx:1218) ==12772== by 0x727BEFF: Link::Call(void*) const (link.hxx:143) ==12772== by 0x756303E: GenLink::Call(void*) (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libsfxlo.so) ==12772== by 0x7562EDE: SfxHintPoster::Event(SfxHint*) (hintpost.cxx:71) ==12772== by 0x756306F: SfxHintPoster::DoEvent_Impl(SfxHint*) (hintpost.cxx:61) ==12772== by 0x7562EB4: SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (hintpost.cxx:65) ==12772== by 0x9F0AC87: Link::Call(void*) const (link.hxx:143) ==12772== by 0xA3BDD18: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1991) ==12772== by 0xA3BEFD3: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2563) ==12772== by 0xA3D0D98: SalFrame::CallCallback(unsigned short, void const*) const (in /home/julien/compile-libreoffice/libo/solver/unxlngx6/lib/libvcllo.so) ==12772== by 0xA3D080B: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:102) ==12772== by 0x15747BE3: GtkData::userEventFn(void*) (gtkdata.cxx:942) ==12772== by 0x15747C3A: call_userEventFn (gtkdata.cxx:952) ==12772== by 0x17BAF0CE: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAF8C7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x17BAFA98: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.2) ==12772== by 0x15746B65: GtkData::Yield(bool, bool) (gtkdata.cxx:581) ==12772== by 0x1574A7C7: GtkInstance::Yield(bool, bool) (gtkinst.cxx:606) ==12772== by 0x9F2294C: ImplYield(bool, bool) (svapp.cxx:451) ==12772== by 0x9F1ED68: Application::Yield(bool) (svapp.cxx:485) ==12772== by 0x9F1ED09: Application::Execute() (svapp.cxx:430) ==12772== by 0x4D226D2: desktop::Desktop::Main() (app.cxx:1804) ==12772== by 0x9F2B3E9: ImplSVMain() (svmain.cxx:183) ==12772== by 0x9F2B52F: SVMain() (svmain.cxx:220) ==12772== by 0x4D61DF9: soffice_main (sofficemain.cxx:79) ==12772== by 0x400733: sal_main (main.c:34) ==12772== by 0x400718: main (main.c:33) ==12772==