#36375 [NEW]: Pear-Installation Segmentation fault

From: Date: Mon, 13 Feb 2006 06:01:35 +0000
Subject: #36375 [NEW]: Pear-Installation Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93192@lists.php.net to get a copy of this message
From: anu at anusoft dot biz Operating system: Fedora Core 3 PHP version: 5CVS-2006-02-13 (snap) PHP Bug Type: Unknown/Other Function Bug description: Pear-Installation Segmentation fault Description: ------------ error occours when 'make install' Reproduce code: --------------- [shell@php5.1-200602130330]$ make install Actual result: -------------- Installing PHP SAPI module: cgi Installing PHP CGI into: /tmp/test/phptest/bin/ Installing shared extensions: /tmp/test/phptest/lib/php/extensions/debug-non-zts-20050922/ Installing build environment: /tmp/test/phptest/lib/php/build/ Installing header files: /tmp/test/phptest/include/php/ Installing helper programs: /tmp/test/phptest/bin/ program: phpize program: php-config Installing man pages: /tmp/test/phptest/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /tmp/test/phptest/lib/php/ make[1]: *** [install-pear-installer] Segmentation fault make: *** [install-pear] Error 2 ########################################################### [test@php5.1-200602130330]$ gdb sapi/cli/php GNU gdb Red Hat Linux (6.1post-1.20040607.41rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear- Starting program: /tmp/test/php/php5.1-200602130330/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear- warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' Could not open input file: pear/install-pear- Program exited with code 01. (gdb) (gdb) nozlib.phar Undefined command: "nozlib". Try "help". (gdb) Undefined command: "nozlib". Try "help". (gdb) run -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar Starting program: /tmp/test/php/php5.1-200602130330/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' Program received signal SIGSEGV, Segmentation fault. 0x0096ce53 in memmove () from /lib/tls/libc.so.6 (gdb) bt #0 0x0096ce53 in memmove () from /lib/tls/libc.so.6 #1 0xf6f80fe2 in XML_GetBuffer (parser=0xf6f8f510, len=320) at xmlparse.c:840 #2 0xf6f81078 in XML_Parse (parser=0x9170024, s=0x8a81024 "<role version=\"1.0\">\n <releasetypes>php</releasetypes>\n <releasetypes>extsrc</releasetypes>\n <releasetypes>extbin</releasetypes>\n <installable>1</installable>\n <locationconfig>data_dir</locationconfig"..., len=320, isFinal=0) at xmlparse.c:810 #3 0x082f7b08 in zif_xml_parse (ht=2, return_value=0x9323e24, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /tmp/test/php/php5.1-200602130330/ext/xml/xml.c:1347 #4 0x08357499 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffa190) at zend_vm_execute.h:192 #5 0x08356e51 in execute (op_array=0x9044224) at zend_vm_execute.h:92 #6 0x08357059 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffa800) at zend_vm_execute.h:226 #7 0x08356e51 in execute (op_array=0x9044624) at zend_vm_execute.h:92 #8 0x08357059 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffaa50) at zend_vm_execute.h:226 #9 0x08356e51 in execute (op_array=0x9019324) at zend_vm_execute.h:92 #10 0x08357059 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffb2c0) at zend_vm_execute.h:226 #11 0x08356e51 in execute (op_array=0x8da4724) at zend_vm_execute.h:92 #12 0x08357059 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffb520) at zend_vm_execute.h:226 #13 0x08356e51 in execute (op_array=0x8da4424) at zend_vm_execute.h:92 #14 0x08357059 in zend_do_fcall_common_helper_SPEC (execute_data=0xfeffd090) at zend_vm_execute.h:226 #15 0x08356e51 in execute (op_array=0x8a44d24) at zend_vm_execute.h:92 #16 0x0835c883 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER (execute_data=0xfeffd3c0) at zend_vm_execute.h:1918 #17 0x08356e51 in execute (op_array=0x89bbe24) at zend_vm_execute.h:92 #18 0x0833d352 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /tmp/test/php/php5.1-200602130330/Zend/zend.c:1101 #19 0x08304990 in php_execute_script (primary_file=0xfefff8e0) at /tmp/test/php/php5.1-200602130330/main/main.c:1719 #20 0x083a8313 in main (argc=8, argv=0xfefff9b4) at /tmp/test/php/php5.1-200602130330/sapi/cli/php_cli.c:1090 ########################################################### -- Edit bug report at http://bugs.php.net/?id=36375&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36375&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36375&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36375&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36375&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36375&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36375&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36375&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36375&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36375&r=support Expected behavior: http://bugs.php.net/fix.php?id=36375&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36375&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36375&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36375&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36375&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36375&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36375&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36375&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36375&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36375&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36375&r=mysqlcfg

« previous php.bugs (#93192) next »