sock_init: ERROR in sock_check_pollhup()

Austin English austinenglish at gmail.com
Mon Mar 2 02:44:24 CST 2009


I'm occasionally seeing this error when starting an application in
OpenSolaris. Seems to be about 1/4 of the time. Looked for it in the
source, found it in server/sock.c:

void sock_init(void)
{
    sock_shutdown_type = sock_check_pollhup();

    switch ( sock_shutdown_type )
    {
    case SOCK_SHUTDOWN_EOF:
        if (debug_level) fprintf( stderr, "sock_init: shutdown()
causes EOF\n" );
        break;
    case SOCK_SHUTDOWN_POLLHUP:
        if (debug_level) fprintf( stderr, "sock_init: shutdown()
causes POLLHUP\n" );
        break;
    default:
        fprintf( stderr, "sock_init: ERROR in sock_check_pollhup()\n" );
        sock_shutdown_type = SOCK_SHUTDOWN_EOF;
    }
}

Is it anything to worry about? Or safe to ignore?

-- 
-Austin



More information about the wine-devel mailing list