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

  1. Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!hydra.unm.edu!opus
  2. From: opus@hydra.unm.edu (Colby Kraybill)
  3. Newsgroups: comp.windows.x
  4. Subject: Possible bug with XtCreateWidget()?
  5. Date: 12 Jan 1993 10:21:16 GMT
  6. Organization: University of New Mexico, Albuquerque
  7. Lines: 39
  8. Distribution: world
  9. Message-ID: <1iu62sINN870@lynx.unm.edu>
  10. Reply-To: opus@astro.unm.edu
  11. NNTP-Posting-Host: hydra.unm.edu
  12. Keywords: Xt, XtCreateWidget, bug
  13.  
  14.  
  15. I have been trying to get an application going which works under the
  16. khoros signal/image processing software.  I've pretty much eleminated
  17. the possibility that the error is in the khoros stuff.
  18.  
  19. Anyways, there is a library routine under khoros which makes a call to
  20. XtCreateManagedWidget().  I traced through the source code of that call
  21. and then came upon XtCreateWidget().  The error is this :
  22.  
  23. signal BUS (alignment error) in Get_GC at 0x60ecc
  24. Get_GC+0x14:    ld      [%o0 + 4], %o0
  25.  
  26. I've yet to find 'Get_GC' in my X11R5 sources, but I am still looking.
  27. However, instead of having to recompile some of those sources with a -g
  28. option.  I'd like to find out if anyone out there has encountered something
  29. like this and has some sortof fix, or atleast a reason why this is happening.
  30.  
  31. The values which are being passed to XtCreateWidget are fine, they are :
  32.  
  33. widget = XtCreateWidget(name, widget_class, parent, args, num_args);
  34.  
  35. name : "Glyph"
  36. widget_class is commandWidgetClass
  37. parent is a valid 'toplevel' window
  38. args has all nine values which num_args says there should be.
  39.  
  40. Ideas?
  41.  
  42.  
  43. --
  44. Colby Kraybill
  45. Department of Physics and Astronomy - Computer Geek Extrodenaire
  46. opus@astro.unm.edu
  47.  
  48.  
  49. -- 
  50. Colby Kraybill
  51. Department of Physics and Astronomy - Computer Geek Extrodenaire
  52. opus@astro.unm.edu
  53.