How to debug segmentation error when running php script using hhvm? When I run it, I get:
Core dumped: Segmentation fault
Segmentation fault
In stacktrace, I get that this is an error when I call a method on the same object.
Is there any code analyzer that can tell me the wrong php code or somehow get more detailed information about errors or stack trace?
When i use
$r = mysql_query($sql, $link); //crashes
$r = mysql_query($sql); //does not crash
source
share