IBM Support

iFix 7.1.0.0-MFPF-IF201911150651 released: Fixed segmentation fault with NetworkDetector deviceIPAddresses function after iOS 13 upgrade

Fix Readme


Abstract

After upgrading to iOS 13.x, some mobile client applications built on MobileFirst Platform Foundation v7.1 experience a segmentation fault coming from NetworkDetector module in the deviceIPAddresses function. This issue is fixed in iFix 7.1.0.0-MFPF-IF201911150651. 

Content

Mobile client applications built using MobileFirst Platform Foundation v7.1 experience a segmentation fault after upgrading to iOS 13. This fault comes from the deviceIPAddresses function in the NetworkDetector module. 
An example of the related stacktrace is shown below:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000fefefe00
VM Region Info: 0xfefefe00 is not in any region. Bytes before
following region: 61309440
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000102a68000-0000000102a6c000 [ 16K] r-x/r-x SM=COW
...rtalMobileApp

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [5083]
Triggered by Thread: 0

Thread 0 name:
Thread 0 Crashed:
0 libsystem_platform.dylib 0x0000000190246f44 _platform_strlen +
4
1 CoreFoundation 0x00000001904d92c8 __CFStringAppendFormatCore +
8696 (CFString.c:8195)
2 CoreFoundation 0x00000001904da65c
_CFStringCreateWithFormatAndArgumentsAux2 + 152
(CFString.c:1919)
3 Foundation 0x00000001907f018c +[NSString stringWithFormat:] +
84 (NSString.m:211)
4 MemberPortalMobileApp 0x0000000102ea47c0 -[NetworkDetector
deviceIPAdresses] + 816 (NetworkDetector.m:273)
5 MemberPortalMobileApp 0x0000000102ea341c -[NetworkDetector
getNetworkInfo:] + 228 (NetworkDetector.m:48)
6 MemberPortalMobileApp 0x0000000102a8fa50 -[CDVCommandQueue
execute:] + 504
7 MemberPortalMobileApp 0x0000000102a8f74c -[CDVCommandQueue
executePending] + 452
8 MemberPortalMobileApp 0x0000000102a8d88c
-[CDVCommandDelegateImpl evalJsHelper2:] + 224
9 Foundation 0x0000000190921238 __NSThreadPerformPerform + 232
(NSThread.m:807)
10 CoreFoundation 0x00000001904b67e0
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
(CFRunLoop.c:1922)
11 CoreFoundation 0x00000001904b6738 __CFRunLoopDoSource0 + 80
(CFRunLoop.c:1956)
12 CoreFoundation 0x00000001904b5ed0 __CFRunLoopDoSources0 + 180
(CFRunLoop.c:1992)
13 CoreFoundation 0x00000001904b101c __CFRunLoopRun + 1080
(CFRunLoop.c:2882)
14 CoreFoundation 0x00000001904b08bc CFRunLoopRunSpecific + 464
(CFRunLoop.c:3192)
15 GraphicsServices 0x000000019a31c328 GSEventRunModal + 104
(GSEvent.c:2246)
16 UIKitCore 0x00000001945466d4 UIApplicationMain + 1936
(UIApplication.m:4753)
17 MemberPortalMobileApp 0x0000000102ac12e4 main + 56
(main.m:14)
18 libdyld.dylib 0x000000019033b460 start + 4
This issue is fixed in iFix 7.1.0.0-MFPF-IF201911150651

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4HGH","label":"IBM Mobile Foundation"},"Component":"SDKs","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF017","label":"Mac OS"},{"code":"PF018","label":"Mobile OS"},{"code":"PF033","label":"Windows"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

MF, MFP, Mobile Foundation, MobileFirst, MobileFirst Platform Foundation

Document Information

Modified date:
26 November 2019

UID

ibm11111053