|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-13 08:50 UTC] sniper@php.net
[2006-02-13 09:18 UTC] anu at anusoft dot biz
[2006-02-13 10:42 UTC] anu at anusoft dot biz
[2006-04-10 21:54 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 02:00:02 2025 UTC |
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 ###########################################################