nanogui: ntetris demo on eCos
Subject:
Re: [nanogui] ntetris demo on eCos
From:
llandre ####@####.####
Date:
12 Jun 2006 17:44:43 +0100
Message-Id: <448D9A83.10704@dave-tech.it>
Hi,
> : Nano-X says it is destroying client 8 resources but it is not clear
> : which client it is referring to. How to understand which client it is
> : talking about?
>
> These messages are coming from printf()s in
> nanox/srvnet.c::GsDestroyClientResources(). I suggest
> you add other printfs to determine which thread is
> causing problems. It's probably the nano-tetris
> demo, since that's the last one that was started...
I completely removed nano-tetris thread thus in the nano-x world there
are just two threads (Nano-X server and Nano-WM) but I still got the
messages about a client destruction:
-----------------------------------------------------
MW initialization in progress
SYSTEM INITIALIZATION in progress
NETWORK:
data index = 4
Creating system threads
Creating Nano-X server thread
Creating Nano-WM thread
Starting threads
Starting Nano-X server
Starting Nano-WM
[__FUNCTION__, __LINE__] Creating QT6C17 thread (STACK_SIZE = 31360)
Keyboard is FD: 4
[lcd_init, 365]
(x,y,colors) = 320x240x2
linelen 40
type 1
bpp 1
gen_getscreeninfo - unsupported pixtype
fb_setpalette - tbd
gen_getscreeninfo - unsupported pixtype
gen_getscreeninfo - unsupported pixtype
Stack usage for thread 000f01f8: 328
[qt6c17_fsm] State = S0
[qt6c17_fsm] State = S0 - got answer
[qt6c17_fsm] State = S0
[qt6c17_fsm] State = S0 - got answer
[qt6c17_fsm] State = S1
[qt6c17_fsm] State = S1, crc16 (computed, received ) = 0x8F1C, 0x8F1C
gen_getscreeninfo - unsupported pixtype
'fgets': 0 bytes in 0.22ns
'fread': 0 bytes in 0.20ns
'read': 0 bytes in 0.19ns
gen_getscreeninfo - unsupported pixtype
MW threads started!
Stack usage for thread 000e6e54: 1872
Destroy client 8 resources
Destroy window 2
Destroy gc 1000
Window list:
3(6),1(0),
Pixmap list:
GC list:
Font list:
Region list:
Image list:
-----------------------------------------------------
Clearly I must find out which client in the world connects to the
server. I have a hardware debugger so I can easily put breakpoints in
the code but I don't know exactly where. Is GrOpen the one and only
function used by clients to establish the connection with the server?
Thanks a lot in advance,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: ####@####.####