Date: Mon, 11 Jun 2007 00:15:09 +1000 From: "David N" <davidn04@gmail.com> To: "Momchil Ivanov" <idiotbg@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: php 5.2.3 selgmentation fault, can somebody else reproduce it? Message-ID: <4d7dd86f0706100715x4e46c51dt3e573f46ecb151d0@mail.gmail.com> In-Reply-To: <200706101430.07034.idiotbg@gmail.com> References: <200706101430.07034.idiotbg@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/06/07, Momchil Ivanov <idiotbg@gmail.com> wrote: > Hi, > > I`m having trouble with php5-5.2.3 and filled out a bug report > http://bugs.php.net/bug.php?id=41645 can somebody else reproduce this with > the code given in the bug report, or am I the only one experiencing this? It > crashes without debug, and it works with debug on my machine. > > > <snip> > > Description: > ------------ > php crashes with segmentation fault after executing a dummy function > with some default vars > > Reproduce code: > --------------- > <?php > function get_links($category = -1, > $before = '', > $after = '<br />', > $between = ' ', > $show_images = true, > $orderby = 'name', > $show_description = true, > $show_rating = false, > $limit = -1, > $show_updated = -1, > $echo = true) { > }; > get_links(-1, '<li>','</li>', '', false, 'name', false, false, -1); > ?> > > Expected result: > ---------------- > a function with this prototype exists in wordpress. this one here should > exit normally, but it crashes php. if you execute it without the last > argument (corresponding to the $limit var): get_links(-1, > '<li>','</li>', '', false, 'name', false, false) php doesn`t crash > > </snip> > > -- > PGP KeyID: 0x3118168B > Keyserver: pgp.mit.edu > Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B > > > Hi, PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 9 2007 14:41:50) with 6.2-RELEASE-p4 and it doesn't crash in fcgi and cli. Sorry can't be of much help. Cheers David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0706100715x4e46c51dt3e573f46ecb151d0>