Ticket #4 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Infinite loops in org.xvsm.server.Server and CPU 100%

Reported by: dzakic Owned by:
Priority: major Milestone:
Component: MozartSpaces Version: 1.0
Keywords: Cc: alpha

Description

Step to reproduce this behaviour:
1) Start Server at port e.g. 4321
2) Run client with following code

capi = new Capi();
   Hashtable<String, String> table = new Hashtable<String, String>();
   table.put("Lookup1", "org.xvsm.lookup.xvsm.XVSMLookup"); 
   table.put("XVSMLookup.RemoteURI", "tcpjava://localhost:4321");
   lm = new LookupManager(null, table);
   ContainerRef cref1 = capi.createContainer(null, null,
                 args[0], IContainer.INFINITE_SIZE, new LindaCoordinator());
   lm.publish(cref1);

3) Terminate client

Server loops with CPU 100%. Debug level print this line:
2008-04-19 18:41:18,562 [pool-6-thread-1] DEBUG org.xvsm.remote.tcpconnection.TcpConnectedTransport - Connection reset by peer
2008-04-19 18:41:18,562 [pool-6-thread-1] DEBUG org.xvsm.remote.tcpconnection.TcpConnectedTransport - Connection reset by peer

Change History

comment:1 Changed 4 years ago by michael

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in revision 2407.

comment:2 Changed 2 years ago by sim

 decoration Changed 1 year ago by admin

 bathtub Changed 1 year ago by admin

 solar system Changed 1 year ago by admin

 stair parts Changed 1 year ago by admin

 solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.