Hi Ron, I think, I fixed this bug week or two ago. Did you tested it with shapshot from http://snaps.php.net?
Thanks. Dmitry. > -----Original Message----- > From: Ron Korving [mailto:[EMAIL PROTECTED] > Sent: Friday, January 21, 2005 15:56 > To: internals@lists.php.net > Subject: Re: [PHP-DEV] segfault in stream_socket_accept > (fixed before5.0.4?) > > > "Antony Dovgal" <[EMAIL PROTECTED]> schreef in bericht > news:[EMAIL PROTECTED] > > On Fri, 21 Jan 2005 12:54:02 +0100 > > "Ron Korving" <[EMAIL PROTECTED]> 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php