logo       

Bug 0000315: xdebug crash when including a file that doesn't exist: msg#00029

Subject: Bug 0000315: xdebug crash when including a file that doesn't exist
The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000315
======================================================================
Reporter:                   magnus
Handler:                    
======================================================================
Project:                    Xdebug
Bug ID:                     315
Category:                   Debug client (console)
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Operating System:           Kubuntu 7.04
PHP Version:                5.2-dev
Xdebug Version:             2.1.0-dev
======================================================================
Date Submitted:             2007-10-14 22:46 CEST
Last Modified:              2007-10-25 22:44 CEST
======================================================================
Summary:                    xdebug crash when including a file that doesn't 
exist
Description: 
PHP version is 5.3-dev.

Code to reproduce:
<?php
include 'doesnt-exist.php';
?>
======================================================================

----------------------------------------------------------------------
 mhorvath - 2007-10-22 19:07 CEST 
----------------------------------------------------------------------
Same here!

Funny thing, the segmentation fault is being produced here:

Core was generated by `/opt/php-5.2.4/bin/php -d safe_mode=Off
/opt/php/bin/phpunit --report=/tmp --ve'.
Program terminated with signal 11, Segmentation fault.
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000000  0x00002afc5598a207 in 
prefill_from_oparray (fse=0x2c80270,
fn=0x2ea2cd0
"/data/bamboo/build-dir/PHX-TRUNK/Tests/UnitTests/Libraries/Phx/Controller/Dispatcher/NoClass.php",
opa=0x2bb64c0)
    at /tmp/pear/cache/xdebug-2.0.0/xdebug_code_coverage.c:240
240             if (opa->opcodes[opa->size - 4].opcode ==
ZEND_RAISE_ABSTRACT_ERROR)

----------------------------------------------------------------------
 derick - 2007-10-25 09:39 CEST 
----------------------------------------------------------------------
This patch should fix it:
http://pastebin.ca/748874

----------------------------------------------------------------------
 derick - 2007-10-25 22:44 CEST 
----------------------------------------------------------------------
Fixed in CVS.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
2007-10-14 22:46magnus         New Bug                                      
2007-10-14 22:46magnus         Bug Monitored: magnus                        
2007-10-22 19:07mhorvath       Bugnote Added: 0000752                       
2007-10-25 09:39derick         Bugnote Added: 0000758                       
2007-10-25 22:44derick         Bugnote Added: 0000759                       
2007-10-25 22:44derick         Status                   new => closed       
======================================================================




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe