Re: XForms: SIGSEV in _XKeyTable() in /usr/X11R6/lib/libX11.so.6

From: zaphodb (zaphodb@wanadoo.nl)
Date: Tue Mar 27 2001 - 03:59:25 EST

  • Next message: Praveen Thiagarajan: "XForms: Need some help in rendering Opengl in fullscreen !"

    # To subscribers of the xforms list from "zaphodb" <zaphodb@wanadoo.nl> :

    From: "T.C. Zhao" <tc_zhao@yahoo.com>
    To: <xforms@bob.usuhs.mil>
    Sent: Tuesday, March 27, 2001 12:11 AM
    Subject: Re: XForms: SIGSEV in _XKeyTable() in /usr/X11R6/lib/libX11.so.6

    > # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :
    >
    >
    > It looks to me like the the error reporting has
    > an error in it. I also noticed that you're using
    > V0.88.x, do you know what the .x is ?
    > (-flversion)
    >
    > Thanks, -TC

    Hi TC,

    Thanks for you reply so far!
    What do you mean by "error reporting has an error in it"?

    I've tried to run the program with the -flversion flag, but then it crashes.

    Program received signal SIGSEGV, Segmentation fault.
    0x0 in ?? ()
    (xxgdb) bt
    #0 0x0 in ?? ()
    #1 0x4019c712 in buffered_vfprintf (s=0x4023ffc0, format=0x4007c027 "%s",
    args=0xbffff63c) at vfprintf.c:1767
    #2 0x40197f66 in _IO_vfprintf (s=0x4023ffc0, format=0x4007c027 "%s",
    ap=0xbffff63c) at vfprintf.c:1029
    #3 0x4019ff47 in fprintf (stream=0x4023ffc0, format=0x4007c027 "%s") at
    fprintf.c:32
    #4 0x400630f6 in fl_print_version () from /usr/lib/libforms.so.0.88
    #5 0x4003c99a in fl_initialize () from /usr/lib/libforms.so.0.88

    If I try to link with the 89 library, I get the following output
    gcc -Wall -g3 -O0 -o vocode vocode.o std.o voc_inout.o safe_alloc.o
    comp_coeffs.o shift.o -lforms -L/usr/X11R6/lib -lX11 -lm
    /usr/bin/ld: warning: libc.so.5, needed by /usr/lib/libforms.so, may
    conflict with libc.so.6
    /usr/i486-linux-libc5/lib/libc.so.5: warning: `siggetmask' is obsolete;
    `sigprocmask' is best
    /usr/i486-linux-libc5/lib/libc.so.5: the `getpw' function is dangerous and
    should not be used.
    /usr/i486-linux-libc5/lib/libc.so.5: the `getwd' function is dangerous and
    should not be used.
    /usr/i486-linux-libc5/lib/libc.so.5: the `gets' function is dangerous and
    should not be used.

    If I then try to start the application an error follows stating "error
    loading shared libraries: libc.so.5
    I remember getting this some time ago when I thought I should try the 89
    library but since I couldn't solve
    the problem then I decided to stick with bxforms88-glibc. I'm afraid this
    conflict is over my head a bit, but to
    be on the safe side I'm including what I could find on my (Rh 6.1) box about
    libc and libforms.

    lrwxrwxrwx 1 root root 14 Mar 14 2000
    /usr/i486-linux-libc5/lib/libc.so.5 -> libc.so.5.3.12
    -rwxr-xr-x 1 root root 699832 Apr 16 1999
    /usr/i486-linux-libc5/lib/libc.so.5.3.12

    lrwxrwxrwx 1 root root 13 Mar 14 2000 /lib/libc.so.6 ->
    libc-2.1.2.so
    lrwxrwxrwx 1 root root 13 Mar 14 2000
    /usr/i386-glibc20-linux/lib/libc.so.6 -> libc-2.0.7.so
    -rwxr-xr-x 1 root root 650012 Mar 6 1999
    /usr/local/home/ftp/lib/libc.so.6

    -rw-r--r-- 1 root root 660600 Mar 27 10:13 /usr/lib/libforms.a
    lrwxrwxrwx 1 root root 16 Mar 27 10:15
    /usr/lib/libforms.so -> libforms.so.0.88
    -rw-r--r-- 1 root root 513218 Mar 27 10:13
    /usr/lib/libforms.so.0.88
    -rw-r--r-- 1 root root 829816 Jan 23 13:11
    /usr/lib/libforms.so.0.89

    Greetings,

    Zaphod

    _________________________________________________
    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 Mar 26 2001 - 23:01:19 EST