i want to report a problem [possible bug ??] but i cannot find an e-mail
address to send it to. i cannot send it via netscape to the bug web-site so i
am sending it to you. if you are not the correct person perhaps you copuld
send it on to the person who is. thsnks !! 

basically i have built an application with lesstif under redhat 6.2 [but i had to make
some library fixes] and it works on redhat. when i connect to the redhat system via 
telnet
from an sgi indy i get a core dump which seems to have a problem in 'Vendor.c [source 
not
available].

here is what i did

1) have redhat 6.2

2) installed lesstif from this file
magics:/usr1/jhamilton/raw_lesstif=> ls -ltr
total 3540
-rwxr-xr-x    1 jhamilto 200         24160 Aug 17 12:35 INSTALL.html
-rwxr-xr-x    1 jhamilto 200       3593985 Aug 17 12:35 
lesstif-0.90.0-linux-libc5.tar.gz
magics:/usr1/jhamilton/raw_lesstif=> 

3) i put everything into /usr1/jhamilton/lesstif

4) i set LD_LIBRARY_PATH to point there [i am running c-shell]
setenv LD_LIBRARY_PATH $HOME/lesstif/LessTif/Motif2.0/lib

5) i build my application with the following libraries [i get the same problems with 
Motif1.2]
magics:/usr1/jhamilton/plotxw=> plotxw.t
gcc -c -g -I/usr1/jhamilton/lesstif/LessTif/Motif2.0/include plotxc.c
f77 -c -g openpf.f plotxf.f
f77 -g -o plotxw plotxc.o openpf.o plotxf.o 
               /usr1/jhamilton/gensys/dumedt.o
               /usr1/jhamilton/gensys/plotxx_opt.a 
               /usr1/jhamilton/gensys/pmaps_opt.a 
               /usr1/jhamilton/gensys/qvctor_opt.a 
               -L/usr1/jhamilton/lesstif/LessTif/Motif2.0/lib -lXm -L/usr/X11R6/lib 
-lX 
/usr/bin/ld: warning: libc.so.5, needed by 
/usr1/jhamilton/lesstif/LessTif/Motif2.0/lib/libXm.so, 
                                 may conflict with libc.so.6
/usr/i486-linux-libc5/lib/libc.so.5: the 'llseek' function may be dangerous; use 
`lseek64' instead.
/usr/i486-linux-libc5/lib/libc.so.5: warning: 'siggetmask' is obsolete; `sigprocmask' 
is best
/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.
magics:/usr1/jhamilton/plotxw=>

6) initially i could not find libc.so.5 so i copied libc.so.6 into the ../Motif2.0/lib 
directory and
called it libc.so.

7) when i run it on my linux pc everything works

8) if i telnet from another linux pc everything works

9) the problems start when i telnet from an sgi workstation [i have tried it with indy
running old version of irix but also with O2 running current version]

10) when i run the job starts; something flashes on screen; then i get core dump

east:/east=> telnet magics 
Trying 192.122.223.126...
Connected to magics.
Escape character is '^]'.

Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i686
login: jhamilton
Password: 
Last login: Thu Aug 17 16:32:08 from east.IRMET.IE
magics:/usr1/jhamilton=> 
 
magics:/usr1/jhamilton=> 
magics:/usr1/jhamilton=> cd plotxw
magics:/usr1/jhamilton/plotxw=> gdb plotxw
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run try.cal -sync
Starting program: /usr1/jhamilton/plotxw/plotxw try.cal -sync
 
 try to load special fonts 

Program received signal SIGSEGV, Segmentation fault.
ConfigEventForMe (dpy=0x80cee20, event=0x80f6d74, 
    arg=0xbfffecfc "�&\016\b\r\004") at Vendor.c:2392
2392    Vendor.c: No such file or directory.


(gdb) 
(gdb) 
(gdb) 
(gdb) where
#0  ConfigEventForMe (dpy=0x80cee20, event=0x80f6d74, 
    arg=0xbfffecfc "�&\016\b\r\004") at Vendor.c:2392
#1  0x403e438f in XCheckIfEvent () from /usr/X11R6/lib/libX11.so.6
#2  0x400faf80 in WaitForWM (w=0x80e26f8, event=0xbfffed6c, request_num=1037)
    at Vendor.c:2473
#3  0x400fb297 in _XmRootGeometryManager (gw=0x80e26f8, request=0xbfffeed4, 
    reply=0xbfffee48) at Vendor.c:2660
#4  0x40196e3e in _XtMakeGeometryRequest () from /usr/X11R6/lib/libXt.so.6
#5  0x40197117 in XtMakeGeometryRequest () from /usr/X11R6/lib/libXt.so.6
#6  0x400fb5d5 in geometry_manager (wid=0x80e39d0, request=0xbffff0ec, 
    reply=0xbffff08c) at Vendor.c:2826
#7  0x40044574 in GeometryHandlerWrapper (w=0x80e39d0, request=0xbffff0ec, 
    reply=0xbffff08c, IntentedWrapperDepth=8) at BaseClass.c:1323
#8  0x40043c46 in GeometryHandlerWrapper8 (w=0x80e39d0, request=0xbffff0ec, 
    reply=0xbffff08c) at BaseClass.c:591
#9  0x40196e3e in _XtMakeGeometryRequest () from /usr/X11R6/lib/libXt.so.6
#10 0x40197117 in XtMakeGeometryRequest () from /usr/X11R6/lib/libXt.so.6
#11 0x40073839 in _XmMakeGeometryRequest (w=0x80e39d0, desired=0xbffff0ec)
    at GeoUtils.c:2135
#12 0x40045e0b in handle_change_managed (w=0x80e39d0, 
    mat_make=0x40090bf4 <_XmMessageBoxGeoMatrixCreate>) at BulletinBoard.c:1014
#13 0x40045fd9 in change_managed (w=0x80e39d0) at BulletinBoard.c:1066
#14 0x4019a21e in CallChangeManaged () from /usr/X11R6/lib/libXt.so.6
#15 0x4019a6ae in XtRealizeWidget () from /usr/X11R6/lib/libXt.so.6
#16 0x40053a76 in change_managed (w=0x80e26f8) at DialogS.c:340
#17 0x4019d2b3 in ManageChildren () from /usr/X11R6/lib/libXt.so.6
#18 0x4019d462 in XtManageChildren () from /usr/X11R6/lib/libXt.so.6
#19 0x4019d53b in XtManageChild () from /usr/X11R6/lib/libXt.so.6
#20 0x804cd8a in RedrawPicture (w=0x80e2378, event=0xbffff4d0, 
    params=0x80ce678, num_params=0x40048589) at plotxc.c:1756
#21 0x804cc95 in ExposePicture (w=0x80e2378, event=0xbffff6ac, params=0x0, 
    num_params=0x401c5534) at plotxc.c:1701
#22 0x401b6dd4 in HandleActions () from /usr/X11R6/lib/libXt.so.6
#23 0x401b72b6 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#24 0x401b77f1 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#25 0x401941ac in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#26 0x401949d5 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#27 0x40194d2d in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#28 0x4019510d in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
---Type <return> to continue, or q <return> to quit---
#29 0x804cc0a in main (argc=2, argv=0xbffff7e4) at plotxc.c:1645
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) list
2387    in Vendor.c


11) the program plotxw takes the file try.cal containign plot vectors
and displays it on the screen. it has been running successfull for a few yaers on
sgi and ultrix systems with motif. also it worked on caldera linux with redhat
motif.

---

i hope this is enough info. if you need more let me know

thanks

jim hamilton
irish met service
dublin
ireland



ends===




Reply via email to