#32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select

From: Date: Mon, 30 May 2005 14:56:05 +0000
Subject: #32979 [Fbk->Opn]: socket stream opened with stream_socket_client doesnt work with stream_select
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79710@lists.php.net to get a copy of this message
 ID:               32979
 User updated by:  mjpph at stardust dot fi
 Reported By:      mjpph at stardust dot fi
-Status:           Feedback
+Status:           Open
 Bug Type:         Network related
 Operating System: Linux (Fedora Core 3)
 PHP Version:      5CVS-2005-05-08 (dev)
 Assigned To:      wez
 New Comment:

I could, but I get this:
valgrind: Can only handle 32-bit executables

On a 32bit executable and with openssl stream_select() worked ok. On a
64bit PHP executable it doesn't.


Previous Comments:
------------------------------------------------------------------------

[2005-05-30 16:33:24] sniper@php.net

Can you now check it with valgrind, please?


------------------------------------------------------------------------

[2005-05-30 15:53:58] mjpph at stardust dot fi

Ok the latest snapshot compiled cleanly on x86_64. The stream_select()
bug is still present in the latest snapshot.

------------------------------------------------------------------------

[2005-05-30 15:37:52] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

(the compile error should be fixed, plus it should be more 64bit
friendly :)


------------------------------------------------------------------------

[2005-05-28 11:56:37] mjpph at stardust dot fi

Looks like this might also be a x86_64 problem. As I compiled the same
exact version on i386 FC3 and got it working even with openssl compiled
in.

------------------------------------------------------------------------

[2005-05-28 11:37:29] mjpph at stardust dot fi

A problem. I'm running x86_64 FC3 and PHP and valgrind seems to be able
to do 32bit executables only.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32979

-- 
Edit this bug report at http://bugs.php.net/?id=32979&edit=1


Thread (50 messages)

« previous php.bugs (#79710) next »