Hello everybody,

found a few bugs in 1.1.4pre2. I attach the purify output to this email. 

In case you want to give some feedback or ask me for further details
(well, I am not quite sure whether I can give you further details),
please send an email directly to my address as the WWW access to the
mailing seems to be disturbed (no new mails since Jan 14th)

Michael

-- 
======================================================================
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
======================================================================
Closed an arbitrary document

      FMR: Free memory read
      This is occurring while in:
            _Ximp_Local_CloseIM [localIM.c]
            XCloseIM       [IMWrap.c]
            void CloseLyXLookup() [lyxlookup.C:197]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]
      Reading 4 bytes from 0xf13470 in the heap.
      Address 0xf13470 is 144 bytes into a freed  block at 0xf133e0 of 156 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            _XimpLocalOpenIM [XimpParser.c]
            _XsunOpenIM    [XsunDL.c]
            XOpenIM        [IMWrap.c]
            void InitLyXLookup(_XDisplay*,unsigned long) [lyxlookup.C:50]
            void LyXView::show(int,int,const char*) [LyXView.C:151]
            void LyXGUI::create_forms() [lyx_gui.C:611]
            void LyXGUI::init() [lyx_gui.C:241]
            LyX::LyX(int*,char**) [lyx_main.C:83]
            main           [main.C:43]
            _start         [crt1.o]
      There have been 0 frees since this block was freed from:
            free           [rtlib.o]
            _Ximp_Local_CloseIM [localIM.c]
            XCloseIM       [IMWrap.c]
            void CloseLyXLookup() [lyxlookup.C:197]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]


Opened one of my own files:

=====>FMW: Free memory write
      This is occurring while in:
            void runqueue() [libinsets.a]
            void sigchldchecker(long,int*) [figinset.C:889]
            void sigchldhandler(long,int*) [spellchecker.C:804]
            void BufferView::CursorToggleCB(flobjs_*,long) [BufferView.C:1489]
            C_BufferView_CursorToggleCB [BufferView.C:528]
            fl_object_qread [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:634]
            LyX::LyX(int*,char**) [lyx_main.C:129]
            main           [main.C:43]
            _start         [crt1.o]
      Writing 4 bytes to 0x9ceffc in the heap.
      Address 0x9ceffc is 36 bytes into a freed  block at 0x9cefd8 of 40 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            c2n6Fi_Pv_     [libCrun.so.1]
            void*operator new(unsigned) [rtlib.o]
            figdata*getfigdata(int,int,const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> 
>&,int,int,int,int,int,int,float,char) [libinsets.a]
            void InsetFig::Recompute() [figinset.C:1716]
            void InsetFig::Read(LyXLex&) [figinset.C:1234]
            bool Buffer::readLyXformat2(LyXLex&,LyXParagraph*) [buffer.C:880]
            bool Buffer::readFile(LyXLex&,LyXParagraph*) [buffer.C:1128]
            Buffer*BufferList::readFile(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,bool) 
[bufferlist.C:466]
            Buffer*BufferList::loadLyXFile(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,bool) 
[bufferlist.C:584]
            LyX::LyX(int*,char**) [lyx_main.C:97]
            main           [main.C:43]
            _start         [crt1.o]
      There have been 5642 frees since this block was freed from:
            free           [rtlib.o]
            c2k6FPv_v_     [libCrun.so.1]
            void operator delete(void*) [rtlib.o]
            void freefigdata(figdata*) [libinsets.a]
            void UnregisterFigure(InsetFig*) [libinsets.a]
            InsetFig::~InsetFig() [figinset.C:1063]
            __SLIP.DELETER__B [libinsets.a]
            LyXParagraph::~LyXParagraph() [paragraph.C:549]
            Buffer::~Buffer() [buffer.C:155]
            void BufferStorage::release(Buffer*) [bufferlist.C:59]
            bool BufferList::close(Buffer*) [bufferlist.C:277]
            void LyXFunc::CloseBuffer() [lyxfunc.C:2815]
            std::basic_string<char,std::char_traits<char>,std::allocator<char> 
>LyXFunc::Dispatch(int,const char*) [lyxfunc.C:682]
            void Menus::ShowFileMenu(flobjs_*,long) [menus.C:628]
            C_Menus_ShowFileMenu [menus.C:68]
            fl_object_qread [libforms.a]
            fl_check_forms [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:634]
            LyX::LyX(int*,char**) [lyx_main.C:129]
            main           [main.C:43]
            _start         [crt1.o]


Simply loaded the Lyx User's Guide:

      UMR: Uninitialized memory read (5 times)
      This is occurring while in:
            int LyXText::LeftMargin(const Row*)const [text.C:432]
            int LyXText::Fill(const Row*,int)const [text.C:785]
            void LyXText::AppendParagraph(Row*)const [text.C:1266]
            void LyXText::InsertParagraph(LyXParagraph*,Row*)const [text2.C:325]
            LyXText::LyXText(int,Buffer*) [text2.C:62]
            int BufferView::resizeCurrentBuffer() [BufferView.C:436]
            void BufferView::buffer(Buffer*) [BufferView.C:242]
            void Menus::MenuDocu(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [menus.C:1672]
            void Menus::ShowHelpMenu(flobjs_*,long) [menus.C:1641]
            C_Menus_ShowHelpMenu [menus.C:108]
            fl_object_qread [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:634]
            LyX::LyX(int*,char**) [lyx_main.C:129]
            main           [main.C:43]
            _start         [crt1.o]
      Reading 4 bytes from 0x19345b4 in the heap.
      Address 0x19345b4 is 12 bytes into a malloc'd block at 0x19345a8 of 28 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            c2n6Fi_Pv_     [libCrun.so.1]
            void*operator new(unsigned) [rtlib.o]
            void LyXText::InsertRow(Row*,LyXParagraph*,int)const [text2.C:235]
            void LyXText::AppendParagraph(Row*)const [text.C:1258]
            void LyXText::InsertParagraph(LyXParagraph*,Row*)const [text2.C:325]
            LyXText::LyXText(int,Buffer*) [text2.C:62]
            int BufferView::resizeCurrentBuffer() [BufferView.C:436]
            void BufferView::buffer(Buffer*) [BufferView.C:242]
            void Menus::MenuDocu(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [menus.C:1672]
            void Menus::ShowHelpMenu(flobjs_*,long) [menus.C:1641]
            C_Menus_ShowHelpMenu [menus.C:108]
            fl_object_qread [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:634]
            LyX::LyX(int*,char**) [lyx_main.C:129]
            main           [main.C:43]
            _start         [crt1.o]


+++++>ABR: Array bounds read
      This is occurring while in:
            islower        [lyxfont.o]
            int LyXFont::textWidth(const char*,int)const [lyxfont.C:889]
            int LyXFont::width(char)const [lyxfont.C:844]
            int LyXText::SingleWidth(LyXParagraph*,int,char)const [text.C:63]
            int LyXText::NextBreakPoint(const Row*,int)const [text.C:708]
            void LyXText::AppendParagraph(Row*)const [text.C:1251]
            void LyXText::InsertParagraph(LyXParagraph*,Row*)const [text2.C:325]
            LyXText::LyXText(int,Buffer*) [text2.C:62]
            int BufferView::resizeCurrentBuffer() [BufferView.C:436]
            void BufferView::buffer(Buffer*) [BufferView.C:242]
            void Menus::MenuDocu(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [menus.C:1672]
            void Menus::ShowHelpMenu(flobjs_*,long) [menus.C:1641]
            C_Menus_ShowHelpMenu [menus.C:108]
            fl_object_qread [libforms.a]
            void LyXGUI::runTime() [lyx_gui.C:634]
            LyX::LyX(int*,char**) [lyx_main.C:129]
            main           [main.C:43]
            _start         [crt1.o]
      Reading 1 byte from 0x8bc062 in the zero'd data, bss section.
      Address 0x8bc062 is      126 bytes past start of global variable 
"pure_thread_stacks_overlap".
      This is defined in purelyx.

Ok, I closed it again:

      FMR: Free memory read
      This is occurring while in:
            XDestroyIC     [ICWrap.c]
            void CloseLyXLookup() [lyxlookup.C:195]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]
      Reading 4 bytes from 0xefe870 in the heap.
      Address 0xefe870 is 8 bytes into a freed  block at 0xefe868 of 256 bytes.
      This block was allocated from:
            malloc         [rtlib.o]
            _CreateIC      [XSunIMIF.c]
            XCreateIC      [ICWrap.c]
            void InitLyXLookup(_XDisplay*,unsigned long) [lyxlookup.C:52]
            void LyXView::show(int,int,const char*) [LyXView.C:151]
            void LyXGUI::create_forms() [lyx_gui.C:611]
            void LyXGUI::init() [lyx_gui.C:241]
            LyX::LyX(int*,char**) [lyx_main.C:83]
            main           [main.C:43]
            _start         [crt1.o]
      There have been 0 frees since this block was freed from:
            free           [rtlib.o]
            XDestroyIC     [ICWrap.c]
            void CloseLyXLookup() [lyxlookup.C:195]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]


=====>FUM: Freeing unallocated memory
      This is occurring while in:
            free           [rtlib.o]
            void CloseLyXLookup() [lyxlookup.C:195]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]
      Attempting to free block at 0xefe868 already freed.
      This block was allocated from:
            malloc         [rtlib.o]
            _CreateIC      [XSunIMIF.c]
            XCreateIC      [ICWrap.c]
            void InitLyXLookup(_XDisplay*,unsigned long) [lyxlookup.C:52]
            void LyXView::show(int,int,const char*) [LyXView.C:151]
            void LyXGUI::create_forms() [lyx_gui.C:611]
            void LyXGUI::init() [lyx_gui.C:241]
            LyX::LyX(int*,char**) [lyx_main.C:83]
            main           [main.C:43]
            _start         [crt1.o]
      There have been 1 frees since this block was freed from:
            free           [rtlib.o]
            XDestroyIC     [ICWrap.c]
            void CloseLyXLookup() [lyxlookup.C:195]
            LyXGUI::~LyXGUI() [lyx_gui.C:209]
            LyX::~LyX()    [lyx_main.C:140]
            main           [main.C:44]
            _start         [crt1.o]

S/MIME Cryptographic Signature

Reply via email to