Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45192 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85206 invoked from network); 3 Aug 2009 12:11:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2009 12:11:24 -0000 Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 204.13.248.71 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 204.13.248.71 mho-01-ewr.mailhop.org Received: from [204.13.248.71] ([204.13.248.71:57722] helo=mho-01-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/7F-05043-9E3D67A4 for ; Mon, 03 Aug 2009 08:11:22 -0400 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.68) (envelope-from ) id 1MXwNj-000HHq-Gc; Mon, 03 Aug 2009 12:11:11 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+nhFh+KOZDvOsh02096qKeLvSOky6vC0c= Message-ID: <4A76D3DB.4040106@sci.fi> Date: Mon, 03 Aug 2009 15:11:07 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: daniel@zoltak.com CC: jani.taskinen@iki.fi, internals@lists.php.net References: <20090731101017.jcs6fiyk0sg4gcok@webmail.zoltak.com> <4A72A254.8030808@sci.fi> <4A7545C4.60202@zoltak.com> <4A75A950.6030701@sci.fi> <4A760126.9070002@lerdorf.com> <4A76199F.9040701@sci.fi> <20090803145207.l09o05kib4ow8448@webmail.zoltak.com> <4A76993F.5000401@sci.fi> <20090803215255.0vh3a3gif4wk8o0w@webmail.zoltak.com> In-Reply-To: <20090803215255.0vh3a3gif4wk8o0w@webmail.zoltak.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error From: jani.taskinen@sci.fi (Jani Taskinen) On 08/03/2009 02:52 PM, daniel@zoltak.com wrote: > Quoting Jani Taskinen : > >> On 08/03/2009 07:52 AM, daniel@zoltak.com wrote: >>>>> Jani Taskinen wrote: > [snip] >> >> Obviously you haven't compiled using --enable-debug OR most likely are >> not using the compiled libphp5.so. Check your phpinfo() that you >> actually use the one you compiled first.. >> >> --Jani > > Here is the correct backtrace. Hope it can bring some insight. Well, this is using PHP 5.2.10. And you were supposed to test the snapshot. How about the backtrace using latest PHP_5_2 checkout? --Jani > #0 0x00007f51031d12eb in _zend_is_inconsistent (ht=0x5a5a5a5a5a5a5a5a, > file=0x7f510350bf58 > "/var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c", > line=875) > at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c:53 > #1 0x00007f51031d4085 in zend_hash_find (ht=0x5a5a5a5a5a5a5a5a, > arKey=0x7f51034eee80 "DOCUMENT_ROOT", nKeyLength=14, > pData=0x7fff10fff068) at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c:875 > #2 0x00007f510316b29c in custom_open_base_check (basedir=0x3dd0f40 > "VIRTUAL_DOCUMENT_ROOT", > resolved_name=0x7fff11003170 > "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") > at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:709 > > #3 0x00007f5103169c56 in php_check_specific_open_basedir > (basedir=0x3dd0f40 "VIRTUAL_DOCUMENT_ROOT", > path=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") > at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:118 > > #4 0x00007f510316a07f in php_check_open_basedir_ex (path=0x3dd0eb8 > "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", > warn=1) at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:249 > > #5 0x00007f5103169fd4 in php_check_open_basedir (path=0x3dd0eb8 > "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") > at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:225 > > #6 0x00007f510315fadb in OnUpdateErrorLog (entry=0x3bff8d0, > new_value=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", > new_value_length=47, mh_arg1=0x68, > mh_arg2=0x7f510386cc20, mh_arg3=0x0, stage=32) at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/main.c:317 > #7 0x00007f51031de346 in zend_alter_ini_entry_ex (name=0x3e30680 > "error_log", name_length=10, > new_value=0x3e20910 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", > new_value_length=47, modify_type=2, stage=32, > force_change=0) at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_ini.c:293 > #8 0x00007f51031de11c in zend_alter_ini_entry (name=0x3e30680 > "error_log", name_length=10, > new_value=0x3e20910 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", > new_value_length=47, modify_type=2, stage=32) > at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_ini.c:248 > #9 0x00007f5103250ded in apply_config (dummy=0x3e21aa0) > at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/apache_config.c:195 > > #10 0x00007f5103250033 in php_handler (r=0x3e262c8) > at > /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/sapi_apache2.c:531 > > #11 0x00000000004369fc in ap_run_handler (r=0x3e262c8) at config.c:157 > #12 0x0000000000439aa4 in ap_invoke_handler (r=0x3e262c8) at config.c:372 > #13 0x000000000044370c in ap_process_request (r=0x3e262c8) at > http_request.c:282 > #14 0x0000000000440d85 in ap_process_http_connection (c=0x3e12138) at > http_core.c:190 > #15 0x000000000043d3f8 in ap_run_process_connection (c=0x3e12138) at > connection.c:43 > #16 0x000000000043d4ca in ap_process_connection (c=0x3e12138, > csd=0x3e11f48) at connection.c:178 > #17 0x0000000000447814 in child_main (child_num_arg= out>) at prefork.c:650 > #18 0x00000000004479a0 in make_child (s=0x66f850, slot=99) at prefork.c:746 > #19 0x0000000000447a00 in startup_children (number_to_start=1) at > prefork.c:764 > #20 0x0000000000447ed7 in ap_mpm_run (_pconf=0x66a138, plog= optimized out>, s=) at prefork.c:985 > #21 0x0000000000426039 in main (argc=27, argv=0x7fff11004b48) at main.c:740 >