Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12747 invoked from network); 22 Dec 2009 13:18:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 13:18:26 -0000 Authentication-Results: pb1.pair.com header.from=jess@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jess@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: jess@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:53652] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/63-28791-F17C03B4 for ; Tue, 22 Dec 2009 08:18:25 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id A6D8D50489; Tue, 22 Dec 2009 15:03:36 +0200 (IST) Received: from [10.1.2.102] ([10.1.2.102]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Dec 2009 15:18:20 +0200 Message-ID: <4B30C71B.2050207@zend.com> Date: Tue, 22 Dec 2009 15:18:19 +0200 User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: =?UTF-8?B?S2FybCBQZmzDpHN0ZXJlcg==?= CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-OriginalArrivalTime: 22 Dec 2009 13:18:20.0069 (UTC) FILETIME=[3AF6FD50:01CA8309] Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] php-5.2.12 and pecl install: Seg. fault From: jess@zend.com (Jess Portnoy) Hello, One thing that immediately comes to mind is the old OpenSSL version=20 [0.9.7]. Doesn't SLES9 offer OpenSSL 0.9.8 of any version? Is 0.9.7 as=20 high as it gets in their official repos? If so, I'd compile the latest OpenSSL on my own [0.9.8l] and try, also,=20 what is the OpenSSL version on the SLES10SP2? The attached trace is not really useful as there are no debug symbols,=20 if you want to go that road they will be necessary. May the source be with you, Best regards, Jess Portnoy Karl Pfl=C3=A4sterer wrote: > 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 saf= e_mode=3D0 -d register_argc_argv=3DOn /usr/local/php-5.2.12/lib/php/peclc= md.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_pat= h=3D/usr/local/php-5.2.12/lib/php -d output_buffering=3D1 -d variables_or= der=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 0x402fb9f4 in SSL_SESSION_hash () from /usr/lib/libssl.so.0.9.7 > #1 0x402fba3b in SSL_SESSION_hash_LHASH_HASH () from /usr/lib/libssl.s= o.0.9.7 > #2 0x40016a6c in d2i_X509 () from /lib/ld-linux.so.2 > #3 0x403fceac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #4 0x403d171d in getrn () from /usr/lib/libcrypto.so.0.9.7 > #5 0x00000000 in ?? () > (gdb) > > > And there I'm lost. How 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_pat= h=3D/usr/local/php-5.2.12/lib/php -d output_buffering=3D1 -d variables_or= der=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 0x4053e498 in ASN1_STRING_free () from /usr/lib/libcrypto.so.0.9.7 > #1 0x4083f05e in main_arena () from /lib/tls/libc.so.6 > #2 0x4053b565 in ASN1_primitive_free () from /usr/lib/libcrypto.so.0.9= .7 > #3 0x08068afb in ?? () > #4 0x405d3eac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #5 0xf0604082 in ?? () > #6 0x405d3eac in __JCR_LIST__ () from /usr/lib/libcrypto.so.0.9.7 > #7 0x405cefe8 in X509_seq_tt () from /usr/lib/libcrypto.so.0.9.7 > #8 0x4053b61b in asn1_item_combine_free () from /usr/lib/libcrypto.so.= 0.9.7 > #9 0x405cf72c 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 ?? () > > > > KP > > > =20