facebook/hiphop-php — Issue #470: Core dumped: Segmentation fault hphp failed
Author: satsaner
Created: 2012-01-16 09:41:26+00:00
State: open

Hi,

We are trying to run the wordpress with hphp compiler but when we are starting to compile the script following error is occured.

running hphp...
parsing inputs...
parsing inputs took 0'07" (7204 ms) wall time
pre-optimizing...
pre-optimizing took 0'02" (2224 ms) wall time
inferring types...
inferring types took 0'00" (663 ms) wall time
post-optimizing...
post-optimizing took 0'00" (509 ms) wall time
creating CPP files...
hphp: /home/ubuntu/Desktop/dev/hiphop-php/src/compiler/analysis/variable_table.cpp:818: void HPHP::VariableTable::checkSystemGVOrder(HPHP::SymbolSet&, unsigned int): Assertion `false' failed.
Core dumped: Aborted
hphp failed
running hphp took 0'12" (12662 ms) wall time

Then i have googing on the same issue then i got the solution on below link:
http://cpbsenthil.blogspot.com/2011/11/err-hiphop-checksystemgvorder-assertion.html

As per link i have made the changes into the script. And agin i have ran below command into the hiphop directory.

cmake .
make

When i have hit command 'make' the installation process strat but its not completed 100%. below error occured :

Scanning dependencies of target hphp
[ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/main.cpp.o
/home/smarttest/hiphop/hiphop-php/src/compiler/construct.h:284: warning: ‘class HPHP::LocalEffectsContainer’ has virtual functions but non-virtual destructor
[ 88%] Building CXX object src/hphp/CMakeFiles/hphp.dir/externals.cpp.o
Linking CXX executable hphp
Building hphpi
Core dumped: Segmentation fault
hphp failed
make[2]: *** [src/hphp/hphp] Error 255
make[1]: *** [src/hphp/CMakeFiles/hphp.dir/all] Error 2
make: *** [all] Error 2

Why this error is comming.