-
-
Notifications
You must be signed in to change notification settings - Fork 468
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 when running phpunit #1792
Comments
@npfedwards Could you please provide a full (not modified) bt ? And secondly, is there any chance to locate test that leads to the segfault? An I'll need Zephir version |
Ok some more info
|
Pretty sure it's the first test that loads anything Phalcon. |
@npfedwards What Zephir version did you use? Also I'll need the code/test to reproduce |
@sergeyklay Zephir version is above. I'll get on reproducible test case. |
Having the same problem. PHP Version: 7.2.12 Full bt:
|
@zachleigh Could you please disable Xdebug and try to get backtrace again? And yes, I'll need code to reproduce. As I know Phalcon has thousands of tests |
@sergeyklay First instantiation of an incubator MongoCollection. Phalcon\Mvc\Model does not cause the segfault. https://gist.github.com/npfedwards/df01da6507e127304a41d93ec253af6b |
Mybe same |
Closing, this is fixed. But if I have made an oversight or there are bugs, we can follow up in separate issues. Thank you for the bug report |
I'm running phpunit on a phalcon project and getting a segfault on the first test that actually interacts with the extension. I assume it's a Zephir issue given it's a segfault. Here's the trace.
PHP7.3 Phalcon 3.4.2
The text was updated successfully, but these errors were encountered: