Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86574 invoked by uid 1010); 30 Aug 2005 19:32:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86559 invoked from network); 30 Aug 2005 19:32:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2005 19:32:13 -0000 X-Host-Fingerprint: 64.233.184.197 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.197:42848] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B0/A4-15098-C34B4134 for ; Tue, 30 Aug 2005 15:32:12 -0400 Received: by wproxy.gmail.com with SMTP id i36so858543wra for ; Tue, 30 Aug 2005 12:32:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FW0frBMgHX+ZJPGIG1qOsqTKmaRDtNZ6Vm2NvBnNzYHqU0voa+rj78YufbwSndroPxkgM+uZKgNlbonnXtzhwDub64ecUEhkHvKtxCJVxfH6Z8O7Kj6yLvDa/tCvd8ps5v+UJ86l/gURQZcL+mJ87lfnMqXGbnHn9VOdcR7zBvs= Received: by 10.54.33.43 with SMTP id g43mr7431397wrg; Tue, 30 Aug 2005 12:32:08 -0700 (PDT) Received: by 10.54.107.8 with HTTP; Tue, 30 Aug 2005 12:32:07 -0700 (PDT) Message-ID: <57792e85050830123275779038@mail.gmail.com> Date: Tue, 30 Aug 2005 12:32:07 -0700 To: Marcus Boerger Cc: internals@lists.php.net In-Reply-To: <1115917991.20050830000559@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5.1.0.14.2.20050822134257.05e07c60@localhost> <57792e8505082914244b23a4df@mail.gmail.com> <1115917991.20050830000559@marcus-boerger.de> Subject: Re: [PHP-DEV] 5.0.5RC1 rolled From: iamstever@gmail.com (steve) Thats what I was looking for, thanks. I used that and no exception was thrown in 5.0.4, but there is one in 5.0.5RC2. It is in a shutdown function, which is why I couldn't figure out where it was happening. Not to mention, it was in an AJAX call. The shutdown function is defined in JPSpan (http://sourceforge.net/projects/jpspan), which is not that uncommon. I'll try and see if I can get a PHP debugger installed correctly on Windows with 5.0.5 and see what happens there. We develop on Windows and Mac and deploy on Linux, so I'll see if there is a platform element involved as well (I doubt). Anyway, anyone that wants to check it out themselves can get the JPSpan and run the hello world sample I suppose.??? Breakpoint 1, zend_throw_exception_internal (exception=3D0xac25a14) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_excepti= ons.c:38 38 if (exception !=3D NULL) { (gdb) bt #0 zend_throw_exception_internal (exception=3D0xac25a14) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_excepti= ons.c:38 #1 0x081f33c7 in zend_throw_handler (execute_data=3D0xbfff6be0, opline=3D0xa7fde34, op_array=3D0xa5007e8) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2994 #2 0x081f0366 in execute (op_array=3D0xa5007e8) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #3 0x081f2c72 in zend_do_fcall_common_helper (execute_data=3D0xbfff7690, opline=3D0xa702e48, op_array=3D0xa58c5dc) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2789 #4 0x081f0366 in execute (op_array=3D0xa58c5dc) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #5 0x081f2c72 in zend_do_fcall_common_helper (execute_data=3D0xbfff86f0, opline=3D0xa825fec, op_array=3D0xa58c50c) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2789 #6 0x081f0366 in execute (op_array=3D0xa58c50c) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #7 0x081f2c72 in zend_do_fcall_common_helper (execute_data=3D0xbfff8b20, opline=3D0xa72027c, op_array=3D0xa58d7dc) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2789 #8 0x081f0366 in execute (op_array=3D0xa58d7dc) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #9 0x081cd609 in zend_call_function (fci=3D0xbfff8c60, fci_cache=3D0x0) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_exec= ute_API.c:873 #10 0x081ccec4 in call_user_function_ex (function_table=3D0x1, object_pp=3D0x1, function_name=3D0x1, retval_ptr_ptr=3D0x1, param_count=3D1= , params=3D0x1, no_separation=3D1, symbol_table=3D0x1) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_= execute_API.c:559 #11 0x0815867e in zif_call_user_func_array (ht=3D2, return_value=3D0xab5a67c, this_ptr=3D0x0, return_value_used=3D1) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/ext/standard/basi= c_functions.c:1976 #12 0x081f2e5a in zend_do_fcall_common_helper (execute_data=3D0xbfff9160, opline=3D0xa7ec7ac, op_array=3D0xa7e13c4) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2760 #13 0x081f0366 in execute (op_array=3D0xa7e13c4) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #14 0x081cd609 in zend_call_function (fci=3D0xbfff92a0, fci_cache=3D0x0) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_exec= ute_API.c:873 #15 0x081ccec4 in call_user_function_ex (function_table=3D0x1, object_pp=3D0x1, function_name=3D0x1, retval_ptr_ptr=3D0x1, param_count=3D1= , params=3D0x1, no_separation=3D1, symbol_table=3D0x1) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_= execute_API.c:559 #16 0x081e53eb in zend_std_call_user_call (ht=3D2, return_value=3D0xab5a584, this_ptr=3D0xa5da6a4, return_value_used=3D1) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_object_= handlers.c:609 #17 0x081f2e5a in zend_do_fcall_common_helper (execute_data=3D0xbfff96f0, opline=3D0xa6ee900, op_array=3D0xa6e65f4) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2760 #18 0x081f0366 in execute (op_array=3D0xa6e65f4) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #19 0x081f2c72 in zend_do_fcall_common_helper (execute_data=3D0xbfff9970, opline=3D0xa6cb00c, op_array=3D0xa6c884c) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2789 #20 0x081f0366 in execute (op_array=3D0xa6c884c) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #21 0x081f2c72 in zend_do_fcall_common_helper (execute_data=3D0xbfff9a90, opline=3D0xa6cefa4, op_array=3D0xa6cdf98) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:2789 #22 0x081f0366 in execute (op_array=3D0xa6cdf98) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_execute= .c:1437 #23 0x081cd609 in zend_call_function (fci=3D0xbfff9bd0, fci_cache=3D0x0) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_exec= ute_API.c:873 #24 0x081ccec4 in call_user_function_ex (function_table=3D0x1, object_pp=3D0x1, function_name=3D0x1, retval_ptr_ptr=3D0x1, param_count=3D1= , params=3D0x1, no_separation=3D1, symbol_table=3D0x1) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_= execute_API.c:559 #25 0x081ccdf7 in call_user_function (function_table=3D0xa432240, object_pp=3D0x0, function_name=3D0xa6be23c, retval_ptr=3D0xbfff9c80, param_count=3D0, params=3D0xa6f4f40) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_= execute_API.c:534 #26 0x08158e41 in user_shutdown_function_call (shutdown_function_entry=3D0xbfff9c80) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/ext/standard/basi= c_functions.c:2101 #27 0x081dad50 in zend_hash_apply (ht=3D0xa619e94, apply_func=3D0x8158dc8 ) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/Zend/zend_hash.c:= 664 #28 0x0815905c in php_call_shutdown_functions () at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/ext/standard/basi= c_functions.c:2181 #29 0x081a76bd in php_request_shutdown (dummy=3D0x0) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/main/main.c:1202 #30 0x081fdb2c in main (argc=3D1, argv=3D0xbfffa6e4) at /root/webserver_software_tmp_fastcgi_apache2/php-5.0.5RC2/sapi/cgi/cgi_main= .c:1640 On 8/29/05, Marcus Boerger wrote: > Hello steve, >=20 > for a c backtrace set a breakpoint on function zend_throw_exception_inter= nal. >=20 > regards > marcus >=20 > Monday, August 29, 2005, 11:24:16 PM, you wrote: >=20 > > I get this error in the error log, on every page view in this release: >=20 > > PHP Fatal error: Exception thrown without a stack frame in Unknown on= line 0 >=20 > > It seems to happen after the page is complete, since from the webpage > > it renders fine. I found a bug reference about throwing exceptions in > > __destroy, but that is not it. So I went to debug php, but alas, there > > isn't any info on php.net on how to do it (I tried --with-debug, but > > that gave me an error). >=20 > > Anyone have a reasonable quick way I can get either the PHP-code > > backtrace or the C backtrace of PHP itself on this fatal error? I have > > some limited knowledge of gdb... >=20 > > -steve-- >=20 > > On 8/22/05, Zeev Suraski wrote: > >> www.php.net/~zeev/php-5.0.5RC1.tar.gz > >> www.php.net/~zeev/php-5.0.5RC1.tar.bz2 > >> > >> If there are no stoppers I'd like to release it towards the end of the= week. > >> > >> Zeev >=20 >=20 >