Bug #74019 [NEW]: Segfault
From: rasmus@php.net Date: Mon, 30 Jan 2017 18:07:44 +0000 Subject: Bug #74019 [NEW]: Segfault Groups: php.bugs Request: Send a blank email to php-bugs+get-207048@lists.php.net to get a copy of this message
From: rasmus
Operating system: Linux
PHP version: 7.1Git-2017-01-30 (Git)
Package: Reproducible crash
Bug Type: Bug
Bug description:Segfault
Description:
------------
Playing a bit with the Microsoft Tolerant PHP parser and I noticed a
segfault. Filing a bug here so I don't forget about it.
Test script:
---------------
Reproduce steps:
git clone https://github.com/Microsoft/tolerant-php-parser.git
cd tolerant-php-parser
composer install
php -r "require 'vendor/autoload.php'; (new
Microsoft\PhpParser\Parser())->parseSourceFile(file_get_contents('src/Parser.php'));"
--
Edit bug report at https://bugs.php.net/bug.php?id=74019&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74019&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74019&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74019&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74019&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74019&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74019&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74019&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74019&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74019&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74019&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74019&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74019&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74019&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74019&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74019&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74019&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74019&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74019&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74019&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74019&r=mysqlcfg
Thread (7 messages)
| « previous | php.bugs (#207048) | next » |
|---|