Segmentation fault error
edwin-bluekite opened this issue · 5 comments
I get segmentation fault on php-vcr and also on php-vcr-samples, will be helpfull if you give me some suggestions to solve the issues.
$ ../vendor/bin/phpunit .
PHPUnit 3.8-g61e996a by Sebastian Bergmann. Configuration read from /tmp/php-vcr-examples/guzzle/phpunit.xml
The Xdebug extension is not loaded. No code coverage will be generated. segmentation fault (core dumped)
PHP Version
PHP 5.4.9-4ubuntu2.3 (cli) (built: Sep 4 2013 19:32:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
PHPUnit 3.8-g61e996a by Sebastian Bergmann.
Hi, as the error message tells you, there might be a problem with your xdebug extension. PHP does not find it.
Xdebug is necessary for phpunit to write a coverage report and it fails when not found in the path. Please refer to xdebug.com for further instructions to install xdebug.
@lapistano Thanks but I see the XDebug as a warning, I dont need to generate test coverage,
I just need to execute the vcr-samples.
Mmh... Probalbly a result from an extensive phpunit config ( attribs in the phpunit tag). Am on my way back home .. will have a look at it when I am in.
Cheers
Bastian
@edwin-bluekite unfortunately I could not reproduce the seg fault. Further more I could not switch due to work reasons to the current php version which you are probably running.
I skimmed the phpunit config-options set in the xml configuration to a suitable amount. Probably this will do the trick for you. If not porbably @adri might be able to have a look.
cheers
Bastian
@edwin-bluekite Thank you for reporting, this repository is deprecated thus I'm closing this issue! If it happens on the main repository or with some other example please open it again!
Sorry for keeping it open for so long!