php 5.2.3 selgmentation fault, can somebody else reproduce it?
David N
davidn04 at gmail.com
Sun Jun 10 14:41:10 UTC 2007
On 10/06/07, Momchil Ivanov <idiotbg at 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
More information about the freebsd-ports
mailing list