[phc-internals] Issue 130 in phc: phc: ./src/lib/Object.h:95: T* dyc(GC_obj*) [with T = HIR::Rvalue]: Assertion `result != __null' failed.
phc at googlecode.com
phc at googlecode.com
Tue Oct 26 11:36:38 IST 2010
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 130 by catapuit2000-php at yahoo.de: phc: ./src/lib/Object.h:95: T*
dyc(GC_obj*) [with T = HIR::Rvalue]: Assertion `result != __null' failed.
http://code.google.com/p/phc/issues/detail?id=130
What steps will reproduce the problem?
1. Download ezComponents 2009.2.1 (http://ezcomponents.org/) or use the
attached file
2. Run phc ezcomponents/Graph/src/interfaces/palette.php
3. See phc crash while parsing the file, apparently while creating the HIR.
What is the expected output? What do you see instead?
There should be no output, however an error message is displayed:
phc: ./src/lib/Object.h:95: T* dyc(GC_obj*) [with T = HIR::Rvalue]:
Assertion `result != __null' failed.
SIGABRT received!
This could be a bug in phc. If you suspect it is, please email
a bug report to phc-general at phpcompiler.org.
What version of the product are you using? On what operating system?
phc 0.2.0.3 was compiled and run on Debian Lenny 5.0.6.
Linux dev 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 GNU/Linux
Please provide any additional information below.
I tried to compile the newest phc from svn trunk r3391 but that failed with
./.libs/libphc.so: undefined reference to `PHP::get_superglobals()'
./.libs/libphc.so: undefined reference to
`PHP::get_string_value(MIR::Literal*)'
(see also http://code.google.com/p/phc/issues/detail?id=119).
Attachments:
palette.php 6.6 KB
More information about the phc-internals
mailing list