php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12758 Segfault in zend_execute_API.c
Submitted: 2001-08-15 05:59 UTC Modified: 2001-11-10 08:44 UTC
From: rob at rsee dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
 [2001-08-15 05:59 UTC] rob at rsee dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-15 06:22 UTC] rob at rsee dot net
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
 [2001-10-20 23:36 UTC] sniper@php.net
Does this happen with latest CVS snapshot from http://snaps.php.net/ ?
 [2001-11-10 08:44 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC