[AG-TECH] [BUG] Freeze when leaving a room

Joseph joseph at cs.usyd.edu.au
Sun Jun 27 20:53:38 CDT 2004


Hi

I've some trouble with my AG2.2. Let me first describe exactly the way it 
happens :
I launch AG2.2 using : VenueClient.py -d --personalNode .
When it starts, I enter the Asia Pacific Access Grid Lobby, then I enter a 
room (the test room for example). When I enter this room there is no 
trouble : VIC and RAT are closed and then opened again. But, when I want 
to leave this room, VIC and RAT are closed and then most of the time my 
VenueClient freezes.

To be sure the freezes are permanent I have let the VenueClient working 
for a long time (more than 10 minutes) a few times.

In fact, the error seems to be :

06/28/04 11:31:31 1474570 EventClient     EventClient.py:279 ERROR 
Attempting to send on a disconnected EventClient
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:358 ERROR 
Heartbeat: Heartbeat exception is caught.
Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py", line 
356, in __Heartbeat
     self.privateId))
   File "/usr/lib/python2.3/site-packages/AccessGrid/EventClient.py", line 
280, in Send
     raise EventClientWriteDataException
EventClientWriteDataException

These lines appear each time before the freeze.

I've looked in the code but I don't have, for the time, a lot of ideas on 
how to solve this error.

Do you have any clue ?

Thanks

Joseph

ps : I copy here the debug output around the errors lines above and until 
the freeze :

06/28/04 11:31:29 16384 VenueClient     VenueClient.py:920 INFO  ExitVenue
06/28/04 11:31:29 16384 VenueClient     VenueClient.py:950 INFO  
ExitVenue: Stopping event client
06/28/04 11:31:29 16384 VenueClient     VenueClient.py:954 DEBUG 
ExitVenue: Send client exiting event
06/28/04 11:31:29 557068 EventClient     EventClient.py:183 DEBUG Got read 
handle=_38337908_p_globus_io_handle_t result=(722, 'an end-of-file was 
reached')  n=0

06/28/04 11:31:29 557068 EventClient     EventClient.py:186 DEBUG 
readCallback gets failure in result: 722 an end-of-file was reached
06/28/04 11:31:29 16384 VenueClient     VenueClient.py:968 INFO  
ExitVenue: Stopping node services
06/28/04 11:31:29 1540109 NodeService     AGNodeService.py:287 INFO  
NodeService.StopServices
06/28/04 11:31:29 1556494 ServiceManager     AGServiceManager.py:408 INFO  
AGServiceManager.StopServices
06/28/04 11:31:30 1572877 NodeService     AGNodeService.py:311 INFO  
NodeService.SetStreams
06/28/04 11:31:30 1572877 NodeService     AGNodeService.py:242 INFO  
NodeService.GetServices
06/28/04 11:31:31 1589262 ServiceManager     AGServiceManager.py:400 INFO  
AGServiceManager.GetServices
06/28/04 11:31:31 1572877 NodeService     AGNodeService.py:716 INFO  
NodeService.__SendStreamsToService
06/28/04 11:31:31 1474570 EventClient     EventClient.py:279 ERROR 
Attempting to send on a disconnected EventClient
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:358 ERROR 
Heartbeat: Heartbeat exception is caught.
Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/AccessGrid/VenueClient.py", line 
356, in __Heartbeat
     self.privateId))
   File "/usr/lib/python2.3/site-packages/AccessGrid/EventClient.py", line 
280, in Send
     raise EventClientWriteDataException
EventClientWriteDataException
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:372 INFO  Try to 
reconnect to venue
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:883 INFO  
ExitVenue: Stopping heartbeats
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:888 DEBUG 
ExitVenue: Stop event client obj
06/28/04 11:31:31 1474570 EventClient     EventClient.py:301 DEBUG Cancel 
pending callbacks
06/28/04 11:31:31 1474570 EventClient     EventClient.py:307 DEBUG Free 
callback _10016c08_p_callbackStruct
06/28/04 11:31:31 1474570 EventClient     EventClient.py:313 DEBUG 
EventClient.Stop: closing socket
06/28/04 11:31:31 1474570 EventClient     EventClient.py:321 DEBUG 
EventClient.Stop: closing queue
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:890 DEBUG 
ExitVenue: Remove event client reference
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:895 INFO  
ExitVenue: Stopping text client
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:899 DEBUG 
ExitVenue: Sending client disconnect event.
06/28/04 11:31:31 1474570 TextConnection     TextClient.py:164 DEBUG 
TextConnection.Write: EVENT --- Input
06/28/04 11:31:31 1474570 TextConnection     TextClient.py:165 DEBUG 
TextConnection.Write: Event:
	Type: Disconnect	Venue: 000000f7ad22d54c0081004e009d00a8421	Data: 
000000fd68e036af0081004e009d00a8fd7
06/28/04 11:31:31 16386 TextConnection     TextClient.py:207 DEBUG 
TextConnection: Got read handle=_202f7d08_p_globus_io_handle_t ret=(756, 
'an I/O operation was cancelled')  n=0

06/28/04 11:31:31 16386 TextConnection     TextClient.py:210 DEBUG 
TextConnection: asynch read gets n=0, EOF
06/28/04 11:31:31 1474570 TextConnection     TextClient.py:154 DEBUG 
TextClient.Stop
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:902 DEBUG 
ExitVenue: Remove text client reference
06/28/04 11:31:31 1474570 VenueClient     VenueClient.py:686 DEBUG 
EnterVenue: Invoke venue enter
06/28/04 11:31:31 1572877 NodeService     AGNodeService.py:716 INFO  
NodeService.__SendStreamsToService
06/28/04 11:31:31 16384 VenueClient     VenueClient.py:883 INFO  
ExitVenue: Stopping heartbeats
06/28/04 11:31:32 1474570 EventClient     EventClient.py:166 DEBUG Have 
callback handle _58a07208_p_callbackStruct
06/28/04 11:31:32 1474570 TextConnection     TextClient.py:145 DEBUG 
TextConnection: register returns _10077e08_p_callbackStruct
06/28/04 11:31:32 1474570 TextConnection     TextClient.py:147 DEBUG
	host:venues2.vislab.usyd.edu.au
	port:8004
	attr:<pyGlobus.io.TCPIOAttr instance at 0x41a8e16c>
06/28/04 11:31:32 1474570 TextConnection     TextClient.py:149 DEBUG
	socket:<pyGlobus.io.GSITCPSocket instance at 0x41a8e44c>
06/28/04 11:31:32 1474570 TextConnection     TextClient.py:164 DEBUG 
TextConnection.Write: EVENT --- Input
06/28/04 11:31:32 1474570 TextConnection     TextClient.py:165 DEBUG 
TextConnection.Write: Event:
	Type: Connect	Venue: 000000f7ad22d54c0081004e009d00a8421	Data: 
000000fd68e0d86a0081004e009d00a81b9
06/28/04 11:31:32 1474570 VenueClient     VenueClient.py:752 DEBUG Setting 
isInVenue flag.




More information about the ag-tech mailing list