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

Crash when connecting to a socket on iOS in distribution builds #442

Open
MenacingDwarf opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@MenacingDwarf
Copy link

I’m trying to build my project using Unreal Engine 5.4 for iOS. I use SocketIO 2.8.0 to connect to the backend. When trying to connect to the socket, a crash occurs. This only happens on iOS, only in Distribution builds, and only on Unreal 5.4. There are no problems on Unreal 5.2. Callstack: crashlog.txt

The callstack may be slightly different, but the problem is always when allocating or deallocating memory. I suspect that this may be a race condition and is related to some peculiarities of working with memory on iOS.

I tried using other versions of plugin, other versions of xcode, tried to build socket io using both c++20 and c++17, nothing helps.

@getnamo
Copy link
Owner

getnamo commented Dec 2, 2024

likely related issues: #431 (5.3) and #402

iOS is not a primary platform I develop on, will likely have to depend on other devs to identify issue. Once a pull request with fix is opened I can merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants