Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44451 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87886 invoked from network); 23 Jun 2009 21:55:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 21:55:56 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:20476] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/88-36467-B6F414A4 for ; Tue, 23 Jun 2009 17:55:56 -0400 Message-ID: To: internals@lists.php.net References: <688E0CB7-742C-4861-B636-0C89DC4D8B9A@pooteeweet.org> <06.D1.20019.45C1F3A4@pb1.pair.com> <7f3ed2c30906220017j6fcea76do2190af3f3ff2d763@mail.gmail.com> <38.7A.20019.C9D6F3A4@pb1.pair.com> <7f3ed2c30906220445m469c0faxc6e28b242dffb086@mail.gmail.com> <37.A4.20019.D4E9F3A4@pb1.pair.com> <2dedb8a0906222337u3fca7762w8f91cb4d18cef1c4@mail.gmail.com> <8D.68.36467.160F04A4@pb1.pair.com> <4A412212.50505@chiaraquartet.net> <6F.77.36467.AD6214A4@pb1.pair.com> <4A412BCB.4010909@chiaraquartet.net> <4A4149D4.8030607@chiaraquartet.net> Date: Wed, 24 Jun 2009 01:55:47 +0400 Lines: 61 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 85.21.236.169 Subject: Re: [PHP-DEV] Re: 5.3.0 stable release From: dmda@yandex.ru ("jvlad") > Hi, > > Thanks. The line in question is the first line of the generated > (non-phar) phar.php script which is the foreach line in: > > foreach (array("SPL", "Reflection", "Phar") as $ext) { > if (!extension_loaded($ext)) { > echo "$argv[0] requires PHP extension $ext.\n" > exit(1); > } > } > ?> > > Could you try running sapi/cli/php passing in a simple script with those > contents and verify you still get the bus error? > Core was generated by `./php 1.php'. Program terminated with signal 10, Bus error. #0 0x002e7d80 in ZEND_FE_RESET_SPEC_TMP_HANDLER (execute_data=0x861cc0) at /export/home/jvlad/php/php5.3-200906221030/Zend/zend_vm_execute.h:5371 5371 INIT_PZVAL_COPY(tmp, array_ptr); (gdb) bt #0 0x002e7d80 in ZEND_FE_RESET_SPEC_TMP_HANDLER (execute_data=0x861cc0) at /export/home/jvlad/php/php5.3-200906221030/Zend/zend_vm_execute.h:5371 #1 0x002d92a0 in execute (op_array=0x70bd90) at /export/home/jvlad/php/php5.3-200906221030/Zend/zend_vm_execute.h:104 #2 0x002b8d48 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /export/home/jvlad/php/php5.3-200906221030/Zend/zend.c:1188 #3 0x00266444 in php_execute_script (primary_file=0xffbefbf0) at /export/home/jvlad/php/php5.3-200906221030/main/main.c:2196 #4 0x003447d4 in main (argc=2, argv=0xffbefcac) at /export/home/jvlad/php/php5.3-200906221030/sapi/cli/php_cli.c:1188 (gdb) p array_ptr $1 = (zval *) 0x861d14 (gdb) p *array_ptr $2 = {value = {lval = 7458416, dval = 1.5848218932638939e-306, str = {val = 0x71ce70 "", len = 0}, ht = 0x71ce70, obj = {handle = 7458416, handlers = 0x0}}, refcount__gc = 0, type = 4 '\004', is_ref__gc = 0 '\0'} (gdb) p tmp Cannot access memory at address 0xfffffff0 (gdb) dump_bt executor_globals.current_execute_data [0x00861cc0] ??? /export/home/jvlad/php/php5.3-200906221030/sapi/cli/1.php:2 (gdb)q $cat 1.php