From owner-freebsd-ports@FreeBSD.ORG Sun Jun 10 12:30:08 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 58E9C16A400 for ; Sun, 10 Jun 2007 12:30:08 +0000 (UTC) (envelope-from idiotbg@gmail.com) Received: from smtp.studnetz.uni-leipzig.de (smtp.studnetz.uni-leipzig.de [139.18.143.252]) by mx1.freebsd.org (Postfix) with ESMTP id E2D6013C45D for ; Sun, 10 Jun 2007 12:30:07 +0000 (UTC) (envelope-from idiotbg@gmail.com) Received: from localhost (localhost [127.0.0.1]) by smtp.studnetz.uni-leipzig.de (Postfix) with ESMTP id 9DC68255 for ; Sun, 10 Jun 2007 14:30:06 +0200 (CEST) X-Virus-Scanned: by amavisd-new at studnetz-ul Received: from smtp.studnetz.uni-leipzig.de ([127.0.0.1]) by localhost (smtp.studnetz.uni-leipzig.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nCrr-uxLxObi for ; Sun, 10 Jun 2007 14:30:06 +0200 (CEST) Received: from a144026.studnetz.uni-leipzig.de (a144026.studnetz.uni-leipzig.de [139.18.144.26]) by smtp.studnetz.uni-leipzig.de (Postfix) with ESMTP id 818F1253 for ; Sun, 10 Jun 2007 14:30:06 +0200 (CEST) From: Momchil Ivanov To: freebsd-ports@freebsd.org Date: Sun, 10 Jun 2007 14:30:02 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart131276304.Gx3yPhK8jx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706101430.07034.idiotbg@gmail.com> Subject: 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 12:30:08 -0000 --nextPart131276304.Gx3yPhK8jx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I`m having trouble with php5-5.2.3 and filled out a bug report=20 http://bugs.php.net/bug.php?id=3D41645 can somebody else reproduce this wit= h=20 the code given in the bug report, or am I the only one experiencing this? I= t=20 crashes without debug, and it works with debug on my machine. Description: =2D----------- php crashes with segmentation fault after executing a dummy function with some default vars Reproduce code: =2D-------------- ', $between =3D ' ', $show_images =3D true, $orderby =3D 'name', $show_description =3D true, $show_rating =3D false, $limit =3D -1, $show_updated =3D -1, $echo =3D true) { }; get_links(-1, '
  • ','
  • ', '', false, 'name', false, false, -1); ?> Expected result: =2D--------------- 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
    =2D-=20 PGP KeyID: 0x3118168B Keyserver: pgp.mit.edu Key fingerprint BB50 2983 0714 36DC D02E =C2=A0158A E03D 56DA 3118 168B =20 --nextPart131276304.Gx3yPhK8jx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGa+7K4D1W2jEYFosRAiT/AJ4/4bCQxQDfOdCeRNC7cReZeD8yNACePlRE hbqcY1c/r5tyawIPiyOAT8g= =R/4J -----END PGP SIGNATURE----- --nextPart131276304.Gx3yPhK8jx--