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

From: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Date: Mon Jun 05 2000 - 06:41:29 EDT

  • Next message: jprinos@dehavilland.ca: "Re: XForms: [Michael Schmitt <schmitt@itm.mu-luebeck.de>] Sorry, guys - Purify report"

    # 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/



    This archive was generated by hypermail 2b29 : Mon Jun 05 2000 - 06:47:40 EDT