home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / intrinsi / 685 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.2 KB  |  63 lines

  1. Newsgroups: comp.windows.x.intrinsics
  2. Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!isa.informatik.th-darmstadt.de!gesamic
  3. From: gesamic@isa.informatik.th-darmstadt.de (SEP Lutz)
  4. Subject: core dump with Form widget
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <1992Dec23.091102.16657@news.th-darmstadt.de>
  7. Date: Wed, 23 Dec 1992 09:11:02 GMT
  8. Nntp-Posting-Host: sun16.isa.informatik.th-darmstadt.de
  9. Organization: Institut fuer Systemarchitektur, TH Darmstadt, Germany
  10. Keywords: Form widget, XtDestroyWidget
  11. Lines: 50
  12.  
  13. Hi folks !
  14.  
  15. Sorry to bother U with this, but I cannot think of an other solution than blaming it on Athena ...
  16.  
  17. Our system is: SunOS 4.1.1, X11R4 on sun4c
  18.  
  19. We have got a menu with callbacks poping up Popup-Shells. These Shells contain
  20. a Form-widget, which in turn contains some labels, buttons, a scrollbar and a 
  21. list widget. 
  22. After leaving the popup, we use XtDestroyWidget on the popup-shell widget. 
  23. Next time a menu item is selected, all widgets (including the popup shell) 
  24. are created once again.
  25. So far, so good ! It works well for the first time, perhaps for the second, too
  26. but then we receive a "Segmentation fault (core dumped)" or a Bus error.
  27. Using dbx one gets:
  28.   "program terminated by signal SEGV (no mapping at the fault address)"
  29.  
  30. Stack is:
  31.  
  32.   LayoutChild() at 0x14e1c
  33.   LayoutChild() at 0x14e70
  34.   `Form`Layout() at 0x14c88
  35.   `Form`RefigureLocations() at 0x14bf8
  36.   `Form`ChangeManaged() at 0x1536c
  37.   CallChangeManaged() at 0x3814c
  38.   CallChangeManaged() at 0x380f0
  39.   XtRealizeWidget() at 0x384fc
  40.   _XtPopup() at 0x3e4cc
  41.   XtPopup() at 0x3e54c
  42.   DisplaySimpleScroll(), line 285 in "/users/gesamic/...."
  43.   delete_relation(top = 0xdec00, client_data = (nil), garbage = (nil)), line ...
  44.   _XtCallCallbacks() at 0x2c128
  45.   XtCallCallbacks() at 0x2c318
  46.   `Sme`Notify() at 0x28344
  47.   `SimpleMenu`Notify() at 0x1b220
  48.   _XtTranslateEvent() at 0x4a5dc
  49.   DispatchEvent() at 0x343d8
  50.   DecideToDispatch() at 0x34ab4
  51.   XtDispatchEvent() at 0x34b60
  52.   XtAppMainLoop() at 0x34e60
  53.   main(argc = 1, argv = 0xf7fff9cc), line ....
  54.  
  55. If this does say something to one of U or U are interested in the problem 
  56. itself, have solved a similar problem or can supply relevant information, please
  57. feel free to write back.
  58.  
  59. Thanx !
  60.  
  61.     gesamic project group (Mike)
  62.  
  63.