Hi,
I know this isn't the proper channel for a bugreport, but I think this
segfault will require a very simple fix and I hope this could be fixed
before 5.0.4 is released (so I'm posting this because of the time factor).
This code segfaults (PHP 5.0.3):
<?
$server = stream_socket_server("tcp://0.0.0.0:12345");
$client = stream_socket_accept($server, 3, $peername);
?>
while this doesn't:
<?
$server = stream_socket_server("tcp://0.0.0.0:12345");
$client = stream_socket_accept($server, 3);
?>
So the problem is obviously in the feedback variable "peername". I was
hoping this might be fixed before 5.0.4 rolls out.
Thanks,
Ron Korving
On Fri, 21 Jan 2005 12:54:02 +0100
"Ron Korving" r.korving@xit.nl wrote:
Hi,
I know this isn't the proper channel for a bugreport, but I think this
segfault will require a very simple fix and I hope this could be fixed
before 5.0.4 is released (so I'm posting this because of the time
factor).
Did I miss something or there wasn't even RC1 yet?
This code segfaults (PHP 5.0.3):
<?
$server = stream_socket_server("tcp://0.0.0.0:12345");
$client = stream_socket_accept($server, 3, $peername);
?>
Please, fill a bug-report and don't forget to include backtrace.
Btw, I can't reproduce it with current CVS.
--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com
"Antony Dovgal" antony@zend.com schreef in bericht
news:20050121152510.368a413b.antony@zend.com...
On Fri, 21 Jan 2005 12:54:02 +0100
"Ron Korving" r.korving@xit.nl wrote:Hi,
I know this isn't the proper channel for a bugreport, but I think this
segfault will require a very simple fix and I hope this could be fixed
before 5.0.4 is released (so I'm posting this because of the time
factor).Did I miss something or there wasn't even RC1 yet?
I don't know exactly when PHP 5.0.4 will be released, but I understood from
Andi's posts that he wanted to get 5.0.4 out pretty soon.
This code segfaults (PHP 5.0.3):
<?
$server = stream_socket_server("tcp://0.0.0.0:12345");
$client = stream_socket_accept($server, 3, $peername);
?>Please, fill a bug-report and don't forget to include backtrace.
Btw, I can't reproduce it with current CVS.
Could you tell me how I can create a backtrace? (I use a precompiled PHP
5.0.3, so I'm not sure if I can do this with my software). I noticed there
are backtrace php functions, but how can I call a function after php
segfaults?
Thanks,
Ron
Could you tell me how I can create a backtrace? (I use a precompiled PHP
5.0.3, so I'm not sure if I can do this with my software). I noticed there
are backtrace php functions, but how can I call a function after php
segfaults?
Read the instructions that our bugreport form refers to:
http://bugs.php.net/bugs-generating-backtrace.php
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Unfortunately right now I don't have the time to do this. I posted a
bugreport ( http://bugs.php.net/31633 ). Maybe I can try to add a backtrace
later.
Thank you,
Ron
"Derick Rethans" derick@php.net schreef in bericht
news:Pine.LNX.4.58.0501211400030.28848@localhost...
Could you tell me how I can create a backtrace? (I use a precompiled PHP
5.0.3, so I'm not sure if I can do this with my software). I noticed
there
are backtrace php functions, but how can I call a function after php
segfaults?Read the instructions that our bugreport form refers to:
http://bugs.php.net/bugs-generating-backtrace.php--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
I think I fixed this problem up to a month ago in HEAD.
--Wez.
On Fri, 21 Jan 2005 12:54:02 +0100
"Ron Korving" r.korving@xit.nl wrote:Hi,
I know this isn't the proper channel for a bugreport, but I think this
segfault will require a very simple fix and I hope this could be fixed
before 5.0.4 is released (so I'm posting this because of the time
factor).Did I miss something or there wasn't even RC1 yet?
This code segfaults (PHP 5.0.3):
<?
$server = stream_socket_server("tcp://0.0.0.0:12345");
$client = stream_socket_accept($server, 3, $peername);
?>Please, fill a bug-report and don't forget to include backtrace.
Btw, I can't reproduce it with current CVS.--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com