From owner-freebsd-ports@FreeBSD.ORG Sun Jun 10 14:41:10 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C675916A41F for ; Sun, 10 Jun 2007 14:41:10 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.freebsd.org (Postfix) with ESMTP id 7358313C45D for ; Sun, 10 Jun 2007 14:41:10 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so1055012wxd for ; Sun, 10 Jun 2007 07:41:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iSvIZtEOVMop2n6yNJ1Y8adDzd4c/m3fkwDBcIJxlj40rXA0Q/G8RgVgl2XDL6sxRLGVOdl3DB8g3hutLm6b2ieYtgPSietKn3r73FaBBY2KJUhmz9+6Wv3eMr2l7VTrBzbCSbHMCqtmds6NRPQaR+4Vw93QKqjqXLB2rXTS6Vc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JQY0jHGt6zPN2pJ6xHkEaMMHskLB07IgHFIAL37uE/flvizGrCsvGlA5FolAaemQQEA9o53g7eBfNCr9lEY+iZxDgtSaenhIbj/c6q3sdeqjxmZYXc1Z6uzgbF21aDjxFYSu++I45GZwaHHoQNcZB9UX45EV+Z9v/QPDw06kS0A= Received: by 10.90.90.3 with SMTP id n3mr4452593agb.1181484909933; Sun, 10 Jun 2007 07:15:09 -0700 (PDT) Received: by 10.90.120.17 with HTTP; Sun, 10 Jun 2007 07:15:09 -0700 (PDT) Message-ID: <4d7dd86f0706100715x4e46c51dt3e573f46ecb151d0@mail.gmail.com> Date: Mon, 11 Jun 2007 00:15:09 +1000 From: "David N" To: "Momchil Ivanov" In-Reply-To: <200706101430.07034.idiotbg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706101430.07034.idiotbg@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: php 5.2.3 selgmentation fault, can somebody else reproduce it? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 14:41:10 -0000 On 10/06/07, Momchil Ivanov 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. > > > > > Description: > ------------ > php crashes with segmentation fault after executing a dummy function > with some default vars > > Reproduce code: > --------------- > function get_links($category = -1, > $before = '', > $after = '
', > $between = ' ', > $show_images = true, > $orderby = 'name', > $show_description = true, > $show_rating = false, > $limit = -1, > $show_updated = -1, > $echo = true) { > }; > get_links(-1, '
  • ','
  • ', '', 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, > '
  • ','
  • ', '', false, 'name', false, false) php doesn`t crash > >
    > > -- > 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