[ace-users] Segmentation faultinACE_Select_Reactor_T::handle_error (with ACE 5.5.9)

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Jun 29 14:31:09 CDT 2007


Hi Jules,

>"Bad file descriptor"
>
>I know that the socket has been closed at this point.  Is it not
>possible to remove a handler after closing its socket?

Yes, of course - but not if you're doing something that causes the
reactor to try and remove an invalid socket handle..  This can happen
if your get_handle() method is returning -1.  Again, you need to set a
breakpoint in the debugger and see what's going on.

Take care,

     Doug
-- 
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