Hi,

despite the most recent fixes there is still a problem with cutting a
region covering two paragraphs:

      FMR: Free memory read
      This is occurring while in:
            LyXParagraph*LyXParagraph::Next() [paragraph.C:1197]
            void LyXText::CutSelection(bool) [text2.C:2227]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]
      Reading 4 bytes from 0xcfc97c in the heap.
      Address 0xcfc97c is 196 bytes into a freed  block at 0xcfc8b8 of
260 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            c2n6Fi_Pv_     [libCrun.so.1]
            void*operator new(unsigned) [rtlib.o]
            void LyXParagraph::BreakParagraphConservative(int)
[paragraph.C:1570]
            bool
CutAndPaste::cutSelection(LyXParagraph*,LyXParagraph**,int,int&,char,bool)
[CutAndPaste.C:96]
            void LyXText::CutSelection(bool) [text2.C:2221]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]
      There have been 0 frees since this block was freed from:
            free           [rtlib.o]
            c2k6FPv_v_     [libCrun.so.1]
            void operator delete(void*) [rtlib.o]
            void LyXParagraph::PasteParagraph() [paragraph.C:1624]
            bool
CutAndPaste::cutSelection(LyXParagraph*,LyXParagraph**,int,int&,char,bool)
[CutAndPaste.C:129]
            void LyXText::CutSelection(bool) [text2.C:2221]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]
      FMR: Free memory read
      This is occurring while in:
            LyXParagraph*LyXParagraph::Next() [paragraph.C:1209]
            void LyXText::CutSelection(bool) [text2.C:2227]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]
      Reading 4 bytes from 0xcfc97c in the heap.
      Address 0xcfc97c is 196 bytes into a freed  block at 0xcfc8b8 of
260 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            c2n6Fi_Pv_     [libCrun.so.1]
            void*operator new(unsigned) [rtlib.o]
            void LyXParagraph::BreakParagraphConservative(int)
[paragraph.C:1570]
            bool
CutAndPaste::cutSelection(LyXParagraph*,LyXParagraph**,int,int&,char,bool)
[CutAndPaste.C:96]
            void LyXText::CutSelection(bool) [text2.C:2221]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]
      There have been 0 frees since this block was freed from:
            free           [rtlib.o]
            c2k6FPv_v_     [libCrun.so.1]
            void operator delete(void*) [rtlib.o]
            void LyXParagraph::PasteParagraph() [paragraph.C:1624]
            bool
CutAndPaste::cutSelection(LyXParagraph*,LyXParagraph**,int,int&,char,bool)
[CutAndPaste.C:129]
            void LyXText::CutSelection(bool) [text2.C:2221]
            void BufferView::cut() [BufferView2.C:587]
           
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:910]
            int LyXFunc::processKeyEvent(_XEvent*) [lyxfunc.C:305]
            int LyXView::KeyPressMask_raw_callback(forms_*,void*)
[LyXView.C:419]
            C_LyXView_KeyPressMask_raw_callback [LyXView.C:452]
            do_interaction_step [libforms.a]
            fl_treat_interaction_events [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:621]
            LyX::LyX(int*,char**) [lyx_main.C:148]
            main           [main.C:75]
            _start         [crt1.o]

-- 
======================================================================
Michael Schmitt                            phone:     +49 451 500 3725
Institute for Telematics                   secretary: +49 451 500 3721
Medical University of Luebeck              fax:       +49 451 500 3722
Ratzeburger Allee 160              eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany           WWW:   http://www.itm.mu-luebeck.de
======================================================================

Reply via email to