Re: segfault in stream_socket_accept (fixed before5.0.4?)

From: Date: Fri, 21 Jan 2005 12:55:30 +0000
Subject: Re: segfault in stream_socket_accept (fixed before5.0.4?)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-14411@lists.php.net to get a copy of this message
"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

« previous php.internals (#14411) next »