Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46485 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7390 invoked from network); 22 Dec 2009 12:52:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 12:52:23 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:53642] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/82-28791-501C03B4 for ; Tue, 22 Dec 2009 07:52:22 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NN3pm-0002TB-Bl for internals@lists.php.net; Tue, 22 Dec 2009 13:27:26 +0100 Received: from 213.83.3.2 ([213.83.3.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 13:27:26 +0100 Received: from k by 213.83.3.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 13:27:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 22 Dec 2009 13:25:47 +0100 Lines: 62 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: 213.83.3.2 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) Cancel-Lock: sha1:fzr2yUaL1lTTuTJrvTSxtEv6Qug= Sender: news Subject: php-5.2.12 and pecl install: Seg. fault From: k@rl.pflaesterer.de ((Karl =?iso-8859-1?Q?Pfl=E4sterer?=)) 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=/usr/local/php-5.2.12/lib/php -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv=On /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=/usr/local/php-5.2.12/lib/php -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv=On /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.so.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_path=/usr/local/php-5.2.12/lib/php -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv=On /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