Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38138 invoked by uid 1010); 15 Jul 2007 07:38:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38121 invoked from network); 15 Jul 2007 07:38:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2007 07:38:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=uansari@yahoo.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=uansari@yahoo.com; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain yahoo.com from 69.147.95.76 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.76 smtp113.plus.mail.sp1.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [69.147.95.76] ([69.147.95.76:28592] helo=smtp113.plus.mail.sp1.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/00-36042-ADEC9964 for ; Sun, 15 Jul 2007 03:38:03 -0400 Received: (qmail 93721 invoked from network); 15 Jul 2007 07:31:20 -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:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SlrS3919nZCx1LOEkFf7ZKwsaa7fzlMfwdu4uSxDz6zqUs5WIF16BZXR6t4UzR/K8HR0ko/BclqatspG3X0ONWEMMNq35aKkKUcSD553bpIkmMw7zb3vxCbO4sMSRDwi8y4LXIXwUPDqOzNFZQNGWMU7gCAayg7AmvOdzcgzUXc= ; Received: from unknown (HELO ?192.168.0.101?) (uansari@68.126.190.174 with plain) by smtp113.plus.mail.sp1.yahoo.com with SMTP; 15 Jul 2007 07:31:19 -0000 X-YMail-OSG: phcMIq8VM1l6M.NZQr1A5Ayy3uFcgPWm3WXqaybdy9SmnoisrK0L0QJ2lxCxWzhE8nqdJF41rA-- Message-ID: <4699CD43.2080806@yahoo.com> Date: Sun, 15 Jul 2007 00:31:15 -0700 Organization: Cavium Networks User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Antony Dovgal 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") Antony Dovgal wrote: >> 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 invoked by Apache server, how can I hockup gcc with php ? is there an easy way to do this ?