Re: XForms: Resurrecting xmysqladmin

From: Steve Lamont (spl@szechuan.ucsd.edu)
Date: Mon Feb 28 2000 - 09:47:53 EST

  • Next message: Dirk Evers: "XForms: bad window debug message in canvas object?"

    # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

    > Currently, I can not build it on Debian frozen ("potato") in a way,
    > that it does not segfault on some operations. As far as I can see, the
    > segfault is xforms related.
    >
    > #0 0x4021e6c5 in free () from /lib/libc.so.6
    > (gdb) bt
    > #0 0x4021e6c5 in free () from /lib/libc.so.6
    > #1 0x4021e59d in free () from /lib/libc.so.6
    > #2 0x8054678 in fl_set_button ()
    > #3 0x8057e50 in fl_set_button ()
    > #4 0x805bd9b in fl_set_button ()
    > #5 0x805caaa in fl_set_button ()
    > #6 0x400fba34 in fl_object_qread () from /usr/X11R6/lib/libforms.so.0.89
    > #7 0x4010ba59 in fl_do_forms () from /usr/X11R6/lib/libforms.so.0.89
    > #8 0x804e344 in fl_set_button ()
    > #9 0x401e77e2 in __libc_start_main () from /lib/libc.so.6
    >
    > The xmysqladmin source did not change in ages, the author has orphaned
    > the programm (it is public domain), and I don't do C myself. So I hope
    > someone can give me a hand and take a look.

    My guess is that you're building against the wrong version of the
    XForms.

    I built it against the current version of XForms on a Solaris 2.6
    ULTRA 60 Sun and it seems to have worked okay -- we don't have any
    Linux boxen here in the lab yet. We're not running `mysql' in
    production here so I didn't test it exhaustively -- basically I just
    fired up the interface and poked at a couple of buttons and that was
    it but it didn't barf on my shoes so I assume it's happy.

    Make sure you have the correct version of libforms.{a,so} for your
    version of `libc'. This is whence most Linux heartburn emanates. :-/

                                                            spl
    _________________________________________________
    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 - 09:52:51 EST