XForms: quirks in fselector

From: Dirk Evers (dirk@TechFak.Uni-Bielefeld.DE)
Date: Mon Feb 28 2000 - 12:15:31 EST

  • Next message: Sexton, Veronica: "XForms: Need version 0.88 for Solaris 2.6"


    while memory debugging an app I found the following in fselector. This was
    checked in a minimal executable that just shows an fselector. Code is attached
    below. Tested against xforms lib version 0.88.1 and 0.89.2 using Solaris 2.5.1

    1. A leak return error is generated the only first time the fselector is called.

    Memory leaked by ignoring return value.

     Lost block : 0x000465e0 thru 0x00046a07 (1064 bytes)
                   block allocated at:
      Stack trace where the error occurred:

    2. non-NULL second parameter in call to gettimeofday()

    The man page to gettimeofday() says:

         The second argument to gettimeofday() and settimeofday()
         should be a pointer to NULL.

    Just to make it clear. I haven't had any strange behaviour using the fselector.
    Just these memory debugging messages. Hope this is of some use...


    Dirk Evers / AG-PI / Technische Fakultaet                      Office: M3-120
    Universitaet Bielefeld                                  Tel: +49 521 106-2905
    Postfach 100 131                                        FAX: +49 521 106-6411
    D-33501 Bielefeld                 EMail: mailto:dirk@TechFak.Uni-Bielefeld.DE
    Germany        URL: http://www.TechFak.Uni-Bielefeld.DE/techfak/persons/dirk/

    End of MIME 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 Feb 28 2000 - 12:21:23 EST