-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Socket_getReadySocket signal SIGSEGV, Segmentation fault. #1290
Comments
I encountered the same Segmentation fault, which often occurs when the mqtt server connection is not connected (for example, a non-existing ip is deliberately written). |
We encountered at least 2 crashes that might be caused by or related to this.
This is in the iOS Simulator running with Rosetta enabled. I think iOS 15.7. I also see that 1.3.12 is planned for December of 2023? Is this accurate? 😅 |
@Stannieman It looks similar to another issue. |
The major times when the mod_s.nfds and other entries in the data structure are changed are creating and closing/deleting sockets. The closing/deleting should be already protected, but the creating isn't. I've added a change which aims to protect adding sockets - it's in the develop branch. If anyone has any chance to try this out to see if it helps, that would be very helpful. Thanks. |
@Stannieman there will definitely be a release in December because there are some urgent fixes to deliver. Whether or not it includes a fix to this depends on whether we find and fix it! |
I've put a fix in, so let's see if it works. |
The reason is not known at this time, and if there are any findings, feedback will continue
The text was updated successfully, but these errors were encountered: