#18718 [Fbk->Opn]: PHP w/ the Zend Engine 2 make Apache core dump

From: Date: Tue, 13 Aug 2002 12:20:12 +0000
Subject: #18718 [Fbk->Opn]: PHP w/ the Zend Engine 2 make Apache core dump
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16600@lists.php.net to get a copy of this message
ID: 18718 User updated by: alibarim@yahoo.com Reported By: alibarim@yahoo.com -Status: Feedback +Status: Open Bug Type: Zend Engine 2 problem Operating System: AIX433 PHP Version: 4CVS-2002-08-03 New Comment: The Apache server core dump when we try to use the XTemplate class with the following message before exiting: "Warning: Illegal offset type in class.XTemplate.php on line 189" A dbx on the core file gives: Segmentation fault in sig_coredump at 0x10003f58 0x10003f58 (sig_coredump+0x4c) 80410014 lwz r2,0x14(r1) (dbx) where sig_coredump(0xb) at 0x10003f58 _object_and_properties_init(??, ??, ??) at 0xd313adc4 _object_init_ex(??, ??) at 0xd313ae48 php_var_unserialize(??, ??, ??, ??) at 0xd32b33fc php_var_unserialize(??, ??, ??, ??) at 0xd32b3bbc ps_srlzr_decode_php(??, ??) at 0xd32c092c php_session_decode(??, ??) at 0xd32c0c44 php_session_initialize() at 0xd32c0f9c php_session_start() at 0xd32c2334 zif_session_start(??, ??, ??, ??) at 0xd32c40b0 zend_execute.execute(??) at 0xd315e9f8 zend_execute.execute(??) at 0xd315eb58 zend_execute_scripts(??, ??) at 0xd312c5f8 php_execute_script(??) at 0xd3192d94 apache_php_module_main(??, ??) at 0xd33732d8 send_php(??, ??, ??) at 0xd3375cd8 send_parsed_php(??) at 0xd3375d6c ap_invoke_handler(0x20196dc0) at 0x100164f0 process_request_internal(0x20196dc0) at 0x100438b0 ap_internal_redirect(0x20196d68, 0x20196110) at 0x10043ed8 handle_dir(0x20196110) at 0xd081fbd0 ap_invoke_handler(0x20196110) at 0x100164f0 process_request_internal(0x20196110) at 0x100438b0 ap_process_request(0x20196110) at 0x10043974 child_main(0x5) at 0x10006020 make_child(0x20018c30, 0x5, 0x3d58f483) at 0x10006398 perform_idle_server_maintenance() at 0x100068a4 standalone_main(0x3, 0x2ff2293c) at 0x10007040 http_main.main(0x3, 0x2ff2293c) at 0x10007884 Previous Comments: ------------------------------------------------------------------------ [2002-08-03 03:14:17] eru@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-08-03 02:42:32] alibarim@yahoo.com I downwload the latest version of PHP (PHP w/ the Zend Engine 2) and try to play with it ! The problem comes when I use the XTemplate class. I got a warning like "Illegal offset ..." and then the Apache (1.3.20) core dump. The same development work perfectly with the PHP 4.2.2. I you need more details let me know to send you the source code. Best Regards, Ali Barimani. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18718&edit=1

« previous php.bugs (#16600) next »