[ace-users] I got some strange problems with ACE on
linux(ubuntu 7.04)
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Tue Jun 12 10:58:18 CDT 2007
Hi,
Thanks for using the PRF.
> ACE VERSION: 5.5
ACE 5.5 is old, so please upgrade to ACE+TAO+CIAO x.5.8 (i.e., ACE
5.5.8, TAO 1.5.8, and CIAO 0.5.8), which you can download from
http://download.dre.vanderbilt.edu
under the heading: "Latest Beta Kit".
The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO commercial
support.
Thanks,
Doug
> HOST MACHINE and OPERATING SYSTEM:
> Intel P4 32bit & Ubuntu Linux 7.04
>
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
> GCC 4.1.2
>
> THE $ACE_ROOT/ace/config.h FILE :
> generated by make, 2000+ lines
>
> AREA/CLASS/EXAMPLE AFFECTED:
> ACE_Reactor & ACE_Event_Handler
>
> DOES THE PROBLEM AFFECT:
> EXECUTION
>
>
> SYNOPSIS:
> ACE_Reactor does not "react" after one client disconnect from
>server.
>
>
> DESCRIPTION:
> I wrote some programs (one server and some clients) on windows
>xp(vs2005). I want to deploy them on linux.
> I compile the server program on ubuntu 7.04 and run it
>successfully. every client program connect and transmit data normally.
>but when one client disconnect from server, the server seem to block
>every request from other client. other clients can connect to server
>but can't send data. the ACE_SOCK_Stream.send() block there. No
>handle_input() of ACE_Event_Handler that registered to ACE_Reactor
>will be invoked.
>
> When one client disconnect from server, I make the
>handle_input() of the ACE_Event_Handler for this client peer return
>-1. Then the handle_close() will be invoked, in which I release the
>resources.
>
> I don't specify certain concrete Reactor implement. So the
>working Reactor on linux should be ACE_Select_Reactor. And also I
>tried to use ACE_TP_Reactor, but got the some problem.
>
> Everything goes correctly on windows.
>
> Maybe I should try it on another linux.
>
> did somebody meet problems like this?
>
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list