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

x/mobile/bind: static variables in iOS/Swift aren't reference counted correctly #12859

Closed
scisci opened this issue Oct 7, 2015 · 7 comments
Closed

Comments

@scisci
Copy link

scisci commented Oct 7, 2015

When I declare a variable statically like this:

class SwiftClass {
  // Shared static instance singleton
  static let sharedInstance = SwiftClass();

  // Member variable that is a go struct pointer
  var someGoStruct: GoStruct?

  init() {
    // Create go struct
    someGoStruct = NewGoStruct()
  }

  func doSomething() {
    someGoStruct.SomeMethod();
  }
}

I can call SwiftClass.sharedInstance.doSomething();
It works the first time, but if I call it at some later time, it crashes in the reference counting area of the go library. I think this must be because go doesn't understand that the member of the static variable shouldn't be garbage collected. I was able to get around the issue by not declaring my singleton as static, and instead just declaring it as a global variable.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Oct 7, 2015
@ianlancetaylor
Copy link
Contributor

CC @crawshaw @hyangah

@hyangah
Copy link
Contributor

hyangah commented Oct 7, 2015

@scisci thanks for the report.
Do you mind sharing a minimal example project to reproduce the problem?
Also the crash log will be helpful.

I tried to reproduce it based on the code snippet you included, but couldn't reproduce the crash.

@scisci
Copy link
Author

scisci commented Oct 7, 2015

Yep, will do. The bug showed up in a larger project, and the example above I just wrote in here to demonstrate, so it may very well need some better modelling. I will have to break it out which might take a minute. I'll let you know.

@scisci
Copy link
Author

scisci commented Oct 7, 2015

Hi @hyangah, here is a test project that demonstrates the error:

https://github.com/scisci/gomobile-static-test

/lib holds the golang library (please note I've converted it to a Module so it can be imported by swift after the build process, so you have to do that manually if you want to rebuild it)
/gomobile-static-test holds an xcode project with a view with a single button. If you click the button twice it crashes on a reference count error.

screen shot 2015-10-07 at 5 56 03 pm

Crash Report:

Process:               gomobile-static-test [70023]
Path:                  /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/gomobile-static-test
Identifier:            gomobile-static-test
Version:               1.0 (1)
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [69433]
Responsible:           launchd_sim [69433]
User ID:               501

Date/Time:             2015-10-07 17:52:09.087 -0400
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        71C12BAD-3BB7-324B-138A-54CA20CCDBE9

Sleep/Wake UUID:       716FA7A6-51AE-46AF-AB71-6587B8A29B3F

Time Awake Since Boot: 1100000 seconds
Time Since Wake:       29000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020

VM Regions Near 0x20:
--> 
    __TEXT                 0000000100000000-00000001001bd000 [ 1780K] r-x/r-x SM=COW  /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/gomobile-static-test

Application Specific Information:
CoreSimulator 117.15 - Device: iPhone 6 - Runtime: iOS 8.4 (12H141) - DeviceType: iPhone 6

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.scisci.gomobile-static-test 0x000000010005e6ee runtime.raiseproc + 30

Thread 1:
0   com.scisci.gomobile-static-test 0x000000010005eacb runtime.mach_semaphore_wait + 11

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00000001029b3232 kevent64 + 10
1   libdispatch.dylib               0x000000010266ad94 _dispatch_mgr_thread + 54

Thread 3:
0   com.scisci.gomobile-static-test 0x000000010005e99c runtime.usleep + 44

Thread 4:
0   com.scisci.gomobile-static-test 0x000000010005eacb runtime.mach_semaphore_wait + 11

Thread 5:
0   com.scisci.gomobile-static-test 0x000000010005eacb runtime.mach_semaphore_wait + 11

Thread 6:
0   libsystem_kernel.dylib          0x00000001029b294a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00000001029e13dd start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib          0x00000001029b294a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00000001029e13dd start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib          0x00000001029b294a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00000001029e13dd start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib          0x00000001029b294a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00000001029e13dd start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000000000000b  rcx: 0x000000c820055e50  rdx: 0x0000000000000000
  rdi: 0x0000000000011187  rsi: 0x000000000000000b  rbp: 0x0000000000000000  rsp: 0x000000c820055e50
   r8: 0x000000010015fbe0   r9: 0x0000000000000005  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000101f94000  r13: 0x000000010ac9fe80  r14: 0x000000010217bab8  r15: 0x000000010ad38580
  rip: 0x000000010005e6ee  rfl: 0x0000000000000206  cr2: 0x000000010f52f0d8

Logical CPU:     0
Error Code:      0x02000025
Trap Number:     133


Binary Images:
       0x100000000 -        0x1001bcfef +com.scisci.gomobile-static-test (1.0 - 1) <CC07B8AB-A184-3D36-9A53-C4755B2102B8> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/gomobile-static-test
       0x100258000 -        0x10027c77f +dyld_sim (353.2.3) <CA4A779A-BA45-39C7-9456-1B8A06818142> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim
       0x1002c2000 -        0x1002c9fff +libSystem.dylib (1214.5.1) <1AE7CF7D-C459-3B70-A77E-FF6AFE37EC42> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libSystem.dylib
       0x1002d1000 -        0x100675ff7  com.apple.CoreFoundation (6.9 - 1145.15) <CFE97C36-BEF0-342D-B3E8-708290918BAB> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x1007ef000 -        0x100abcff7  com.apple.Foundation (6.9 - 1144.17) <6AD46F42-D856-349A-87CA-F4DCDB7A27C6> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Foundation.framework/Foundation
       0x100c95000 -        0x101806ff7  com.apple.UIKit (1.0 - 1000) <B8C70EAC-87B2-3C7E-B701-46CC3DEFB576> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/UIKit.framework/UIKit
       0x101f78000 -        0x10217074f +libobjc.A.dylib (647.1) <829B4C9F-49D6-3E4D-A8C4-F98B25D1EC39> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libobjc.A.dylib
       0x102194000 -        0x10230bfff +libswiftCore.dylib (1.2 - 602.0.53.1) <56C1C878-3870-39A6-9B9E-2D6265D9DC20> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftCore.dylib
       0x1024a0000 -        0x1024aaff7 +libswiftCoreGraphics.dylib (1.2 - 602.0.53.1) <D9418066-6402-3438-902F-72D5A664D293> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftCoreGraphics.dylib
       0x1024bd000 -        0x1024c1ff7 +libswiftCoreImage.dylib (1.2 - 602.0.53.1) <C13CF52F-02A4-3DD5-BAD2-E5ACD2F4EB1C> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftCoreImage.dylib
       0x1024c9000 -        0x1024cefff +libswiftDarwin.dylib (1.2 - 602.0.53.1) <F4E7EC21-BB30-34CC-84E7-41FDC298AEF1> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftDarwin.dylib
       0x1024d9000 -        0x1024dcfff +libswiftDispatch.dylib (1.2 - 602.0.53.1) <1ABC2BE4-788A-3D47-AC28-AC11ABBB38B2> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftDispatch.dylib
       0x1024e4000 -        0x102511fff +libswiftFoundation.dylib (1.2 - 602.0.53.1) <D40659C2-249D-3D26-804F-501AF21D1D6A> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftFoundation.dylib
       0x10254b000 -        0x102550fff +libswiftObjectiveC.dylib (1.2 - 602.0.53.1) <18215EC8-CE00-3D65-96EE-9FE2D7105C08> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftObjectiveC.dylib
       0x10255a000 -        0x10255dff7 +libswiftSecurity.dylib (1.2 - 602.0.53.1) <7211023C-B7A7-3023-96EC-DB056141BB1B> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftSecurity.dylib
       0x102563000 -        0x10256cfff +libswiftUIKit.dylib (1.2 - 602.0.53.1) <A211B961-D934-3987-B6CA-32B574165D3C> /Users/USER/Library/Developer/CoreSimulator/Devices/A9EF8268-1BED-4C04-BF6D-CC02CDB1BA7D/data/Containers/Bundle/Application/92CF4DEE-4B03-4BC6-8BB6-A167261A643B/gomobile-static-test.app/Frameworks/libswiftUIKit.dylib
       0x102580000 -        0x102585ff7 +libcache_sim.dylib (69) <367AC987-0095-3893-B707-ED95FC85DE0A> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libcache_sim.dylib
       0x10258a000 -        0x102599fff +libcommonCrypto.dylib (60062.30.1) <99A99B82-3F65-342F-B8F7-19E52CAF2277> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libcommonCrypto.dylib
       0x1025a7000 -        0x1025aefff +libcompiler_rt.dylib (60.3) <6AC452DC-4FBC-3AD1-8B4C-A09D78BA5A5A> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libcompiler_rt.dylib
       0x1025b7000 -        0x1025bfff7 +libcopyfile.dylib (119.1.1) <38EA22EC-0A82-300F-BE22-C91A1ECD0BD0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libcopyfile.dylib
       0x1025c5000 -        0x102646fd7 +libcorecrypto.dylib (234.30.1) <9C68DC7E-90C1-378E-B2DC-162A7ABB7B53> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libcorecrypto.dylib
       0x10265e000 -        0x102686ff7 +libdispatch.dylib (443.5.5) <AA716377-11D9-3F34-9B92-429097CA7D86> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libdispatch.dylib
       0x1026a8000 -        0x1026aaff7 +libdyld.dylib (353.12) <4EC149A9-21B6-3D27-957C-3A602D952922> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libdyld.dylib
       0x1026b0000 -        0x1026b0ff7 +liblaunch.dylib (560.20.11) <5735836A-FEFB-316C-AC83-AC13DBEEC08F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/liblaunch.dylib
       0x1026b6000 -        0x1026bcfff +libmacho_sim.dylib (857) <0A08E32D-71EE-359B-A8E9-BF7D198591B4> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libmacho_sim.dylib
       0x1026c2000 -        0x1026c4fff +libremovefile.dylib (35) <3E098608-8932-3EF8-98EB-71138699F98E> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libremovefile.dylib
       0x1026c9000 -        0x1026e2ff7 +libsystem_asl.dylib (267.20.1) <213DFBD9-7120-31F2-A975-6FC0457FC8A3> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_asl.dylib
       0x1026ef000 -        0x1026f0fff +libsystem_sim_blocks.dylib (65) <7D2A29AE-93EB-3AA3-9BD6-5F8CE92F2E8D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_blocks.dylib
       0x1026f5000 -        0x102791fff +libsystem_sim_c.dylib (1046) <8CF423AA-71AD-39ED-AF47-54279B1C1F97> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_c.dylib
       0x1027bb000 -        0x1027befff +libsystem_sim_configuration.dylib (700.20.6) <D15D01F8-4D67-34E7-B34B-3FB46E6A9877> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_configuration.dylib
       0x1027c4000 -        0x1027c5fff +libsystem_coreservices.dylib (7) <94AEB6E0-8D5F-302D-8FD9-8920C3B72D3F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_coreservices.dylib
       0x1027ca000 -        0x1027dfff7 +libsystem_coretls.dylib (36.30.2) <6631DC5E-8043-3362-BC58-0C5502BDEC3F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_coretls.dylib
       0x1027f0000 -        0x1027f9ff7 +libsystem_sim_dnssd.dylib (562.20.1) <85A63FB6-7D68-3DFC-BC4D-A32F0FF17A76> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_dnssd.dylib
       0x1027ff000 -        0x10282bfff +libsystem_sim_info.dylib (459.5.2) <ACF23001-0A77-3817-90F1-8285A30ACBAE> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_info.dylib
       0x10283d000 -        0x102841ff7 +libsystem_sim_kernel.dylib (141.20.1) <603ED148-F26D-3B92-8F8F-4E991286C4F5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_kernel.dylib
       0x102847000 -        0x102878fe7 +libsystem_sim_m.dylib (3086.1) <94B87D48-14FA-3446-8171-D09EDFC15996> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_m.dylib
       0x10287f000 -        0x10289dfff +libsystem_malloc.dylib (55.3.1) <5EDDDD93-2823-3A12-B676-AD6C179C89A5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_malloc.dylib
       0x1028a6000 -        0x1028e7ff7 +libsystem_network.dylib (413.20.6) <1B5FDBED-BA3C-3BF2-873E-8EA35DD2AE3B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_network.dylib
       0x10290c000 -        0x102917fff +libsystem_notify.dylib (134.5.1) <362B5BDC-9D03-3FB3-83FC-2ABD8104E27C> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_notify.dylib
       0x10291f000 -        0x102922ff7 +libsystem_sim_platform.dylib (141.20.1) <1A3E8D29-C9F9-3891-B22B-3CB261E7A57B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_platform.dylib
       0x102927000 -        0x102928fff +libsystem_sim_pthread.dylib (141.20.1) <A7D15FF8-D614-30AF-9F5C-B67D3CFBBD5A> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_pthread.dylib
       0x10292e000 -        0x102931fff +libsystem_sim_sandbox.dylib (359.20.1) <7E522A62-5492-32B5-97B5-6E7F99A69F36> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_sandbox.dylib
       0x102937000 -        0x10293eff7 +libsystem_sim_trace.dylib (73.20.1) <A80E8D29-7EBA-3811-8F60-E332EB302F4D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libsystem_sim_trace.dylib
       0x102947000 -        0x10294dff7 +libunwind_sim.dylib (126.2) <FCE9AB66-99D6-34E0-98FD-6D54ADF96FAB> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libunwind_sim.dylib
       0x102954000 -        0x102980ff7 +libxpc.dylib (560.20.11) <AF8FA08F-353B-303B-A08E-AEBB3C60A640> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/libxpc.dylib
       0x10299c000 -        0x1029b9fff  libsystem_kernel.dylib (2782.40.9) <16AD15EF-3DAE-3F63-9D26-26CCE1920762> /usr/lib/system/libsystem_kernel.dylib
       0x1029cf000 -        0x1029d7fff  libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
       0x1029e0000 -        0x1029e9fff  libsystem_pthread.dylib (105.40.1) <ACE90967-ECD0-3251-AEEB-461E3C6414F7> /usr/lib/system/libsystem_pthread.dylib
       0x1029f5000 -        0x102a22fff +libc++abi.dylib (126.2) <A12BE738-ACD7-351F-9D62-EADC3DA62838> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libc++abi.dylib
       0x102a30000 -        0x102a9bfff +libc++.1.dylib (235.1) <5DBEC0CF-0880-3C2A-BFB0-2C33395A8D25> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libc++.1.dylib
       0x102af0000 -        0x102d26fff +libicucore.A.dylib (531.27.29) <363C1049-637F-3B67-B6D8-7097E42BB326> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libicucore.A.dylib
       0x102de0000 -        0x102df2fff +libz.1.dylib (55) <41F710F8-62B4-3705-A640-5DEAB614CB53> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libz.1.dylib
       0x102df7000 -        0x102ed3fff  com.apple.MobileCoreServices (66 - 66) <809B68E8-02C0-3A96-A333-800CC02EDB9D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
       0x102f4a000 -        0x102f6dfff +libextension.dylib (51.5) <FCD89680-DDCA-3E33-B238-DC73045BAC71> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libextension.dylib
       0x102f8d000 -        0x102fbffff +libarchive.2.dylib (30) <C49A17E4-B0C9-3CD1-AECB-7B5D070860D7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libarchive.2.dylib
       0x102fc9000 -        0x1030d6fff +libxml2.2.dylib (25.6) <5667D8DB-BFA3-3C5A-8A1F-474FF88C54FA> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libxml2.2.dylib
       0x10310d000 -        0x1033a2fff  com.apple.CFNetwork (711.4.6 - 711.4.6) <41A72D59-6F80-3212-83FA-F0284B9A43DC> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CFNetwork.framework/CFNetwork
       0x103526000 -        0x103589fff  com.apple.SystemConfiguration (1.14 - 1.14) <BE8223BC-DF5C-334A-92D0-FB53773EA963> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
       0x1035be000 -        0x103632fff  com.apple.Security (10.0 - ???) <322C6231-3062-3A59-892A-1CDF12ED24A6> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Security.framework/Security
       0x103675000 -        0x1036ddff7  com.apple.framework.IOKit (2.0.2 - 1051.20.5) <93A8C47C-CA83-3B36-84B6-5EA21138B2DC> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
       0x10370f000 -        0x103730ff7 +libCRFSuite.dylib (32) <42F26336-A19B-3F61-A325-C8F23908B8D4> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libCRFSuite.dylib
       0x10373b000 -        0x10373cfff +liblangid.dylib (114) <9E7D5F76-58D1-30B9-8F16-2D9ACC0F3E8C> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/liblangid.dylib
       0x103740000 -        0x10375bff7 +libMobileGestalt.dylib (297.20.3) <FC294302-53CB-37A8-884C-1985213F8F37> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libMobileGestalt.dylib
       0x10378b000 -        0x10379dff7 +libbsm.0.dylib (28.1) <E1915986-1071-3847-A4D4-5255313F0C10> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libbsm.0.dylib
       0x1037a6000 -        0x10389ffff +libsqlite3.dylib (169.4) <48ADFC16-8A6B-398F-BDC3-0F30978064BB> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libsqlite3.dylib
       0x1038b8000 -        0x1038c5fff +libbz2.1.0.dylib (36) <BE3C3ACF-3DAE-34F0-88FB-C371818A324B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libbz2.1.0.dylib
       0x1038ca000 -        0x1038e7ff7 +liblzma.5.dylib (7.5.1) <3FE91158-38DD-3AD3-8D1E-88C51D609AE1> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/liblzma.5.dylib
       0x1038ef000 -        0x1039e5ff7  com.apple.UIFoundation (1.0 - 1) <86138449-C920-3011-B4A6-46BE552F2D17> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
       0x103a59000 -        0x103a83fff  com.apple.FrontBoardServices (1.0 - 1) <219FA0C4-8B31-310D-966F-72969974A0A0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
       0x103aaf000 -        0x103afcfff  com.apple.BaseBoard (1.0 - 1) <26749F68-AECF-33BA-9D87-8F22D922CF41> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
       0x103b41000 -        0x103bf0fff  com.apple.CoreUI (1.0 - 307.3) <B76A5523-867A-34C1-AFE9-9B1487CF2C26> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/CoreUI.framework/CoreUI
       0x103cc6000 -        0x103ce3fff  com.apple.CoreVideo (1.8 - 144.14) <C586C16C-C54A-3C36-8E02-588CCE9287C8> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreVideo.framework/CoreVideo
       0x103cf7000 -        0x103d08fff  com.apple.opengles (12.0.5 - 12.0.5) <4E716711-1674-3BAD-A7F4-3FB4A271B577> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/OpenGLES
       0x103d14000 -        0x104019ff7  com.apple.VideoToolbox (1.0 - 1561.162) <9F694ACE-A1DD-30D0-8026-6E6BC3053F96> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
       0x10409c000 -        0x1040acfff  com.apple.MobileAssets (1.0 - 1) <CB10363E-9F54-3705-9D5F-0BE3FEE5FD32> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
       0x1040bb000 -        0x1040dfff7  com.apple.BackBoardServices (1.0 - 1.0) <AF99C4D4-4138-30C3-98FF-06BD7172C9C1> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
       0x104106000 -        0x104280ff7  com.apple.CoreImage (8.3 - 289) <AB8F47C7-9554-399B-884F-764A4B4B9F51> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreImage.framework/CoreImage
       0x10438b000 -        0x1043b2fff  com.apple.DictionaryServices (1.2 - ???) <33151E8D-BDB0-3E3E-AD96-716A574D6E9A> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
       0x1043d1000 -        0x1043e8ff7  com.apple.GraphicsServices (1.0 - 1.0) <5D19E49F-27C7-3413-82D2-DFA10BD6AF42> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x1043ff000 -        0x1045cafff  com.apple.CoreGraphics (1.600.0 - 747.2.6) <71E8DB5E-8B14-32EC-B1A1-5BAB236D7F61> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
       0x104641000 -        0x104942fff  com.apple.ImageIO.framework (3.3.0 - 1163) <DCDDCC98-CB0B-31BB-AB29-EF242BB109D5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/ImageIO.framework/ImageIO
       0x1049e4000 -        0x104b9cff7  com.apple.QuartzCore (1.11 - 367.1) <F2EF70FA-E53D-315D-BA77-5D1B46B45DA1> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore
       0x104c57000 -        0x104c7bfff  com.apple.SpringBoardServices (1.0 - 1.0) <07887D6E-0002-3D1F-8A23-C4649403093F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
       0x104c9d000 -        0x104cf0ff7  com.apple.AppSupport (1.0.0 - 29) <9F17B049-0A63-3612-9EBF-F31CCA7682FF> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
       0x104d2c000 -        0x104e93fff  com.apple.CoreText (352.0 - 451.6.12) <CE59BF39-B90A-34A3-9637-D01E2044956C> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreText.framework/CoreText
       0x104f32000 -        0x104f68fff  com.apple.TextInput (1.0) <A9E73B45-294B-3A48-AACD-27D36FFBFF09> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/TextInput.framework/TextInput
       0x104fa3000 -        0x1050acff7  com.apple.WebKitLegacy (8600 - 8600.1.4.16.7) <B746DE23-B344-3B37-96DA-D63DDC9AB399> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy
       0x10516d000 -        0x106917ff7  com.apple.WebCore (8600 - 8600.1.4.16.6) <5E8CEE08-9BC7-3969-8803-2503CD818393> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/WebCore.framework/WebCore
       0x1072e3000 -        0x1073c0ff7  com.apple.ProofReader (2.2.3 - 282) <BA474C4E-D54F-3EC1-B757-FA1635071034> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
       0x1073f2000 -        0x1073fffff +libAccessibility.dylib (1541.97) <12A1ADF9-5A22-36A7-853D-C171AB2833FF> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libAccessibility.dylib
       0x107410000 -        0x107410fff  com.apple.Accelerate (1.10 - Accelerate 1.10) <0C0827AE-4148-340E-B135-A9E51470CEB3> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Accelerate
       0x107413000 -        0x107477fff  com.apple.PhysicsKit (1.0 - 1) <FC6A89D9-FCBC-3250-9949-D286906B3B9E> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
       0x1074a4000 -        0x1074a4fff  com.apple.FontServices (1.0 - 1) <2F399803-EB02-398C-8BFE-F424F7B0EFA8> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FontServices.framework/FontServices
       0x1074a8000 -        0x1075a2ff7 +libFontParser.dylib (129.5.6) <8B28047C-9043-3689-8A24-C3535493C202> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FontServices.framework/libFontParser.dylib
       0x107658000 -        0x107ad6fe7  com.apple.vImage (8.0 - 8.0) <D92039E4-9A8F-3763-8152-CD922D930B7B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
       0x107b30000 -        0x107b30fff  com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <0E0BA81B-5637-3D5E-B53F-6C9C1C01CD89> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
       0x107b33000 -        0x107c47fff +libvDSP.dylib (514) <E95CCBC2-8F9D-3BB5-82B8-1B0E0AF71084> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
       0x107c53000 -        0x10807eff7 +libLAPACK.dylib (1128) <B3AB4F69-C276-3D7E-BFD2-F4D732CF0196> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
       0x1080b2000 -        0x10824afff +libBLAS.dylib (1128) <93261A80-11C6-3FB6-9501-067FE34E6DCB> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
       0x108267000 -        0x108312fff +libvMisc.dylib (514) <0E5FD619-F64C-3EE6-90ED-2147035596D3> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
       0x10831b000 -        0x108334fff +libLinearAlgebra.dylib (1128) <C27F4C96-4CD2-33E3-B465-BEFB5F5E1B38> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLinearAlgebra.dylib
       0x10833c000 -        0x1083e187f  com.apple.AppleJPEG (1.0 - 1) <907B951B-9755-368D-BDF1-0E2644173F24> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AppleJPEG.framework/AppleJPEG
       0x108447000 -        0x108452fff +libGFXShared.dylib (12.0.5.6) <3F72AEF2-D1D4-3919-9495-54532117187C> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
       0x108459000 -        0x1084a1ff7 +libGLImage.dylib (12.0.5.6) <389FAD70-2D27-3A38-B781-BA1D92EDE7F5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
       0x1084aa000 -        0x1084acfff +libCVMSPluginSupport.dylib (12.0.5.6) <152653A8-A2BC-3FC2-AF96-7683C54EF6F7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
       0x1084b2000 -        0x1084beff7 +libCoreVMClient.dylib (93.2) <34081C85-0A0B-3FDD-B7A8-7CD99873A0D7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
       0x1084c8000 -        0x109257fc7 +libLLVMContainer.dylib (93.2) <60144882-20E0-3C60-9BBC-55A552D415D6> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/libLLVMContainer.dylib
       0x1095a3000 -        0x1095b2ff7  com.apple.AssertionServices (1.0 - 1) <AEB01D54-578B-311C-B656-BAF6353DC643> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices
       0x1095c5000 -        0x109a07fff  com.apple.vision.FaceCore (3.1.6 - 3.1.6) <1252427F-9771-380D-B352-6A9CF0928C52> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
       0x109c1f000 -        0x109d94ff7 +libFosl_dynamic.dylib (15.11) <47C8CE66-F19B-37D1-B4CD-4ED60CDC806F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libFosl_dynamic.dylib
       0x109e16000 -        0x109e88ff7  com.apple.CoreMedia (1.0 - 1561.162) <FB7A5F67-2CDA-3385-BFF6-CA36D7563C0C> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreMedia.framework/CoreMedia
       0x109ee0000 -        0x109ee1ff7  com.apple.iphonesimulator.SimulatorClient (1.0 - 1) <A96206EA-72C7-3698-9932-FE0F4FBF3F9E> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/SimulatorClient.framework/SimulatorClient
       0x109ee6000 -        0x109f41ff7  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <8352080B-3B3D-3902-869A-5692CAE6CCE7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreAudio.framework/CoreAudio
       0x109f65000 -        0x109f92ff7 +libxslt.1.dylib (13) <BB5C503F-9374-342B-9772-865AA96F6196> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libxslt.1.dylib
       0x109f9f000 -        0x10a5bdfff +JavaScriptCore (7600.1.4.16.1) <A327949D-E395-3532-BF9F-DCEBC432F2EC> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
       0x10a73f000 -        0x10aa25ff7  com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) <2BB110BA-CE4B-352F-BACB-611839D89966> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
       0x10ab1c000 -        0x10ab21ff7  com.apple.TCC (1.0 - 1) <FEB657E4-CF0E-34E6-BA18-E91C004EFEF9> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/TCC.framework/TCC
       0x10ab28000 -        0x10ab79fff  com.apple.LanguageModeling (1.0 - 1) <5391AB35-6968-3258-BE89-F20F985C7B9F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/LanguageModeling.framework/LanguageModeling
       0x10ab8a000 -        0x10ab8ffff  com.apple.AggregateDictionary (1.0 - 1) <E1BB6F9E-113C-384C-9858-86B85749A274> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
       0x10ab96000 -        0x10abaafff +libcmph.dylib (4) <C3878AD7-649E-392F-A56C-6AF3DFE24E7F> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libcmph.dylib
       0x10abb9000 -        0x10abc1fff  com.apple.MediaAccessibility (1.0 - 75) <75BE7B84-645E-3E07-A874-B8962C257286> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
       0x10aff0000 -        0x10aff6fff  com.apple.ConstantClasses (1.0 - 1) <0156BD37-BF8B-3EFF-9E52-FF847FBA4937> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses
       0x10b9c4000 -        0x10b9c7fff +libCGXType.A.dylib (747.2.6) <41161A7F-75F0-3825-8743-326DF5B724C0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGXType.A.dylib
       0x10b9e3000 -        0x10b9f2ff7 +libCMSBuiltin.A.dylib (747.2.6) <5B0530E3-1E73-3CB1-A6D7-3A34AA3FE052> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libCMSBuiltin.A.dylib
       0x10bfa0000 -        0x10bfc9fff +libRIP.A.dylib (747.2.6) <919018DA-EA88-36C5-B5F2-A193485B7369> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
       0x10e373000 -        0x10e382fff +libGSFontCache.dylib (20.4.7) <94C3D575-2F1E-334F-9D27-7BD7D2895000> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FontServices.framework/libGSFontCache.dylib
    0x7fff6c217000 -     0x7fff6c24d887  dyld (353.2.3) <B1B370A5-479F-3533-8AD7-97B687D4F989> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1343114
    thread_create: 1
    thread_set_state: 14545

VM Region Summary:
ReadOnly portion of Libraries: Total=157.8M resident=65.6M(42%) swapped_out_or_unallocated=92.2M(58%)
Writable regions: Total=47.0M written=9332K(19%) resident=11.1M(24%) swapped_out=0K(0%) unallocated=35.9M(76%)

REGION TYPE                      VIRTUAL
===========                      =======
CoreAnimation                        72K
CoreServices                        660K
Dispatch continuations             4096K
Kernel Alloc Once                     8K
MALLOC                             20.4M
MALLOC (admin)                       32K
STACK GUARD                          36K
Stack                              68.1M
VM_ALLOCATE                       544.5G
__DATA                             15.8M
__LINKEDIT                         34.3M
__TEXT                            123.6M
__UNICODE                           552K
mapped file                        25.1M
shared memory                         4K
===========                      =======
TOTAL                             544.8G

@hyangah
Copy link
Contributor

hyangah commented Oct 8, 2015

Thanks @scisci.

The xcode project complains it couldn't find the module Lib (yeah, I see the xcodeproj has a link to your directory :-) I just rebuilt the framework using the build-lib.sh there. FYI, the current version of gomobile bind produces the module map, so you don't have to manually tweak the framework for use in swift any more.

And with iPhone6 simulator (iOS8.4), I couldn't reproduce the crash. From your crash log, I guess you also tried with a simulator. I am puzzled.

Which version of go, and gomobile did you use? Does the problem still exist when you try with the tip?

@scisci
Copy link
Author

scisci commented Oct 8, 2015

Thanks @hyangah, my gomobile version is +9e2ad8c, I will try to update and see if it changes. Just a question, did you hit the button twice in your tests? It is required to produce the crash.

@scisci
Copy link
Author

scisci commented Oct 9, 2015

hey @hyangah, indeed updating to the latest version of gomobile has solved the issue. thanks!

@scisci scisci closed this as completed Oct 9, 2015
@golang golang locked and limited conversation to collaborators Oct 9, 2016
@rsc rsc unassigned hyangah Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants