home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18447 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!sgigate!odin!eukanuba.wpd.sgi.com!mikey
  2. From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Help needed: Xlib-based application
  5. Message-ID: <1993Jan4.170715.26800@odin.corp.sgi.com>
  6. Date: 4 Jan 93 17:07:15 GMT
  7. References: <1993Jan4.162925.4330@iiasa.ac.at>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Reply-To: mikey@sgi.com
  10. Organization: Silicon Graphics, Inc.
  11. Lines: 26
  12. Nntp-Posting-Host: eukanuba.wpd.sgi.com
  13.  
  14. In article <1993Jan4.162925.4330@iiasa.ac.at>, patel@iiasa.ac.at (Deepan PATEL) writes:
  15. |> Problem:
  16. |> It compiles but does not run. Specifically, it fails in
  17. |> XQueryFont() with a BUS error. I have the same application
  18. |> running on sun4, RS/6000, Ultrix, ... I cannot make these
  19. |> run on the SG display and crash at the same XQueryFont() with a
  20. |> BadAlloc error.
  21.  
  22. You're getting a bus error rather than an X error?  Assuming that
  23. you're passing the correct arguments to XQueryFont, check for memory
  24. corruption/overrun previous to the call.
  25.  
  26. |> The application is refused a XOpenDisplay() when I try to run the
  27. |> SG compiled version on another remote display. However I can run
  28. |> other SG X-based applications (like xclock) on the remote display
  29. |> without problem. I tried these with different Xlib-based applications, 
  30. |> and they crash at the same point.
  31.  
  32. If you're using NIS (YP), you need to link with -lsun in order to use
  33. hostnames not in your local /etc/hosts file.  If you used imake with a
  34. Imakefile, this library would've been linked in automatically in the
  35. imake-generated Makefile.
  36.  
  37. -----------------------------------------------------------------------
  38.                  Mike Yang        Silicon Graphics, Inc.
  39.                mikey@sgi.com           415/390-1786
  40.