Crash in SELECT


I observed the system crashing in the SELECT call, and I am not able to understand why!!

I checked the fd_set before passing to SELECT, and in case of crash it shows all zero, though I have set the FDs to this FD_SET. Could this be the reason for SELECT to crash!!

any other idea, what may cause SELECT to crash!!

Many thanks in advance,

Best Regards,

exceeding FD_SETSIZE maybe?