This is in current head.

(cd .libs && rm -f libphp4.la && ln -s ../libphp4.la libphp4.la)
Installing PHP SAPI module
Installing shared extensions:     
/usr/local/www/php5mincli/lib/php/extensions/debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/www/php5mincli/lib/php/
[Tue Jan 28 00:38:20 2003]  Script:  '/opt/DEV/php/php5/pear/install-pear.php'
---------------------------------------
/opt/DEV/php/php5/Zend/zend_execute.h(66) : Block 0xBFFF99C0 status:
Beginning:      Overrun (magic=0xBFFF99F4, expected=0x7312F8DC)
make[1]: *** [install-pear-installer] Segmentation fault (core dumped)
make: *** [install-pear] Error 2
00:38 N0v3ll /opt/DEV/php/php5 # gdb sapi/cli/php core
GNU gdb 5.3
Copyright 2002 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 "i686-pc-linux-gnu"...
Core was generated by `/opt/DEV/php/php5/sapi/cli/php -n -dsafe_mode 0 
/opt/DEV/php/php5/pear/install-'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x401211bc in memcpy () from /lib/libc.so.6
(gdb) bt full
#0  0x401211bc in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x0815d1e6 in _mem_block_check (ptr=0xbfff99e4, silent=1, 
__zend_filename=0x81c6200 "/opt/DEV/php/php5/Zend/zend_execute.h",
    __zend_lineno=66, __zend_orig_filename=0x0, __zend_orig_lineno=0) at 
/opt/DEV/php/php5/Zend/zend_alloc.c:678
        p = (struct _zend_mem_header *) 0xbfff99c0
        no_cache_notice = 0
        valid_beginning = 1
        had_problems = 0
        end_magic = 0
#2  0x0815d1a8 in _mem_block_check (ptr=0xbfff99e4, silent=1, 
__zend_filename=0x81c6200 "/opt/DEV/php/php5/Zend/zend_execute.h",
    __zend_lineno=66, __zend_orig_filename=0x0, __zend_orig_lineno=0) at 
/opt/DEV/php/php5/Zend/zend_alloc.c:670
        p = (struct _zend_mem_header *) 0xbfff99c0
        no_cache_notice = 0
        valid_beginning = 1
        had_problems = 0
        end_magic = 0
#3  0x0815c621 in _efree (ptr=0xbfff99e4, __zend_filename=0x81c6200 
"/opt/DEV/php/php5/Zend/zend_execute.h", __zend_lineno=66,
    __zend_orig_filename=0x0, __zend_orig_lineno=0) at 
/opt/DEV/php/php5/Zend/zend_alloc.c:225
        p = (struct _zend_mem_header *) 0xbfff99c0
        real_size = 48
        cache_index = 6
#4  0x08168a4b in safe_free_zval_ptr (p=0xbfff99e4) at 
/opt/DEV/php/php5/Zend/zend_execute.h:66
No locals.
#5  0x08166e38 in _zval_ptr_dtor (zval_ptr=0x401d4c14, __zend_filename=0x81c9220 
"/opt/DEV/php/php5/Zend/zend_execute.h",
    __zend_lineno=120) at /opt/DEV/php/php5/Zend/zend_execute_API.c:319
No locals.
#6  0x0818da22 in zend_ptr_stack_clear_multiple () at 
/opt/DEV/php/php5/Zend/zend_execute.h:120
        p = (void **) 0x401d4c14
        delete_count = 0
#7  0x08189b86 in zend_do_fcall_common_helper (execute_data=0xbfffa8e0, 
op_array=0x403d9968)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2677
        original_return_value = (struct _zval_struct **) 0xc8
        current_scope = (struct _zend_class_entry *) 0x81f9b98
        current_this = (struct _zval_struct *) 0xbfffa3f0
        return_value_used = 1
#8  0x08189d1b in zend_do_fcall_handler (execute_data=0xbfffa8e0, op_array=0x403d9968) 
at /opt/DEV/php/php5/Zend/zend_execute.c:2724
        fname = (struct _zval_struct *) 0x403ac1ac
#9  0x08184a99 in execute (op_array=0x403d9968) at 
/opt/DEV/php/php5/Zend/zend_execute.c:1217
        execute_data = {opline = 0x403ac188, function_state = {function_symbol_table = 
0x4040f4c8, function = 0x403d9968,
    reserved = {0x8182b13, 0x81ded38, 0x40376968, 0x44}}, fbc = 0x0, fbc_constructor = 
0x40376974, op_array = 0x403d9968,
  object = 0x0, Ts = 0xbfff9e4c, original_in_execution = 1 '\001', calling_scope = 
0x44, prev_execute_data = 0xbfffaac0}
#10 0x0818985c in zend_do_fcall_common_helper (execute_data=0xbfffaac0, 
op_array=0x40360b40)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2630
        calling_symbol_table = (struct _hashtable *) 0x40424904
        original_return_value = (struct _zval_struct **) 0xbfffad9c
        current_scope = (struct _zend_class_entry *) 0x4025e0cc
        current_this = (struct _zval_struct *) 0x40375bb8
        return_value_used = 1
#11 0x08189c1e in zend_do_fcall_by_name_handler (execute_data=0xbfffaac0, 
op_array=0x40360b40)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2694
No locals.
#12 0x08184a99 in execute (op_array=0x40360b40) at 
/opt/DEV/php/php5/Zend/zend_execute.c:1217
        execute_data = {opline = 0x403adc34, function_state = {function_symbol_table = 
0x40424a30, function = 0x403d9968,
    reserved = {0xbfffaafc, 0x403a89ac, 0xbfffab7c, 0x6c6e755f}}, fbc = 0x403d9968, 
fbc_constructor = 0x81df104,
  op_array = 0x40360b40, object = 0x40375bb8, Ts = 0xbfffa99c, original_in_execution = 
1 '\001', calling_scope = 0x4025e0cc,
---Type <return> to continue, or q <return> to quit---
  prev_execute_data = 0xbfffadf0}
#13 0x0818985c in zend_do_fcall_common_helper (execute_data=0xbfffadf0, 
op_array=0x403a3370)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2630
        calling_symbol_table = (struct _hashtable *) 0x403c35e8
        original_return_value = (struct _zval_struct **) 0xbfffc0f8
        current_scope = (struct _zend_class_entry *) 0x4025e0cc
        current_this = (struct _zval_struct *) 0x40375bb8
        return_value_used = 0
#14 0x08189c1e in zend_do_fcall_by_name_handler (execute_data=0xbfffadf0, 
op_array=0x403a3370)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2694
No locals.
#15 0x08184a99 in execute (op_array=0x403a3370) at 
/opt/DEV/php/php5/Zend/zend_execute.c:1217
        execute_data = {opline = 0x403a8a40, function_state = {function_symbol_table = 
0x40424904, function = 0x40360b40,
    reserved = {0x818db91, 0x403768ac, 0xf20759b1, 0xbfffae68}}, fbc = 0x40360b40, 
fbc_constructor = 0x403768ac,
  op_array = 0x403a3370, object = 0x40375bb8, Ts = 0xbfffab7c, original_in_execution = 
1 '\001', calling_scope = 0x4025e0cc,
  prev_execute_data = 0xbfffd370}
#16 0x0818985c in zend_do_fcall_common_helper (execute_data=0xbfffd370, 
op_array=0x401e5994)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2630
        calling_symbol_table = (struct _hashtable *) 0x81df1d0
        original_return_value = (struct _zval_struct **) 0xbfffd3f4
        current_scope = (struct _zend_class_entry *) 0x0
        current_this = (struct _zval_struct *) 0x0
        return_value_used = 1
#17 0x08189c1e in zend_do_fcall_by_name_handler (execute_data=0xbfffd370, 
op_array=0x401e5994)
    at /opt/DEV/php/php5/Zend/zend_execute.c:2694
No locals.
#18 0x08184a99 in execute (op_array=0x401e5994) at 
/opt/DEV/php/php5/Zend/zend_execute.c:1217
        execute_data = {opline = 0x401f1788, function_state = {function_symbol_table = 
0x403c35e8, function = 0x403a3370,
    reserved = {0x0, 0x0, 0x401e5994, 0x0}}, fbc = 0x403a3370, fbc_constructor = 
0x4023a51c, op_array = 0x401e5994,
  object = 0x40375bb8, Ts = 0xbfffaeac, original_in_execution = 0 '\0', calling_scope 
= 0x4025e0cc, prev_execute_data = 0x0}
#19 0x08172078 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at 
/opt/DEV/php/php5/Zend/zend.c:996
        files = 0xbfffd424 ""
        i = 1
        file_handle = (struct _zend_file_handle *) 0xbffff6d0
        orig_op_array = (struct _zend_op_array *) 0x0
        local_retval = (struct _zval_struct *) 0x0
#20 0x081399b7 in php_execute_script (primary_file=0xbffff6d0) at 
/opt/DEV/php/php5/main/main.c:1691
        orig_bailout = {{__jmpbuf = {1075638628, 1073821376, -1073744028, -1073744104, 
-1073744528, 135861829},
    __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 32 times>}}}}
        orig_bailout_set = 1 '\001'
        prepend_file_p = (struct _zend_file_handle *) 0x0
        append_file_p = (struct _zend_file_handle *) 0x0
        prepend_file = {type = 1 '\001', filename = 0x8210d50 "STDIN", opened_path = 
0x6 <Address 0x6 out of bounds>, handle = {
    fd = 0, fp = 0x0}, free_filename = 0 '\0'}
        append_file = {type = 1 '\001', filename = 0x8210d90 "STDOUT", opened_path = 
0x7 <Address 0x7 out of bounds>, handle = {
    fd = 0, fp = 0x0}, free_filename = 1 '\001'}
        old_cwd = 0xbfffd42c ""
        old_primary_file_path = 0x0
        retval = 0
#21 0x08191ded in main (argc=7, argv=0xbffff764) at 
/opt/DEV/php/php5/sapi/cli/php_cli.c:753
        orig_bailout = {{__jmpbuf = {0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, 
__saved_mask = {__val = {0 <repeats 32 times>}}}}
        orig_bailout_set = 0 '\0'
        exit_status = 0
        c = 60
        file_handle = {type = 2 '\002', filename = 0xbffff8e5 
"/opt/DEV/php/php5/pear/install-pear.php", opened_path = 0x0,
---Type <return> to continue, or q <return> to quit---
  handle = {fd = 136382160, fp = 0x82106d0}, free_filename = 0 '\0'}
        behavior = 1
        no_headers = 1
        orig_optind = 1
        orig_optarg = 0x0
        arg_free = 0xbffff8e5 "/opt/DEV/php/php5/pear/install-pear.php"
        arg_excp = (char **) 0xbffff770
        script_file = 0xbffff8e5 "/opt/DEV/php/php5/pear/install-pear.php"
        global_vars = {head = 0x0, tail = 0x0, count = 0, size = 4, dtor = 0, 
persistent = 0 '\0', traverse_ptr = 0x40117cbe}
        interactive = 0
        module_started = 1
        lineno = 0
        exec_direct = 0x0
        param_error = 0x0
#22 0x400bba44 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb)


/ Magnus

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to