Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in 1.2.4 #1364

Closed
viktoras25 opened this issue Oct 10, 2013 · 2 comments
Closed

Segfault in 1.2.4 #1364

viktoras25 opened this issue Oct 10, 2013 · 2 comments

Comments

@viktoras25
Copy link
Contributor

I've tried several times, because it looks very strange. But this code:

$v = new Phalcon\Validation();
$v->add("test", new Phalcon\Validation\Validator\PresenceOf());
$v->validate(array("test"));

results in a segfault in 1.2.4.

My installation process:

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
git checkout origin/1.2.4
sudo ./install
sudo service php-fpm restart
@ghost
Copy link

ghost commented Oct 10, 2013

I think #1360 should fix this.

Could you please try

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
git checkout 1.2.4
git pull git://github.com/sjinks/cphalcon.git 1.2.4
sudo ./install
sudo service php-fpm restart

and see if it still crashes?

@viktoras25
Copy link
Contributor Author

This helped, no crashes. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant