> Apache 2.0.31 got tagged this evening, the php/zend code has been out of
> sync with it for a bit now.
> 
> Would anyone mind chit chatting and getting the appropriate code
> updated?  :)
> 
> I'd like to help, but I'm rather new to the code.  If I'm speaking to
> the wrong people, please let me know.
> 
> Apache cores on startup here, I suspect that 0x0 is to blame.
> 
> #0  0x402c613f in zend_register_functions (functions=0x404cdc00,
>      function_table=0x0, type=1, tsrm_ls=0x8136da8) at zend_API.c:1033
> 1033                    target_function_table = CG(function_table);
> (gdb) bt
> #0  0x402c613f in zend_register_functions (functions=0x404cdc00,
>      function_table=0x0, type=1, tsrm_ls=0x8136da8) at zend_API.c:1033
> #1  0x402c63aa in zend_register_module (module=0x404cdcc0) at
> zend_API.c:1099

Ok, we're back to square one on --enable-mailparse again.  This is the 
direct cause of the segfault.

(gdb) up
#1  0x402be318 in zend_register_module (module=0x40491760) at 
zend_API.c:1099
1099            if (module->functions && 
zend_register_functions(module->functions, NULL, module->type 
TSRMLS_CC)==FAILURE) {

(gdb) p *module
$5 = {size = 72, zend_api = 20010901, zend_debug = 0 '\000', zts = 1 \001',
   name = 0x4041c236 "mailparse", functions = 0x404916a0,
   module_startup_func = 0x402f82b0 <zm_startup_mailparse>,
   module_shutdown_func = 0x402f8320 <zm_shutdown_mailparse>,
   request_startup_func = 0x402f83a0 <zm_activate_mailparse>,
   request_shutdown_func = 0x402f83b0 <zm_deactivate_mailparse>,
   info_func = 0x402f8350 <zm_info_mailparse>, version = 0x0,
   global_startup_func = 0, global_shutdown_func = 0, globals_id = 0,
   module_started = 0, type = 1 '\001', handle = 0x0, module_number = 13}




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

Reply via email to