GithubHelp home page GithubHelp logo

Segmentation fault hphp about hhvm HOT 3 CLOSED

facebook avatar facebook commented on April 25, 2024
Segmentation fault hphp

from hhvm.

Comments (3)

serphen avatar serphen commented on April 25, 2024

I think you are linking with libboost-1.35.

In the shell type:
gdb ./hphp

At the prompt, type r
then type bt

and paste the result here
(type q to quit)

from hhvm.

dwmcqueen avatar dwmcqueen commented on April 25, 2024

Doesn't say anything really, but I did get this when trying the example as a server:

src# ./hphp/hphp --keep-tempdir=1 --log=3 ./hphp/test.php
running hphp...
creating temporary directory /tmp/hphp_BbFAHW ...
parsing inputs...
parsing ./hphp/test.php...
parsing inputs took 0'00" (1 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (0 ms) wall time
inferring types...
inferring types took 0'00" (0 ms) wall time
post-optimizing...
post-optimizing took 0'00" (0 ms) wall time
creating CPP files...
creating CPP files took 0'00" (27 ms) wall time
compiling and linking CPP files...
CMake Error at /root/hiphop/hiphop-php/CMake/FindLibEvent.cmake:29 (message):\n Could NOT find libevent.\nCall Stack (most recent call first):\n /root/hiphop/hiphop-php/CMake/HPHPFindLibs.cmake:38 (find_package)\n /root/hiphop/hiphop-php/CMake/HPHPSetup.cmake:2 (include)\n CMakeLists.txt:31 (include)\n\n\nmake: *** No targets specified and no makefile found. Stop.\n
compiling and linking CPP files took 0'00" (691 ms) wall time
running executable /tmp/hphp_BbFAHW/program --file ./hphp/test.php...
sh: /tmp/hphp_BbFAHW/program: not found
command failed: "/tmp/hphp_BbFAHW/program --file ./hphp/test.php"
all files saved in /tmp/hphp_BbFAHW ...
running hphp took 0'00" (879 ms) wall time

Note, libevent is in the directory above where I specified the bin was (right off the root folder)

from hhvm.

dwmcqueen avatar dwmcqueen commented on April 25, 2024

Note the segmentation fault is no longer occuring, so I will close this issue

from hhvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.