Bug #12758 Updated: Segfault in zend_execute_API.c
| From: | rob at rsee dot net | Date: | Wed, 15 Aug 2001 10:22:52 +0000 |
| Subject: | Bug #12758 Updated: Segfault in zend_execute_API.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63257@lists.php.net to get a copy of this message | ||
ID: 12758
User updated by: rob@rsee.net
Reported By: rob@rsee.net
Status: Open
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
The segfault only occurs if the file is auto_prepend'ed from a .htaccess file if the file is
just included, it works fine.
This is the line I am using in my .htaccess
php_value auto_prepend_file tracker_prepend.php
Previous Comments:
------------------------------------------------------------------------
[2001-08-15 05:59:49] rob@rsee.net
#0 0x40368d62 in zend_get_executed_lineno () at zend_execute_API.c:239
#1 0x4106f101 in OPArrayHandler (op_array=0x8350284) at asdbg.c:982
#2 0x4036af66 in zend_extension_op_array_handler (extension=0x816ce40, op_array=0x8350284)
at zend_opcode.c:270
#3 0x4036a8dd in zend_llist_apply_with_argument (l=0x4053750c,
func=0x4036af40 <zend_extension_op_array_handler>, arg=0x8350284) at zend_llist.c:213
#4 0x4036afd1 in pass_two (op_array=0x8350284) at zend_opcode.c:287
#5 0x4037aec6 in compile_file (file_handle=0xbffff680, type=2) at zend_language_scanner.c:3049
#6 0x40371c83 in zend_execute_scripts (type=8, file_count=3) at zend.c:749
#7 0x403845a4 in php_execute_script (primary_file=0xbffff680) at main.c:1206
#8 0x40380880 in apache_php_module_main (r=0x81764e4, display_source_mode=0) at sapi_apache.c:89
#9 0x403812c1 in send_php (r=0x81764e4, display_source_mode=0, filename=0x0) at mod_php4.c:536
#10 0x40381303 in send_parsed_php (r=0x81764e4) at mod_php4.c:547
#11 0x80554f9 in ap_invoke_handler () at md4.c:255
#12 0x806a4ef in process_request_internal () at md4.c:255
#13 0x806a55a in ap_process_request () at md4.c:255
#14 0x8061376 in child_main () at md4.c:255
#15 0x8061551 in make_child () at md4.c:255
#16 0x80616cc in startup_children () at md4.c:255
#17 0x8061d3c in standalone_main () at md4.c:255
#18 0x806258c in main () at md4.c:255
#19 0x40097cae in __libc_start_main () at md4.c:255
I recently started working on an old site, and tried to access it on my development environment
(sepearate apache installation) and get segfaults. The site does use phplib/postgres. If I comment
out the autoprepend for the phplib stuff, I don't get the segfault (just a useless site)
Thanks,
-Rob
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12758&edit=1