home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / fj / maillis / xwindow / 17503 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.9 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
  2. From: scstech@solomon.technet.sg (Arthur Lim)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: HELP!! Application reporting BAD GC errors
  5. Message-ID: <1992Nov16.132324.20474@sm.sony.co.jp>
  6. Date: 16 Nov 92 13:23:24 GMT
  7. Sender: daemon@sm.sony.co.jp (The devil himself)
  8. Distribution: fj
  9. Organization: Singapore Computer Systems Ltd
  10. Lines: 44
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Tue, 10 Nov 1992 02:57:53 GMT
  14. Message-Id: <1992Nov10.025753.11839@nuscc.nus.sg>
  15. Newsgroups: comp.windows.x,comp.windows.x.motif
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18.  
  19. Hi fellow-netters,
  20.  
  21. I have a application written in MIT X11R4/Motif 1.1 running on HP platform.
  22. The problem is described below :
  23.  
  24. ==========
  25.  
  26. After dynamically creating and destroying some Toplevel windows (about 10),
  27. my application always report a "BAD GC Error" whenever I pop up a menu.
  28.  
  29. The segment of code that does the destruction of the window is as follows :
  30.  
  31.     XtUnrealizeWidget(XtParent(bulletinBoard));
  32.     XtDestroyWidget(XtParent(bulletinBoard));
  33.     XmUpdateDisplay(display);
  34.  
  35. The structure/hierarchy of the window is :
  36.  
  37.     topLevelShellWidget
  38.         XmMainWindow
  39.             XmBulletinBoard
  40.  
  41. ==========
  42.  
  43. Have I missed anything or done something that's causing this problem ?
  44.  
  45. Thanks in advance for your replies.
  46.  
  47.  
  48.  
  49. +======================================================================+
  50. | Arthur Lim                     | #include <std.disclaimer>           |
  51. | Advanced Software R&D Centre   |                                     |
  52. | Singapore Computer Systems Ltd | scstech@solomon.technet.sg          |
  53. |                                |                                     |
  54. | (Voice) 065-240-3850           | Please prefix "For Arthur :" in the |
  55. | (Fax)   065-441-2811           | subject line when mailing. Thanks.  |
  56. +======================================================================+
  57.