home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.intrinsics
- Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!isa.informatik.th-darmstadt.de!gesamic
- From: gesamic@isa.informatik.th-darmstadt.de (SEP Lutz)
- Subject: core dump with Form widget
- Sender: news@news.th-darmstadt.de (The News System)
- Message-ID: <1992Dec23.091102.16657@news.th-darmstadt.de>
- Date: Wed, 23 Dec 1992 09:11:02 GMT
- Nntp-Posting-Host: sun16.isa.informatik.th-darmstadt.de
- Organization: Institut fuer Systemarchitektur, TH Darmstadt, Germany
- Keywords: Form widget, XtDestroyWidget
- Lines: 50
-
- Hi folks !
-
- Sorry to bother U with this, but I cannot think of an other solution than blaming it on Athena ...
-
- Our system is: SunOS 4.1.1, X11R4 on sun4c
-
- We have got a menu with callbacks poping up Popup-Shells. These Shells contain
- a Form-widget, which in turn contains some labels, buttons, a scrollbar and a
- list widget.
- After leaving the popup, we use XtDestroyWidget on the popup-shell widget.
- Next time a menu item is selected, all widgets (including the popup shell)
- are created once again.
- So far, so good ! It works well for the first time, perhaps for the second, too
- but then we receive a "Segmentation fault (core dumped)" or a Bus error.
- Using dbx one gets:
- "program terminated by signal SEGV (no mapping at the fault address)"
-
- Stack is:
-
- LayoutChild() at 0x14e1c
- LayoutChild() at 0x14e70
- `Form`Layout() at 0x14c88
- `Form`RefigureLocations() at 0x14bf8
- `Form`ChangeManaged() at 0x1536c
- CallChangeManaged() at 0x3814c
- CallChangeManaged() at 0x380f0
- XtRealizeWidget() at 0x384fc
- _XtPopup() at 0x3e4cc
- XtPopup() at 0x3e54c
- DisplaySimpleScroll(), line 285 in "/users/gesamic/...."
- delete_relation(top = 0xdec00, client_data = (nil), garbage = (nil)), line ...
- _XtCallCallbacks() at 0x2c128
- XtCallCallbacks() at 0x2c318
- `Sme`Notify() at 0x28344
- `SimpleMenu`Notify() at 0x1b220
- _XtTranslateEvent() at 0x4a5dc
- DispatchEvent() at 0x343d8
- DecideToDispatch() at 0x34ab4
- XtDispatchEvent() at 0x34b60
- XtAppMainLoop() at 0x34e60
- main(argc = 1, argv = 0xf7fff9cc), line ....
-
- If this does say something to one of U or U are interested in the problem
- itself, have solved a similar problem or can supply relevant information, please
- feel free to write back.
-
- Thanx !
-
- gesamic project group (Mike)
-
-