Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30946 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53312 invoked by uid 1010); 15 Jul 2007 08:18:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53297 invoked from network); 15 Jul 2007 08:18:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2007 08:18:49 -0000 Authentication-Results: pb1.pair.com header.from=uansari@yahoo.com; sender-id=unknown; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=uansari@yahoo.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain yahoo.com from 69.147.95.92 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: uansari@yahoo.com X-Host-Fingerprint: 69.147.95.92 smtp129.plus.mail.sp1.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [69.147.95.92] ([69.147.95.92:42049] helo=smtp129.plus.mail.sp1.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/31-36042-868D9964 for ; Sun, 15 Jul 2007 04:18:49 -0400 Received: (qmail 58148 invoked from network); 15 Jul 2007 08:18:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Message-ID:Date:From:Organization:User-Agent:MIME-Version:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Xqlr/cG8/sx2Bf6deXCc1aVZg3MIgkr4+AYkHithT9FwhngtpdHxP1BoK5XI2w93AZap1aU3EvuU/cMadQBADLs7yvKC41lnaItdUPlPKo5sE1pVorMGobFwZek5Uy+xYFQM+6JaND9TSDjkaLF6qki4T3nq1FGVU8Dxw6g5eVo= ; Received: from unknown (HELO ?192.168.0.101?) (uansari@68.126.190.174 with plain) by smtp129.plus.mail.sp1.yahoo.com with SMTP; 15 Jul 2007 08:18:46 -0000 X-YMail-OSG: A5kfxEAVM1nX3M0.97aeLi89LwJz3Wymx8mBYpIs1ppWYH8XVhNNJTbmDIK8gdmFRRILPgEkYw-- Message-ID: <4699D865.5050508@yahoo.com> Date: Sun, 15 Jul 2007 01:18:45 -0700 Organization: Cavium Networks User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 CC: internals@lists.php.net References: <46987258.4030205@yahoo.com> <46988CB6.7050100@zend.com> In-Reply-To: <46988CB6.7050100@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP Source Code Help From: uansari@yahoo.com ("Usman S. Ansari") >> failed to open stream >> >> Which I have traced to file: php-4.4.7/main/streams.c and function >> _php_stream_open_wrapper_ex >> >> stream = wrapper->wops->stream_opener(wrapper, path_to_open, >> mode, options ^ REPORT_ERRORS, >> opened_path, context STREAMS_REL_CC TSRMLS_CC); >> >> Error condition occurs when stream is assigned NULL from >> wrapper->wops->stream_opener call (see above line). I need some help >> figuring out which function is call by pointer >> wrapper->wops->stream_opener. > > Use any of the debuggers available to step into it and see which > function is called. Since PHP is called by apache and error happens right away, is there an easy way to invoke php under gdb ?