[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Subject:  destroy?  Formerly too many contacts.

To Kerry Kimbrough, and anyone else interested.  Sorry but my mail 
to these addresses: dsg.csc.ti.com, ti.com,
csc.ti.com, all bounce.  Anyone got another address to Kerry?

!

	I used to the trace utilities when you first suggested them a ways
back, along with trying to debug the core dump, but they really couldn't
point out anything really.

	Here is a clip from the trace:
============================
EVENT BUTTON-RELEASE (5) Sequence 722
  727 UnmapWindow (10) length 8
  728 PolyFillRectangle (70) length 20
  729 PolyText8 (74) length 28
  730 ClearToBackground (61) length 16
  731 PolyText8 (74) length 36
  732 ClearToBackground (61) length 16
  733 PolyText8 (74) length 52
  734 ChangeWindowAttributes (2) length 16
  735 DestroyWindow (4) length 8
  736 ChangeWindowAttributes (2) length 16
  737 DestroyWindow (4) length 8
  738 CreateWindow (1) length 48
  739 MapSubwindows (9) length 8
  740 MapWindow (8) length 8
  741 CreateWindow (1) length 48
  742 GetWindowAttributes (3) length 8
EVENT UNMAP-NOTIFY (18) Sequence 727
--More--
EVENT EXPOSURE (12) Sequence 727
EVENT EXPOSURE (12) Sequence 727
EVENT LEAVE-NOTIFY (8) Sequence 727
EVENT LEAVE-NOTIFY (8) Sequence 727
EVENT ENTER-NOTIFY (7) Sequence 727
NIL
 Command:
=============================================

	The actual server commands to DestroyWindow are #'s 735 and 737, 
I'd assume these correspond to the clue:destroy commands in the code I sent
last time.  However there is a good deal of action, 5 request and 6 events
before the server actually crashes.  The last request is for a
GetWindowAttributes, and I can't see how that crashes it.

	Seeking further enlightenment, I looked at a description of this
history, enclosed:

=============================================
(xlib:describe-trace clue::*display* 10)
  739 MapSubwindows (9) length 8
0   99OPCODE
1  84XUNUSED
2   22REQUEST-LENGTH
4 7340282 [#x7000FA]WINDOWWINDOW
  740 MapWindow (8) length 8
0   88OPCODE
1   0XUNUSED
2   22REQUEST-LENGTH
4 7340282 [#x7000FA]WINDOWWINDOW
  741 CreateWindow (1) length 48
0   11OPCODE
1   1CARD8DEPTH
2  128+NREQUEST-LENGTH
4 7340283 [#x7000FB]WINDOWWID
8 7340134 [#x700066]WINDOWPARENT
12 806INT16X
14  53INT16Y
16 294CARD16WIDTH
18 282CARD16HEIGHT
20   1CARD16BORDER-WIDTH
22   0 COPYFROMPARENTMEMBERCLASS
24   0(OR (MEMBER COPYFROMPARENT)
VISUALID) VISUAL
28 18497 (BACKGROUND-PIXMAP BACKING-STORE EVENT-MASK CURSOR)BITMASK !
   VALUE-MASK
32 LISTOFVALUE VALUE-LIST Words:
1 1 32820 7340041
  742 GetWindowAttributes (3) length 8
0   33OPCODE
1   0XUNUSED
2   22REQUEST-LENGTH
4 7340283 [#x7000FB]WINDOWWINDOW
EVENT from 727  :EVENT-KEY :UNMAP-NOTIFY :SEQUENCE 727 :EVENT-WINDOW #<COMPOSIT!
E UNNAMED 304077004> :WINDOW #<COMPOSITE UNNAMED 304077004> :CONFIGURE-P NIL
EVENT from 727  :EVENT-KEY :EXPOSURE :SEQUENCE 727 :WINDOW #<MENU-BUTTON DELETE!
PLAN 304035737> :EVENT-WINDOW #<MENU-BUTTON DELETEPLAN 304035737> :X 42 :Y 0 :W!
IDTH 67 :HEIGHT 4 :COUNT 0
EVENT from 727  :EVENT-KEY :EXPOSURE :SEQUENCE 727 :WINDOW #<MENU-BUTTON EDITPL!
AN 304035451> :EVENT-WINDOW #<MENU-BUTTON EDITPLAN 304035451> :X 42 :Y 15 :WIDT!
H 67 :HEIGHT 33 :COUNT 0
EVENT from 727  :EVENT-KEY :LEAVE-NOTIFY :KIND :NONLINEAR :SEQUENCE 727 :TIME 4!
061673612 :ROOT #<WINDOW 304023500> :WINDOW #<MENU-BUTTON PLAN1.1 304077035> :E!
VENT-WINDOW #<MENU-BUTTON PLAN1.1 304077035> :CHILD NIL :ROOT-X 1057 :ROOT-Y 44!
5 :X 33 :Y 8 :STATE 0 :MODE :NORMAL :FOCUS-P T :SAME-SCREEN-P T
EVENT from 727  :EVENT-KEY :LEAVE-NOTIFY :KIND :NONLINEAR-VIRTUAL :SEQUENCE 727!
 :TIME 4061673612 :ROOT #<WINDOW 304023500> :WINDOW #<COMPOSITE UNNAMED 3040770!
04> :EVENT-WINDOW #<COMPOSITE UNNAMED 304077004> :CHILD NIL :ROOT-X 1057 :ROOT-!
Y 445 :X 33 :Y 8 :STATE 0 :MODE :NORMAL :FOCUS-P T :SAME-SCREEN-P T
EVENT from 727  :EVENT-KEY :ENTER-NOTIFY :KIND :NONLINEAR :SEQUENCE 727 :TIME 4!
061673612 :ROOT #<WINDOW 304023500> :WINDOW #<MENU-BUTTON EDITPLAN 304035451> :!
EVENT-WINDOW #<MENU-BUTTON EDITPLAN 304035451> :CHILD NIL :ROOT-X 1057 :ROOT-Y !
445 :X 77 :Y 25 :STATE 0 :MODE :NORMAL :FOCUS-P T :SAME-SCREEN-P T
NIL
Command: 


==========================

	In truth, this didn't tell ME very much.


	Also, one of the first things I did was to look at the core dump
to get an idea of the problem, it looked like this:

==========================

(dbx) where
sunSaveAreas(0x12fe80) at 0x4614
DoObscures(0x12fe80) at 0x37c67
DoObscures(0x12f2f8) at 0x37c95
UnmapWindow(0x12fe80, 0x1, 0x1, 0x0) at 0x3c085
DeleteWindow(0x12fe80, 0x30006b) at 0x38d27
FreeResource(0x30006b, 0x1) at 0x30e73
ProcDestroyWindow(0x14c5f8) at 0x20e9b
SProcResourceReq(0x14c5f8) at 0x355db
Dispatch() at 0x20bbf
main(0x2, 0xfffdec, 0xfffdf8) at 0x2f565
(dbx)

==========================

	The last command is sunSaveAreas, this is some kinda cursor thing..
Couldn't figure out why it crashed...


	ANY hints or ideas, I need a direction.  I don't feel right just
treating the symptoms, like I did, and I want to find the source of the problem

	Thanx

	Forrest

	NIST