Subject RE: [ib-support] ibase crash (error on main_port, shuttingdow)
Author H. Th. van der Meer
On my question about the select failed error Ann replied:

>WSAEFAULT

>(10014)

>Bad address.

>The system detected an invalid pointer address in attempting

>to use a pointer argument of a call. This error occurs if an

>application passes an invalid pointer value, or if the length

>of the buffer is too small. For instance, if the length of an

>argument which is a struct sockaddr is smaller than

>sizeof(struct sockaddr).

Ann, thank you for that. I new it, but I am glad there is somebody that can
help me think about this problem.

The actual text in the Windows 2000 documentation is:

WSAEFAULT:

The Windows Sockets implementation was unable to allocate needed resources
for its internal operations, or the readfds, writefds, exceptfds, or timeval
parameters are not part of the user address space.

So it could be an error in a pointer or that windows is running out of
resources.

I took a look at inet.c. The files from firebird and interbase differ. On
line 36 FD_SETSIZE is defined as 256 in one and 1024 in the other.

From a discussion on the IB_ARCHITECURE list I understood that this could
have to do whith the maximum number of clients.

I would like to know who made this change? and why?

Does it have anything to do with my problem?

Is anybody looking at the tcp/ip sources? I would like to add more
information to the log.

Wouldn't it be nice to know who canceled the connection when you get an
10054 errro?

Can somebody help me to get started?

Greetings,



Henk van der Meer

Target Team Timing.



[Non-text portions of this message have been removed]