-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Segfaults in v2.0.17 #2885
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
Comments
Hi Keith, If this is not possible any additional kind of information might help, like:
Without any kind of detail it will be hard to pin down the problem. |
I'm getting a similar segfault on 2.0.17 almost every time I restart Home Assistant: Home Assistant has several hundred mqtt entities, all of which have to update at startup, but I don't think that's an unusual number. I have been experimenting with configs but haven't been able to find anything consistent. Persistence is enabled, and I am not using any plugins. There are many messages with retain set, from Home Assistant and other clients. |
Been seeing the same thing lately. |
Wish I could add more then a "Me too", not noticing it for connects/disconnects with mqtt explorer on windows but restarting Home Assistant causes a seg fault in Mosquitto 2.1.7, reverting to 2.1.5 (what I was previously running) and issue goes away |
I can add that the crash happens during the startup phase of Home Assistant (and not during the shutdown phase). It is not instant; the MQTT crash happens several seconds into the startup, but I'm not sure if it's a single transaction that causes it of the cumulative effect of several startup transactions. |
Probably the same thing I found in #2881. I have a stack trace there. It started in version 2.0.16 and reverted out servers back to 2.0.15. |
We've finally managed to replicate this once after running on test.mosquitto.org for a good while, so hopefully should have an update soon. |
Could you please try out the |
I haven't been able to reproduce it; I only saw it on the live system, so I don't know what to do. Does it make sense this behavior was introduced since 2.0.15? This seems to directly revert 18ea97c "Fixes sub_count is not decreased when client ubsubscribe" BTW. |
@halfgaar Yes, it does directly revert that commit - it was an incorrect back port from develop where the case is slightly different. In develop we have |
@ralight, thanks for your work on this! You mentioned a new release within 12 hours, but that was several days ago. Do you have a timeframe for a new release? |
Keep getting segfaults with v2.0.17 running on docker->plesk->debian:
mosquitto[24889]: segfault at 500000000 ip 00007fba45142fc1 sp 00007fff4bc3e338 error 4 in ld-musl-x86_64.so.1[7fba45104000+4c000]
Did not find a reproduce case yet.
Environment:
Debian 10.13
Plesk Obsidian v18.0.54_build1800230824.08 os_Debian 10.0
Docker version 24.0.5, build ced0996
Mosquitto version 2.0.17
The text was updated successfully, but these errors were encountered: