-
Notifications
You must be signed in to change notification settings - Fork 126
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
Heap corruption/Access Violation with unreachable replication endpoint on Windows x86 #1051
Comments
The marked line is where the crash is. |
This irritatingly also only happens in Release mode, not Debug mode...at least for UWP. |
The flow goes like this:
The last part triggers a cleanup of various things including the C4SocketImpl, which is the one somehow causing problems. The odd part is that I can step through the entire destructor and it is not until the very end when it attempts to free the heap memory that it fails. |
Turns out it was a case of missing |
From @borrrden on August 7, 2018 1:55
Noticed while using the mobile training todo app. If the URL is not a valid sync gateway, then a heap corruption will occur in the BLIPConnection _closed method regarding reference counting (free after free?). This does not seem to occur on x64, but happens on x86 for both desktop and UWP. Stack trace in the next comment.
Copied from original issue: couchbase/couchbase-lite-core#547
The text was updated successfully, but these errors were encountered: