#49997 [NEW]: Implementing a namespaced interface crashes
From: flavius dot as at gmail dot com
Operating system: Linux x86_64
PHP version: 5.3.0
PHP Bug Type: Reproducible crash
Bug description: Implementing a namespaced interface crashes
Description:
------------
PHP 5.3.0 crashes when a class is implementing an interface declared in
another namespace
Reproduce code:
---------------
Hi
I am sorry, I was unable to isolate the bug and create a PoC.
However the code (which is rather small) can be found at
svn://yet-another-project.com/projects/yap.
Rev 1. is working, but the crashing code is commented out, Rev.2 crashes
when issuing /trunk/tests/runtests.sh.
The tests were written with PHPUnit 3.4.1 in mind.
The error message when running the testsuite through /usr/bin/phpunit is:
./runtests.sh: line 3: 16512 Segmentation fault phpunit --bootstrap
bootstrap.php --configuration phpunit.xml testunit/
But when issuing /usr/bin/php /usr/bin/phpunit --bootstrap bootstrap.php
--configuration phpunit.xml testunit/ I only get:
Segmentation fault
See the diff between r1 and r2.
--
Edit bug report at http://bugs.php.net/?id=49997&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49997&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49997&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49997&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49997&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49997&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49997&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49997&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49997&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49997&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49997&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49997&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49997&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49997&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49997&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49997&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49997&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49997&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49997&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49997&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49997&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49997&r=mysqlcfg
Thread (8 messages)
- flavius dot as at gmail dot com