[PHP-DEV] DOM XML crash with php 4.1.0

2001-11-29 Thread Derick Rethans

Starting PHP (4.1.0 from www.php.net/~zeev/php-4.1.0.tar.gz) crashed with
the following backtrace:

0x08104876 in zend_register_functions (functions=0x4,
function_table=0xb738, type=1) at zend_API.c:1037
1037while (ptr-fname) {
(gdb) quit
The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb) bt full
#0  0x08104876 in zend_register_functions (functions=0x4,
function_table=0xb738, type=1) at zend_API.c:1037
ptr = (zend_function_entry *) 0x4
function = {type = 1 '\001', common = {type = 1 '\001',
arg_types = 0x28 Address 0x28 out of bounds,
function_name = 0x4049c620 }, op_array = {type = 1 '\001',
arg_types = 0x28 Address 0x28 out of bounds,
function_name = 0x4049c620 , refcount = 0x4049e154,
opcodes = 0x4049c620, last = 1078576672, size = 3221223048,
T = 1077844807, brk_cont_array = 0x4049c620, last_brk_cont = 16,
current_brk_cont = 135914912, uses_globals = 0 '\000',
static_variables = 0xa68, start_op = 0x28, backpatch_count = 135914904,
return_reference = 56 '8', done_pass_two = 247 '÷',
filename = 0xb738 \b, reserved = {0x819e558, 0xb6a8, 0x8105481,
  0x8}}, internal_function = {type = 1 '\001',
arg_types = 0x28 Address 0x28 out of bounds,
function_name = 0x4049c620 , handler = 0x4049e154 __DTOR_END__+4},
  overloaded_function = {type = 1 '\001',
arg_types = 0x28 Address 0x28 out of bounds,
function_name = 0x4049c620 , var = 1078583636}}
internal_function = (zend_internal_function *) 0xb640
count = 0
unload = 0
---Type return to continue, or q return to quit---
target_function_table = (HashTable *) 0xb738
#1  0x08104c89 in zend_register_internal_class (class_entry=0xb720)
at zend_API.c:1223
class_entry = (zend_class_entry *) 0xb720
register_class = (zend_class_entry *) 0xb708
lowercase_name = 0x819e558 domnode
#2  0x08104bdb in zend_register_internal_class_ex (class_entry=0xb720,
parent_ce=0x0, parent_name=0x0) at zend_API.c:1198
parent_name = 0x819e5bc 
register_class = (zend_class_entry *) 0x0
#3  0x08070c49 in zm_startup_domxml (type=1, module_number=15)
at php_domxml.c:828
ce = {type = 1 '\001', name = 0x819d5f8 DomNode, name_length = 7,
  parent = 0x0, refcount = 0x819e568, constants_updated = 0 '\000',
  function_table = {nTableSize = 8, nTableMask = 7, nNumOfElements = 0,
nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0,
pListTail = 0x0, arBuckets = 0x819e5a0,
pDestructor = 0x80fc3d0 destroy_zend_function, persistent = 1 '\001',
nApplyCount = 0 '\000', bApplyProtection = 1 '\001', inconsistent = 8},
  default_properties = {nTableSize = 7, nTableMask = 0, nNumOfElements = 0,
nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0,
pListTail = 0x819e578, arBuckets = 0x80fac28, pDestructor = 0x8010001,
persistent = 4 '\004', nApplyCount = 0 '\000',
bApplyProtection = 0 '\000', inconsistent = 135624928},
  builtin_functions = 0x81574a8, handle_function_call = 0,
  handle_property_get = 0, handle_property_set = 0}
#4  0x081047cb in zend_startup_module (module=0x8157760) at
zend_API.c:1004
module = (zend_module_entry *) 0x8157760
#5  0x08066d2b in php_startup_extensions (ptr=0x81546ac, count=16)
at main.c:779
ptr = (zend_module_entry **) 0x81546e4
count = -1073744096
end = (zend_module_entry **) 0x81546ec
#6  0x08067ba5 in php_startup_internal_extensions () at
internal_functions.c:76
No locals.
#7  0x08067045 in php_module_startup (sf=0x8153760) at main.c:934
zuf = {error_function = 0x8066268 php_error_cb,
  printf_function = 0x8066228 php_printf,
  write_function = 0x8066cfc php_body_write_wrapper,
  fopen_function = 0x80666f4 php_fopen_wrapper_for_zend,
  message_handler = 0x80667a0 php_message_handler_for_zend,
  block_interruptions = 0, unblock_interruptions = 0,
  get_configuration_directive = 0x8066768
php_get_configuration_directive_for_zend, ticks_function = 0x806ba98
php_run_ticks}
zuv = {import_use_extension = 0x81230f0 .php,
  import_use_extension_length = 3221223512}

regards,

Derick



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] DOM XML crash with php 4.1.0

2001-11-29 Thread Derick Rethans

Hello,

you can safely ignore this... bad build so it seems.

Derick

On Thu, 29 Nov 2001, Derick Rethans wrote:

 Starting PHP (4.1.0 from www.php.net/~zeev/php-4.1.0.tar.gz) crashed with
 the following backtrace:

 0x08104876 in zend_register_functions (functions=0x4,
 function_table=0xb738, type=1) at zend_API.c:1037
 1037  while (ptr-fname) {
 (gdb) quit
 The program is running.  Exit anyway? (y or n) n
 Not confirmed.
 (gdb) bt full
 #0  0x08104876 in zend_register_functions (functions=0x4,
 function_table=0xb738, type=1) at zend_API.c:1037
   ptr = (zend_function_entry *) 0x4
   function = {type = 1 '\001', common = {type = 1 '\001',
 arg_types = 0x28 Address 0x28 out of bounds,
 function_name = 0x4049c620 }, op_array = {type = 1 '\001',
 arg_types = 0x28 Address 0x28 out of bounds,
 function_name = 0x4049c620 , refcount = 0x4049e154,
 opcodes = 0x4049c620, last = 1078576672, size = 3221223048,
 T = 1077844807, brk_cont_array = 0x4049c620, last_brk_cont = 16,
 current_brk_cont = 135914912, uses_globals = 0 '\000',
 static_variables = 0xa68, start_op = 0x28, backpatch_count = 135914904,
 return_reference = 56 '8', done_pass_two = 247 '÷',
 filename = 0xb738 \b, reserved = {0x819e558, 0xb6a8, 0x8105481,
   0x8}}, internal_function = {type = 1 '\001',
 arg_types = 0x28 Address 0x28 out of bounds,
 function_name = 0x4049c620 , handler = 0x4049e154 __DTOR_END__+4},
   overloaded_function = {type = 1 '\001',
 arg_types = 0x28 Address 0x28 out of bounds,
 function_name = 0x4049c620 , var = 1078583636}}
   internal_function = (zend_internal_function *) 0xb640
   count = 0
   unload = 0
 ---Type return to continue, or q return to quit---
   target_function_table = (HashTable *) 0xb738
 #1  0x08104c89 in zend_register_internal_class (class_entry=0xb720)
 at zend_API.c:1223
   class_entry = (zend_class_entry *) 0xb720
   register_class = (zend_class_entry *) 0xb708
   lowercase_name = 0x819e558 domnode
 #2  0x08104bdb in zend_register_internal_class_ex (class_entry=0xb720,
 parent_ce=0x0, parent_name=0x0) at zend_API.c:1198
   parent_name = 0x819e5bc 
   register_class = (zend_class_entry *) 0x0
 #3  0x08070c49 in zm_startup_domxml (type=1, module_number=15)
 at php_domxml.c:828
   ce = {type = 1 '\001', name = 0x819d5f8 DomNode, name_length = 7,
   parent = 0x0, refcount = 0x819e568, constants_updated = 0 '\000',
   function_table = {nTableSize = 8, nTableMask = 7, nNumOfElements = 0,
 nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0,
 pListTail = 0x0, arBuckets = 0x819e5a0,
 pDestructor = 0x80fc3d0 destroy_zend_function, persistent = 1 '\001',
 nApplyCount = 0 '\000', bApplyProtection = 1 '\001', inconsistent = 8},
   default_properties = {nTableSize = 7, nTableMask = 0, nNumOfElements = 0,
 nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0,
 pListTail = 0x819e578, arBuckets = 0x80fac28, pDestructor = 0x8010001,
 persistent = 4 '\004', nApplyCount = 0 '\000',
 bApplyProtection = 0 '\000', inconsistent = 135624928},
   builtin_functions = 0x81574a8, handle_function_call = 0,
   handle_property_get = 0, handle_property_set = 0}
 #4  0x081047cb in zend_startup_module (module=0x8157760) at
 zend_API.c:1004
   module = (zend_module_entry *) 0x8157760
 #5  0x08066d2b in php_startup_extensions (ptr=0x81546ac, count=16)
 at main.c:779
   ptr = (zend_module_entry **) 0x81546e4
   count = -1073744096
   end = (zend_module_entry **) 0x81546ec
 #6  0x08067ba5 in php_startup_internal_extensions () at
 internal_functions.c:76
 No locals.
 #7  0x08067045 in php_module_startup (sf=0x8153760) at main.c:934
   zuf = {error_function = 0x8066268 php_error_cb,
   printf_function = 0x8066228 php_printf,
   write_function = 0x8066cfc php_body_write_wrapper,
   fopen_function = 0x80666f4 php_fopen_wrapper_for_zend,
   message_handler = 0x80667a0 php_message_handler_for_zend,
   block_interruptions = 0, unblock_interruptions = 0,
   get_configuration_directive = 0x8066768
 php_get_configuration_directive_for_zend, ticks_function = 0x806ba98
 php_run_ticks}
   zuv = {import_use_extension = 0x81230f0 .php,
   import_use_extension_length = 3221223512}

 regards,

 Derick



 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]