[comp.windows.x] A OSF Motif problem

hara@asc.slb.COM (06/20/91)

	 We've been using the Motif from OSF on SUN4, and we get 'break' in
	_XmGetDisplayObject() when a XmFormDialog is popped up. 
	This problem seems to be happen only after destroying some particular 
	widget (like "Form" widget).
	b.t.w., I've heard that the Motif from DEC (not from OSF) has no 
	problem on VAX/VSM,so I'm guessing the DEC people have already fixed it.
	
	Is there anybody who has some clue to fix this problem?

	Thanks,
	Kenzo Hara
				hara@asc.slb.com
				Austin Systems Center
				Schlumberger Well Services

	 
	P.S.: The following shows what we get/see when it's broken.

#0  _XmGetDisplayObject () (Desktop.c line 697)
#1  0xf6eb713c in AddGrab () (Vendor.c line 762)
#2  0xf6eb7668 in AddToGrabList () (Vendor.c line 869)
#3  0xf6eb77b4 in AddCousinsToGrabList () (Vendor.c line 901)
#4  0xf6eb77cc in AddCousinsToGrabList () (Vendor.c line 903)
#5  0xf6eb7a04 in PopupCallback () (Vendor.c line 979)
#6  0xf6d10ee0 in _XtCallCallbacks (...) (...)
#7  0xf6d11220 in XtCallCallbacks (...) (...)
#8  0xf6d2dafc in _XtPopup (...) (...)
#9  0xf6d2dc5c in XtPopup (...) (...)
#10 0xf6dfa5b0 in ChangeManaged () (DialogS.c line 721)
#11 0xf6d286c0 in XtManageChildren (...) (...)
#12 0xf6d28888 in XtManageChild (...) (...)

(gdb) frame 1
#1  0xf6eb713c in AddGrab () (Vendor.c line 762)
762         dispObj = (XmDisplayObject)_XmGetDisplayObject(shell, NULL, 0);
(gdb) l
757         Cardinal                    i;
758         XmModalData                 modals;
759         XmDisplayObject             dispObj;
760         ShellWidget                 shell = (ShellWidget)ve->ext.logicalParent;
761     
762         dispObj = (XmDisplayObject)_XmGetDisplayObject(shell, NULL, 0);
763     
764         modals = dispObj->display.modals;
765         
766         position = dispObj->display.numModals;
(gdb) print *shell
$21 = {core = {self = 0x10b5a60, widget_class = 0x10b61a8, parent = 0x75bc371, xrm_name = -149353984, being_destroyed = 34 '"', destroy_callbacks = 0x14, constraints = 0x75bc371 <Address 0x75bc371 out of bounds>, x = 210, y = 228, width = 63264, height = 20384, border_width = 2, managed = 0 '\000', sensitive = 0 '\000', ancestor_sensitive = 1 '\001', event_table = 0x3dcc78, tm = {translations = 0x0, proc_table = 0x2060c339, current_state = 0x2060c339, lastEventTime = 543212345}, accelerators = 0x40, border







_pixel = 3, border_pixmap = 17536920, popup_list = 0x10b9fc8, num_popups = 123454321, name = 0xf71a1974 "\177\357\210C\322", screen = 0x22010001, colormap = 16, window = 123454321, depth = 8, background_pixel = 4146089888, background_pixmap = 65538, visible = 1 '\001', mapped_when_managed = 11 '\013'}, composite = {children = 0x9e4a40, num_children = 543212345, num_slots = 2, insert_position = 0x40}, shell = {geometry = 0x0, create_popup_child_proc = 0x10b9f88, grab_kind = 17539080, spring_loaded = 7 '\a',








(gdb) print shell->core.screen
$22 = (Screen *) 0x22010001
(gdb) print *(Screen *)shell->core.screen
ptrace: I/O error.
Cannot read memory: address 0x22010001 out of bounds.