XForms: Resurrecting xmysqladmin

From: Martin Bialasinski (martin@internet-treff.uni-koeln.de)
Date: Sun Feb 27 2000 - 16:52:08 EST

  • Next message: Steve Lamont: "Re: XForms: Thanks, Question?"

    # To subscribers of the xforms list from "Martin Bialasinski" <martin@internet-treff.uni-koeln.de> :

    Hi,

    I am the Debian maintainer of xmysqladmin, a really nice mysql
    frontend using xforms.

    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.

    I suspect some problem with glibc 2.1 and xforms to be the cause of
    the problem.

    The report is at http://www.debian.org/Bugs/db/56/56495.html
    I tried with xforms 0.88 and xforms 0.89 to no avail. The strange
    thing is, that I have a old xmysqladmin binary that doesn't have this
    problem.

    martin@bundy[martin]$ ldd xmysqladmin.good
            /lib/nfslock.so.0 => /lib/nfslock.so.0 (0x40015000)
            libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x4001d000)
            libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002f000)
            libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x400ce000)
            libforms.so.0.88 => /usr/X11R6/lib/libforms.so.0.88 (0x400dc000)
            libm.so.6 => /lib/libm.so.6 (0x40156000)
            libc.so.6 => /lib/libc.so.6 (0x40173000)
            libnsl.so.1 => /lib/libnsl.so.1 (0x4024f000)
            libz.so.1 => /usr/lib/libz.so.1 (0x40265000)
            libcrypt.so.1 => /lib/libcrypt.so.1 (0x40274000)
            /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

    martin@bundy[martin]$ ldd xmysqladmin.bad.88
            /lib/nfslock.so.0 => /lib/nfslock.so.0 (0x40015000)
            libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x4001d000)
            libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002f000)
            libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x400ce000)
            libforms.so.0.88 => /usr/X11R6/lib/libforms.so.0.88 (0x400dc000)
            libm.so.6 => /lib/libm.so.6 (0x40156000)
            libc.so.6 => /lib/libc.so.6 (0x40173000)
            libnsl.so.1 => /lib/libnsl.so.1 (0x4024f000)
            libz.so.1 => /usr/lib/libz.so.1 (0x40265000)
            libcrypt.so.1 => /lib/libcrypt.so.1 (0x40274000)
            /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

    xmysqladmin.good is the old build, works, whereas xmysqladmin.bad.88
    does not. As said, compiling with 0.89 doesn't help either.

    I use glibc 2.1.3, xforms 0.88.1 and xforms 0.89

    I really don't know what to do about this now :-( I have to ask for
    removal of the xmysqladmin package from Debian 2.2, if I can't fix
    this. :-((

    So it would be really great, if someone could have a look at it. I can
    give necessary resources if needed to debug this and I will help in
    any way I can. The source is available from
    http://ftp.debian.org/debian/dists/frozen/contrib/source/devel/xmysqladmin_1.0.orig.tar.gz

    Thanks,
            Martin
    _________________________________________________
    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 Feb 27 2000 - 17:01:16 EST