Segmention fault in PHP5 when doing make install

php.internals

Magnus Maatta

23 years ago
#0 0x0825d095 in zend_make_full_classname (ce=0x865600c, name=0xbf1ef26c, name_len=0xbf1ef268) at /opt/dev/php/php5/Zend/zend_API.c:1573 len = 11 full_name = 0x8268a43 "ÉÃU\211åS\201ì\224" #1 0x0826a85c in zend_std_object_get_class_name (object=0x86daf64, class_name=0xbf1ef26c, class_name_len=0xbf1ef268, parent=0) at /opt/dev/php/php5/Zend/zend_object_handlers.c:805 zobj = (zend_object *) 0x865f95c ce = (zend_class_entry *) 0x865600c #2 0x0826315d in zif_get_class (ht=1, return_value=0x86dafa4, this_ptr=0x0, return_value_used=1) at /opt/dev/php/php5/Zend/zend_builtin_functions.c:529 arg = (zval **) 0x8485714 name = 0x831bb4d "" name_len = 0 #3 0x08271c6f in zend_do_fcall_common_helper (execute_data=0xbf1ef780, op_array=0x86441b4) at /opt/dev/php/php5/Zend/zend_execute.c:2588 original_return_value = (zval **) 0x7fa current_scope = (zend_class_entry *) 0x84a18d4 current_this = (zval *) 0x865f674 return_value_used = 1 #4 0x082722f8 in zend_do_fcall_handler (execute_data=0xbf1ef780, op_array=0x86441b4) at /opt/dev/php/php5/Zend/zend_execute.c:2716 fname = (zval *) 0x84afbe8 #5 0x0826d648 in execute (op_array=0x86441b4) at /opt/dev/php/php5/Zend/zend_execute.c:1244 execute_data = {opline = 0x84afbc4, function_state = {function_symbol_table = 0x0, function = 0x83b89a0, reserved = { 0x867398c, 0x20, 0x867398c, 0xbf1ef7c8}}, fbc = 0x0, fbc_constructor = 0x8, op_array = 0x86441b4, object = 0x0, Ts = 0xbf1ef2fc, original_in_execution = 1 '\001', calling_scope = 0x0, prev_execute_data = 0xbf1f0320} #6 0x08271df2 in zend_do_fcall_common_helper (execute_data=0xbf1f0320, op_array=0x8676f54) at /opt/dev/php/php5/Zend/zend_execute.c:2617 calling_symbol_table = (HashTable *) 0x86dacec original_return_value = (zval **) 0xbf1f05b4 current_scope = (zend_class_entry *) 0x865600c current_this = (zval *) 0x865f674 return_value_used = 0 #7 0x082721fb in zend_do_fcall_by_name_handler (execute_data=0xbf1f0320, op_array=0x8676f54) at /opt/dev/php/php5/Zend/zend_execute.c:2685 No locals. #8 0x0826d648 in execute (op_array=0x8676f54) at /opt/dev/php/php5/Zend/zend_execute.c:1244 execute_data = {opline = 0x86780cc, function_state = {function_symbol_table = 0x86dae0c, function = 0x86441b4, reserved = { 0x8673f6c, 0x20, 0x8673f6c, 0xbf1f0368}}, fbc = 0x86441b4, fbc_constructor = 0x8, op_array = 0x8676f54, object = 0x865f674, Ts = 0xbf1ef83c, original_in_execution = 1 '\001', calling_scope = 0x84a18d4, prev_execute_data = 0xbf1f0650} #9 0x08271df2 in zend_do_fcall_common_helper (execute_data=0xbf1f0650, op_array=0x86762fc) at /opt/dev/php/php5/Zend/zend_execute.c:2617 calling_symbol_table = (HashTable *) 0x85183e4 original_return_value = (zval **) 0xbf1f0e3c current_scope = (zend_class_entry *) 0x865600c current_this = (zval *) 0x0 return_value_used = 0 #10 0x082721fb in zend_do_fcall_by_name_handler (execute_data=0xbf1f0650, op_array=0x86762fc) at /opt/dev/php/php5/Zend/zend_execute.c:2685 No locals. #11 0x0826d648 in execute (op_array=0x86762fc) at /opt/dev/php/php5/Zend/zend_execute.c:1244 execute_data = {opline = 0x867aaec, function_state = {function_symbol_table = 0x86dacec, function = 0x8676f54, reserved = { 0x8675f6c, 0x38, 0x4dc1a5f8, 0xbf1f06a8}}, fbc = 0x8676f54, fbc_constructor = 0x8676f54, op_array = 0x86762fc, object = 0x865f674, Ts = 0xbf1f03dc, original_in_execution = 1 '\001', calling_scope = 0x865600c, prev_execute_data = 0xbf1f2c80} #12 0x08271df2 in zend_do_fcall_common_helper (execute_data=0xbf1f2c80, op_array=0x8495e84) at /opt/dev/php/php5/Zend/zend_execute.c:2617 calling_symbol_table = (HashTable *) 0x83b3350 original_return_value = (zval **) 0xbf1f2d9c current_scope = (zend_class_entry *) 0x0 current_this = (zval *) 0x0 return_value_used = 1 #13 0x082721fb in zend_do_fcall_by_name_handler (execute_data=0xbf1f2c80, op_array=0x8495e84) at /opt/dev/php/php5/Zend/zend_execute.c:2685 No locals. #14 0x0826d648 in execute (op_array=0x8495e84) at /opt/dev/php/php5/Zend/zend_execute.c:1244 execute_data = {opline = 0x84a36c4, function_state = {function_symbol_table = 0x85183e4, function = 0x86762fc, reserved = { 0x0, 0x0, 0x8495e84, 0x0}}, fbc = 0x86762fc, fbc_constructor = 0x0, op_array = 0x8495e84, object = 0x0, Ts = 0xbf1f070c, original_in_execution = 0 '\0', calling_scope = 0x865600c, prev_execute_data = 0x0} #15 0x08258be1 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /opt/dev/php/php5/Zend/zend.c:1001 files = 0xbf1f2dd4 "" i = 1 file_handle = (zend_file_handle *) 0xbf1f50a0 orig_op_array = (zend_op_array *) 0x0 local_retval = (zval *) 0x0 #16 0x0821a206 in php_execute_script (primary_file=0xbf1f50a0) at /opt/dev/php/php5/main/main.c:1678 orig_bailout = {{__jmpbuf = {1085956348, 1073819680, -1088466620, -1088466712, -1088467168, 136822599}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 32 times>}}}} orig_bailout_set = 1 '\001' prepend_file_p = (zend_file_handle *) 0x0 append_file_p = (zend_file_handle *) 0x0 prepend_file = {type = 1 '\001', filename = 0x848adc0 "STDIN", opened_path = 0x6 <Address 0x6 out of bounds>, handle = { fd = 138138144, fp = 0x83bd220, stream = {handle = 0x83bd220, reader = 0x3, closer = 0xc433217b, interactive = -1088467176}}, free_filename = 0 '\0'} append_file = {type = 1 '\001', filename = 0x848dae0 "STDOUT", opened_path = 0x7 <Address 0x7 out of bounds>, handle = { fd = 136707022, fp = 0x825fbce, stream = {handle = 0x825fbce, reader = 0x1, closer = 0, interactive = 1}}, free_filename = 7 '\a'} old_cwd = 0xbf1f2ddc "" old_primary_file_path = 0xbf1f52ab "pear/install-pear.php" retval = 0 #17 0x0827c85b in main (argc=2, argv=0xbf1f5144) at /opt/dev/php/php5/sapi/cli/php_cli.c:909 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 = -1 file_handle = {type = 5 '\005', filename = 0xbf1f3df0 "/opt/dev/php/php5/pear/install-pear.php", opened_path = 0x0, handle = {fd = 138955664, fp = 0x8484b90, stream = {handle = 0x8484b90, reader = 0x8268040 <zend_stream_stdio_reader>, closer = 0x8268069 <zend_stream_stdio_closer>, interactive = 0}}, free_filename = 0 '\0'} behavior = 1 orig_optind = 1 orig_optarg = 0x0 arg_free = 0xbf1f52ab "pear/install-pear.php" arg_excp = (char **) 0xbf1f5148 script_file = 0xbf1f52ab "pear/install-pear.php" global_vars = {head = 0x0, tail = 0x0, count = 0, size = 4, dtor = 0, persistent = 0 '\0', traverse_ptr = 0x0} interactive = 0 module_started = 1 lineno = 1 exec_direct = 0x0 exec_run = 0x0 exec_begin = 0x0 exec_end = 0x0 param_error = 0x0 scan_input = 0 hide_argv = 0 #18 0x40a8cba7 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb) f 0 #0 0x0825d095 in zend_make_full_classname (ce=0x865600c, name=0xbf1ef26c, name_len=0xbf1ef268) at /opt/dev/php/php5/Zend/zend_API.c:1573 1573 if(ce->ns && ce->ns->name) { (gdb) p ce->ns $3 = (struct _zend_class_entry *) 0x5a5a5a5a
-- Bender: "Aw, I think I got whiplash." Leela: "You can't have whiplash, you don't have a neck." Bender: "I meant ass whiplash."