Segmentation fault
I'm getting Segmentation fault just by running hphp
root@video2:~/dev/hiphop-php/src# hphp/hphp Segmentation fault
here is gdb output:
root@video2:~/dev/hiphop-php/src# gdb hphp/hphp GNU gdb (GDB) 7.2-debian Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /root/dev/hiphop-php/src/hphp/hphp...done. (gdb) r Starting program: /root/dev/hiphop-php/src/hphp/hphp [Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000b624bb in HPHP::Extension::LoadModules(HPHP::Hdf) ()
(gdb) bt
#0 0x0000000000b624bb in HPHP::Extension::LoadModules(HPHP::Hdf) ()
#1 0x0000000000a3f1f0 in HPHP::RuntimeOption::Load(HPHP::Hdf&, std::vector<std::basic_string<char, std::char_tra its
(gdb)
I get this too, here's some more info with debug compile enabled:
#0 0x00007ffff21f5405 in raise (sig=
The suggestion in https://github.com/facebook/hiphop-php/issues/319#issuecomment-1445537 seems to resolve this.
I've had encountered this problem also (https://github.com/facebook/hiphop-php/issues/419), but thanks to https://github.com/facebook/hiphop-php/wiki/Building-and-Installing-on-Ubuntu-11.10, that gives the suggestion https://github.com/facebook/hiphop-php/issues/319#issuecomment-1445537, all works nicely now...
=> I think you can close this issue
It definitely looks like a dupe of #319
We're closing out all bugs older than 2 months. http://www.hiphop-php.com/wp/?p=575
If this is still an issue, please re-open it, and in order of goodness:
- Give detailed repro steps
- Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
- Fix it in a pull request