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
mosquitto(all versions) crashes with websockets enabled, segfault error 6 in libwebsockets.so.3.0.0 #253
Comments
any hope that the issue will be fixed? |
Honestly, libwebsockets 1.2.2 is buggy anyway so there is little point trying to fix problems associated with it. I think the best thing for me to do is disable websockets support for debian jessie as well. You can of course go and get a more recent version of libwebsockets and compile it yourself. |
Please do not, Debian will definitely update libwebsocket, because there's a 1.7.3-1 version in the testing branch and the issue will disappear then. |
There hasn't been an update here for a while so I'm going to close this issue. If you think this is still a problem, please reopen and add more information. |
It happend to me yesterday - but in general the daemon runs pretty stable. May 3 17:49:44 localhost kernel: [1189759.369692] mosquitto[776]: segfault at c0ba44d1 ip b73fb66a sp bf81c714 error 5 in libwebsockets.so.7[b73e8000+22000] 1.4.11-0mosquitto2xenial1 Ubuntu 16.04.2 LTS |
I am also having the same issue with the following installations. Server: Ubuntu Extract from journalctl: Please help |
By the way. This:
confronts with this:
libwebsockets.so.7 is filename for libwebsocket with 1.7.* versions. |
i'm definitely seeing this as a problem i don't see segfaults, i just see that connections are defined. restarting the mosquitto service fixes it my configuration:
edit: i'm using mqtt.js for the JS side and i have mosquitto:
|
@ralight - anything i can do to get some more info for you on why this might be failing? |
@silky: if this is still relevant, maybe #1004 (comment) would help? |
Mosquitto crashes every second day, I have to restart it manually.
kernel: [1006237.390667] mosquitto[25279]: segfault at 54 ip 00007f367c6bd6e4 sp 00007fff389dcd60 error 6 in libwebsockets.so.3.0.0[7f367c6b9000+10000]
Most interesting thing that I run it on two ports: mqtt 1883 and websockets 8000, it stops listening on mqtt 1883 port but continues operation on websockets 8000. After a restart it fully recovers until the next crash.
I'm running mosquitto on debian 8.5 jessie installed from the official repository . Current stable Debian 8.5 Jessie comes with libwebsockets 1.2.2-1.
The issue happened both on 1.4.8 and 1.4.9, I've just updated it to 1.4.10, and it crashed again with exactly the same error and memory addresses.
This issue also has been described in gost/server#40 and #227
The text was updated successfully, but these errors were encountered: