Re: XForms: [Michael Schmitt <schmitt@itm.mu-luebeck.de>] Sorry, guys - Purify report

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Sun Jun 11 2000 - 13:50:48 EDT

  • Next message: T.C. Zhao: "Re: XForms: input Linux"

    # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

    xforms's been "purified" many times, but given the information
    below, I think it would be a good idea for me to run
    purify again focusing on keyboard handling.

    --- Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> wrote:
    > # To subscribers of the xforms list from Jean-Marc Lasgouttes
    > <Jean-Marc.Lasgouttes@inria.fr> :
    >
    >
    > Hello,
    >
    > We got a purify (a memory checker tool) report on LyX, and I suspect
    > the problem is located in xforms. What kind of information could I
    > give to help debug this? Fell free to ask for help to decipher the
    > reports.
    >
    > JMarc
    >
    > ------- Start of forwarded message -------
    > Date: Mon, 05 Jun 2000 12:23:23 +0200
    > From: Michael Schmitt <schmitt@itm.mu-luebeck.de>
    > To: Lyx <lyx-devel@lists.lyx.org>
    > Subject: Sorry, guys - Purify report
    >
    > Sorry,
    >
    > one of our students included a couple of figures in his lyx document,
    > resized
    > the eps files and the like. During one of these operations (we do not
    > know what
    > it actually was) the following reports occured. Any idea?
    >
    > Michael
    >
    > PS: Thank god, Lyx didn't crash. But nevertheless it doesn't look
    > good.
    >
    >
    > [Suppressed] UMR: Uninitialized memory read (2 times)
    > Suppressed in /home/schmitt/Programme/lyxcvs/bin/.purify
    > [line
    > 11]
    > This is occurring while in:
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > void LyXGUI::runTime() [lyx_gui.C:595]
    > LyX::LyX(int*,char**) [lyx_main.C:158]
    > main [main.C:75]
    > Reading 4 bytes from 0xa62d4c in the zero'd data, bss section.
    > Address 0xa62d4c is 28 bytes past start of global
    > variable
    > "st_xev".
    > This is defined in lyx.
    >
    > FMR: Free memory read
    > This is occurring while in:
    > do_keyboard [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > void LyXGUI::runTime() [lyx_gui.C:595]
    > LyX::LyX(int*,char**) [lyx_main.C:158]
    > Reading 4 bytes from 0xc65034 in the heap.
    > Address 0xc65034 is 20 bytes into a freed block at 0xc65020 of
    > 224 bytes.
    > This block was allocated from:
    > malloc [rtlib.o]
    > calloc [rtlib.o]
    > fl_make_form [libforms.a]
    > fl_bgn_form [libforms.a]
    > FD_Figure*create_form_Figure() [form1.C:89]
    > void InsetFig::Edit(BufferView*,int,int,unsigned)
    > [figinset.C:1264]
    > There have been 65 frees since this block was freed from:
    > free [rtlib.o]
    > fl_free_freelist [libforms.a]
    > fl_handle_automatic [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > FMR: Free memory read
    > This is occurring while in:
    > do_keyboard [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > void LyXGUI::runTime() [lyx_gui.C:595]
    > LyX::LyX(int*,char**) [lyx_main.C:158]
    > Reading 4 bytes from 0xc650d0 in the heap.
    > Address 0xc650d0 is 176 bytes into a freed block at 0xc65020
    > of
    > 224 bytes.
    > This block was allocated from:
    > malloc [rtlib.o]
    > calloc [rtlib.o]
    > fl_make_form [libforms.a]
    > fl_bgn_form [libforms.a]
    > FD_Figure*create_form_Figure() [form1.C:89]
    > void InsetFig::Edit(BufferView*,int,int,unsigned)
    > [figinset.C:1264]
    > There have been 65 frees since this block was freed from:
    > free [rtlib.o]
    > fl_free_freelist [libforms.a]
    > fl_handle_automatic [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > FMR: Free memory read
    > This is occurring while in:
    > do_keyboard [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    > void LyXGUI::runTime() [lyx_gui.C:595]
    > LyX::LyX(int*,char**) [lyx_main.C:158]
    > Reading 4 bytes from 0xc650cc in the heap.
    > Address 0xc650cc is 172 bytes into a freed block at 0xc65020
    > of
    > 224 bytes.
    > This block was allocated from:
    > malloc [rtlib.o]
    > calloc [rtlib.o]
    > fl_make_form [libforms.a]
    > fl_bgn_form [libforms.a]
    > FD_Figure*create_form_Figure() [form1.C:89]
    > void InsetFig::Edit(BufferView*,int,int,unsigned)
    > [figinset.C:1264]
    > There have been 65 frees since this block was freed from:
    > free [rtlib.o]
    > fl_free_freelist [libforms.a]
    > fl_handle_automatic [libforms.a]
    > do_interaction_step [libforms.a]
    > fl_treat_interaction_events [libforms.a]
    > fl_check_forms [libforms.a]
    >
    >
    >
    > --
    >
    ======================================================================
    > 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: schmitt@itm.mu-luebeck.de
    > D-23538 Luebeck, Germany WWW:
    > http://www.itm.mu-luebeck.de
    >
    ======================================================================
    >
    > ------- End of forwarded message -------
    > _________________________________________________
    > To unsubscribe, send the message "unsubscribe" to
    > xforms-request@bob.usuhs.mil or see
    > http://bob.usuhs.mil/mailserv/xforms.html
    > XForms Home Page: http://world.std.com/~xforms
    > List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    >

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Photos -- now, 100 FREE prints!
    http://photos.yahoo.com
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Sun Jun 11 2000 - 13:58:30 EDT