PhidgetNet_enableServerDiscovery crash identified

Supporting iOS 8 and up
RainfrogDan
Phidgetsian
Posts: 6
Joined: Sat Feb 04, 2012 9:30 am
Contact:

PhidgetNet_enableServerDiscovery crash identified

Postby RainfrogDan » Fri Aug 18, 2017 3:33 pm

I reached out to Brian earlier in the week about a sigabrt crash when calling

Code: Select all

PhidgetNet_enableServerDiscovery(PHIDGETSERVER_DEVICEREMOTE)
in Lib22 iOS drivers. The code runs fine in a new project, but crashes in an existing, complex project.

I've done a lot of grep'ing and assembly debugging, and finally found the problem. There appears to be symbol name conflict between lib22 and OpenSSL. Removing OpenSSL allows the Phidget code to function reliably as expected.

Unfortunately, my app requires OpenSSL for In-App-Purchase receipt validation. I've downloaded and recompiled the latest LTS build of OpenSSL 1.0.2l, hoping I could circumvent a symbol conflict if the lib22 drivers use a different version of OpenSSL, but the crash persists.

Patrick, are you using OpenSSL? If so, what version? If not, I feel this may be a sticky situation. Do you have any ideas on how I can get around this? I need to move to Lib22 for the WebService improvements, and I can't give up OpenSSL.

Thanks in advance.

User avatar
Patrick
Lead Developer
Posts: 3098
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: PhidgetNet_enableServerDiscovery crash identified

Postby Patrick » Mon Aug 21, 2017 10:06 am

Which symbol is conflicting? We aren't using OpenSSL.


Return to “iOS”

Who is online

Users browsing this forum: No registered users and 2 guests