|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18718 PHP w/ the Zend Engine 2 make Apache core dump
Submitted: 2002-08-03 02:42 UTC Modified: 2002-11-09 01:00 UTC
Avg. Score:4.5 ± 0.5
Reproduced:0 of 1 (0.0%)
From: alibarim at yahoo dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.3.0-dev OS: AIX433
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-08-03 02:42 UTC] alibarim at yahoo dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-03 03:14 UTC]
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

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-13 08:20 UTC] alibarim at yahoo dot com
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
 [2002-08-14 16:14 UTC] alibarim at yahoo dot com
The real version used is 4.3.0-dev. Dowloaded from web site.
 [2002-10-17 22:51 UTC]
Please try using this CVS snapshot:
For Windows:

If the bug still occures, make sure that when you compile PHP with --enable-debug, so that the backtrace shows meaningful information.
 [2002-10-24 03:52 UTC] alibarim at yahoo dot com
The link does not exit !
 [2002-10-24 03:57 UTC]
It really does exist. I just downloaded it. Please try again.

 [2002-10-24 04:41 UTC] alibarim at yahoo dot com
I download the 4.3.0pre1 from the official PHP site.
This version seems to be stable an working correctly.

But it does'nt include the Zend Engine 2 !
How can I build with the new Engine ?

 [2002-10-24 15:47 UTC]
Zend Engine you need to download seperately as the 4.3.0 comes with ZE1. ZE2 can be downloaded from the CVS.
 [2002-11-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-10-23 04:43 UTC] nagaappireddy at yahoo dot co dot in

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Jul 16 16:01:40 2018 UTC