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

Segmentation fault (core dumped) #463

Closed
dankhrapiyush opened this issue Nov 6, 2016 · 1 comment
Closed

Segmentation fault (core dumped) #463

dankhrapiyush opened this issue Nov 6, 2016 · 1 comment

Comments

@dankhrapiyush
Copy link

dankhrapiyush commented Nov 6, 2016

I'm getting this issue after onClose connection

PHP version = 7.0.8-0ubuntu0.16.04.3
PHP memory limit = 900M
Operating system = Ubuntu 16.04
Libevent version = 2.0.22-stable
Libevent php = https://github.com/expressif/pecl-event-libevent (Reference)

Using libevent consider following log

New connection! (123)
New connection! (131)
New connection! (139)
Connection 123 has disconnected
Segmentation fault (core dumped)

Here as we can see it's stopping execution onClose and throws "Segmentation fault (core dumped)" message.
If I try without libevent then it's disconnecting clients and execution not stopping after onClose.

Sometime I'm getting following warning on onClose connection
PHP Warning: Unknown list entry type (0) in /vendor/react/event-loop/src/LibEventLoop.php on line 106

@cboden
Copy link
Member

cboden commented Nov 16, 2016

It seems the libevent extension does not support PHP 7 yet. I'd suggest using event instead as it supports PHP 7.

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

2 participants