Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46489 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37564 invoked from network); 22 Dec 2009 15:08:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 15:08:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.44 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.44 mail-pw0-f44.google.com Received: from [209.85.160.44] ([209.85.160.44:59675] helo=mail-pw0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/67-28791-9D0E03B4 for ; Tue, 22 Dec 2009 10:08:10 -0500 Received: by pwi15 with SMTP id 15so4184343pwi.23 for ; Tue, 22 Dec 2009 07:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cYg6DUxcXC37Ew/jTZISd8wWLj37ml5fuISSmsGhSoQ=; b=wgmopySesXo5JfeNyIljs60Sqk7JxTUyqVb35t/Es0nXBIPIYErlJME4Mv9roHJz3y vu2vMqfwrmTbsOd3OBoy3lwYo6xt0+llrkXvxvsWL/Ip0pophbZJKc2KFLlLcMial7JS 1Knarwwee5Vdv8mjoSdzpCFQ6qkXKP8uY2YYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=po1mOa9s/4LBv7p8oVQi2tHbsEe0toKuBvxJD81JyAeYxEeT1kmlOtuqUHjljtp7Sm 1zhl4npDyRfaD/0/xa7jjYcpo+d2XjhFOcgZRDo2gz84TuSBeLtKNK4QhemdNKfpLG5y TI2xJCxP/mzflQ3Fu5iiPmHbQDW0Q6gXly0H8= MIME-Version: 1.0 Received: by 10.142.250.36 with SMTP id x36mr5770876wfh.176.1261494487328; Tue, 22 Dec 2009 07:08:07 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Dec 2009 16:08:07 +0100 Message-ID: To: =?ISO-8859-1?Q?Karl_Pfl=E4sterer?= Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] php-5.2.12 and pecl install: Seg. fault From: pierre.php@gmail.com (Pierre Joye) hi, The pecl channel install does not use SSL and there is no signing involved, so the pecl install pdflib cmd won't use ssl. On your other script, gd crashes, are you opening an image from a https URL? If not, it means that your setup is broken (mixing lib/headers/x86/x64 versions?). Cheers, On Tue, Dec 22, 2009 at 1:25 PM, Karl Pfl=E4sterer wr= ote: > Hi, > I wanted to install php-5.2.12 on a 32-Bit SLES9 SP4. I had no problems > with the 64-Bit SLES10SP2 but with the 32-Bit I can't use pecl. > > Whenever I try to install a library I only get a seg. fault. I tried > also php-5.2.11 and there is also the same problem. php-5.2.9 works. > > pecl install pdflib expands to: > > /usr/local/php-5.2.12/bin/php -C -n -q -d include_path=3D/usr/local/php-5= .2.12/lib/php -d output_buffering=3D1 -d variables_order=3DEGPCS -d safe_mo= de=3D0 -d register_argc_argv=3DOn /usr/local/php-5.2.12/lib/php/peclcmd.php= install pdflib > > If I run that with gdb I see: > > (gdb) run > Starting program: /usr/local/php-5.2.12/bin/php -C -n -q -d include_path= =3D/usr/local/php-5.2.12/lib/php -d output_buffering=3D1 -d variables_order= =3DEGPCS -d safe_mode=3D0 -d register_argc_argv=3DOn /usr/local/php-5.2.12/= lib/php/peclcmd.php install pdflib > [Thread debugging using libthread_db enabled] > [New Thread 1080940768 (LWP 32645)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1080940768 (LWP 32645)] > 0x402fb9f4 in SSL_SESSION_hash () from /usr/lib/libssl.so.0.9.7 > (gdb) bt > #0 =A00x402fb9f4 in SSL_SESSION_hash () from /usr/lib/libssl.so.0.9.7 > #1 =A00x402fba3b in SSL_SESSION_hash_LHASH_HASH () from /usr/lib/libssl.s= o.0.9.7 > #2 =A00x40016a6c in d2i_X509 () from /lib/ld-linux.so.2 > #3 =A00x403fceac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #4 =A00x403d171d in getrn () from /usr/lib/libcrypto.so.0.9.7 > #5 =A00x00000000 in ?? () > (gdb) > > > And there I'm lost. =A0How can I debug further what the problem might be. > > On another server (also SLES9SP4 32-bit Linux) I see: > > (gdb) run > Starting program: /usr/local/php-5.2.12/bin/php -C -n -q -d include_path= =3D/usr/local/php-5.2.12/lib/php -d output_buffering=3D1 -d variables_order= =3DEGPCS -d safe_mode=3D0 -d register_argc_argv=3DOn /usr/local/php-5.2.12/= lib/php/peclcmd.php install pdflib > [Thread debugging using libthread_db enabled] > [New Thread 1082827648 (LWP 25177)] > *** glibc detected *** double free or corruption (out): 0x4083f088 *** > *** glibc detected *** double free or corruption (out): 0x4083f090 *** > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1082827648 (LWP 25177)] > 0x4053e498 in ASN1_STRING_free () from /usr/lib/libcrypto.so.0.9.7 > (gdb) bt > #0 =A00x4053e498 in ASN1_STRING_free () from /usr/lib/libcrypto.so.0.9.7 > #1 =A00x4083f05e in main_arena () from /lib/tls/libc.so.6 > #2 =A00x4053b565 in ASN1_primitive_free () from /usr/lib/libcrypto.so.0.9= .7 > #3 =A00x08068afb in ?? () > #4 =A00x405d3eac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #5 =A00xf0604082 in ?? () > #6 =A00x405d3eac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #7 =A00x405cefe8 in X509_seq_tt () from /usr/lib/libcrypto.so.0.9.7 > #8 =A00x4053b61b in asn1_item_combine_free () from /usr/lib/libcrypto.so.= 0.9.7 > #9 =A00x405cf72c in ASN1_OCTET_STRING_it () from /usr/lib/libcrypto.so.0.= 9.7 > #10 0x405bd330 in gdImageCreateFromPngCtx () at gd_png.c:124 > #11 0x00000000 in ?? () > > > > =A0KP > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org