React native app crash on ios when running release or debug - ios

Here is the crash report:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD 1 Library missing
Library not loaded: #rpath/double-conversion.framework/double-conversion
Referenced from: <FC807FC8-F29C-3926-8FD2-B52AB0C43805> /Users/USER/Library/Developer/CoreSimulator/Devices/9DC328E5-38CB-4BAE-AA0F-E2976C0765E4/data/Containers/Bundle/Application/EFC99D36-68DA-47EB-A147-602CC1AE1B59/tekvetek_RN.app/tekvetek_RN
Reason: tried: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/double-conversion.framework/double-conversion' (errno=2), '/usr/lib/swift/double-conversion.framework/double-conversion' (errno=2, no dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/double-conversion.framework/double-conversion' (errno=2), '/usr/lib/swift/double-conversion.framework/double-conversion' (errno=2, no dyld cache), '/Users/omerkocer/Libra
(terminated at launch; ignore backtrace)
Triggered by Thread: 0
Thread 0 Crashed:
0 ??? 0x1062d6940 ???
1 <translation info unavailable> 0x1063636fc ???
2 dyld 0x206696a72 abort_with_payload_wrapper_internal + 80
3 dyld 0x206696aa4 abort_with_payload + 9
4 dyld_sim 0x10ea79593 abort_with_payload + 26
5 dyld_sim 0x10ea26f1e dyld4::halt(char const*) + 375
6 dyld_sim 0x10ea24f75 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3928
7 dyld_sim 0x10ea251a0 _dyld_sim_prepare + 442
8 dyld 0x206640b78 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1265
9 dyld 0x20663f70e dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
10 dyld 0x20663f4e4 start + 388
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7ffeed944 ???
1 ??? 0x7ff7fff061f0 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000006 rbx: 0x000000000000010b rcx: 0x0000000000000001 rdx: 0x000000030efbe6c0
rdi: 0x000000200ea28d03 rsi: 0x000000030efbe390 rbp: 0x0000000000000000 rsp: 0x000000030efbe2c0
r8: 0x000000030efbe2c0 r9: 0x0000000000000000 r10: 0x000000000000010b r11: 0xfefefefefefefeff
r12: 0x000000000000010b r13: 0x000000030efbe6c0 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: <unavailable> rfl: 0x0000000000000283
tmp0: 0xffffffffffffffff tmp1: 0x00000001062d6914 tmp2: 0x0000000206696a72
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x20663a000 - 0x2066a5fff dyld (*) <71febccd-d9dc-3599-9971-2b3407c588a8> /usr/lib/dyld
0x10ea23000 - 0x10ea82fff dyld_sim (*) <db2ea9eb-03d5-3b81-a6ce-26ec4dd81b07> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
As I understand it crashes because it can't find the #rpath/double-conversion.framework/double-conversion library.
I tried to linked binary with libraries:
libDoubleConversion.a
double-conversion.xcframework
But still same.
P.S.
The app is running without crashes with npx react-native run-ios or in xcode after build. However npx react-native run-ios --configuration=debug or --configuration=release is crashing the app on launch with EXC_CRASH (SIGABRT).

PROJECT > TARGET > BUILD PHASES > Link Binary With Libraries
I changed this libraries status
libDoubleConversion.a
double-conversion.xcframework
required from optional.
This worked for me.

Related

Unable to submit the app to the App Store. How can I fix the error?

I'm trying to put my mobile app (Xamarin IOS) on the App Store. I filled in all the required information, created a build, submitted it to App Store Connect for review. After some time, the application was reviewed and rejected. I was corrected the following error - "We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue." screenshot, and crash log. I symbolized it, but it did not help me at all. After symbolization, I still got incomprehensible text in the file. As a result, I did not manage to understand where exactly I have an error. I ask you to help me in this situation. Can you tell me how I can symbolize it differently, or how can I understand the already symbolized file. I just need to understand where the error is happening.
Thank you very much in advance for your time. I am grateful to you.
Symbolicated file:
Incident Identifier: 6947F5FE-B9DC-47A9-AA00-085F5B4911A0
CrashReporter Key: 2813e9a7d87ecf1fc7361aae3d6b31eafd209ab8
Hardware Model: iPad11,3
Process: DeliveryService.iOS [5953]
Path: /private/var/containers/Bundle/Application/C002FBD4-2ED7-48FF-9410-ED9AFB417D12/DeliveryService.iOS.app/DeliveryService.iOS
Identifier: com.delivery.ddl
Version: 1.0 (1.2)
AppStoreTools: 14C17
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.delivery.ddl [2297]
Date/Time: 2023-02-09 08:40:35.8743 -0800
Launch Time: 2023-02-09 08:40:14.9164 -0800
OS Version: iPhone OS 16.3 (20D47)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4309794816
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100e24000-100e5c000 [ 224K] r-x/r-x SM=COW ...ryService.iOS
Termination Reason: FRONTBOARD 2343432205
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<com.delivery.ddl>:5953 exhausted real (wall clock) time allowance of 20.00 seconds
ProcessVisibility: Foreground
ProcessState: Running
WatchdogEvent: process-launch
WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 31.650 (user 31.650, system 0.000), 25% CPU",
"Elapsed application CPU time (seconds): 20.546, 17% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
Thread 0 name: tid_103 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ??? 0x0 ???
1 DeliveryService.iOS 0x1030a4224 0x100e24000 + 36176420
2 DeliveryService.iOS 0x1030ab600 xamarin_main (in DeliveryService.iOS) (monotouch-main.m:441) + 36206080
3 DeliveryService.iOS 0x100e5fdec main (in DeliveryService.iOS) (main.m:162) + 245228
4 dyld 0x1f2438960 start + 2528
Thread 1:
0 libsystem_pthread.dylib 0x2213d8b90 start_wqthread + 0
Thread 2 name: SGen worker
Thread 2:
0 libsystem_kernel.dylib 0x210d3767c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2213e006c _pthread_cond_wait + 1232
2 DeliveryService.iOS 0x103080fcc thread_func (in DeliveryService.iOS) (sgen-thread-pool.c:196) + 36032460
3 libsystem_pthread.dylib 0x2213d96cc _pthread_start + 148
4 libsystem_pthread.dylib 0x2213d8ba4 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000000000000b x1: 0x000000016efdae10 x2: 0x000000000000000b x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x03f4a93acf8d0017 x10: 0x0000000000000004 x11: 0x0000000000000000
x12: 0x000000000000000b x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x000000016efdab10
x16: 0x00000002213d8e90 x17: 0x000000010123e654 x18: 0x0000000000000000 x19: 0x000000000000000b
x20: 0x000000016efdbac8 x21: 0x0000000103333000 x22: 0x0000000000000001 x23: 0x0000000000000000
x24: 0x0000000000000001 x25: 0x00000001030e6737 x26: 0x000000016efdbc93 x27: 0x0000000000000001
x28: 0x0000000282564300 fp: 0x000000016efdae30 lr: 0x00000001030a3884
sp: 0x000000016efdae00 pc: 0x0000000000000000 cpsr: 0x60000000
far: 0x0000000000000000 esr: 0x82000006 (Instruction Abort) Translation fault
Binary Images:
0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ???
0x100e24000 - 0x1031a3fff DeliveryService.iOS arm64 <93bf4745c5123ba28ccd9ada910f312b> /private/var/containers/Bundle/Application/C002FBD4-2ED7-48FF-9410-ED9AFB417D12/DeliveryService.iOS.app/DeliveryService.iOS
0x1f2423000 - 0x1f24a6093 dyld arm64e <4b042f280d1430eca1de3dbb10866ad7> /usr/lib/dyld
0x2213d8000 - 0x2213e3fff libsystem_pthread.dylib arm64e <45ac734e66493ee2a0963fd66441ab78> /usr/lib/system/libsystem_pthread.dylib
0x210d36000 - 0x210d6dfeb libsystem_kernel.dylib arm64e <c76e6bed463530c68f19fb829bbe1ae1> /usr/lib/system/libsystem_kernel.dylib
EOF

Could not run XCode 9.1 on MacOS 12

I am trying to migrate my Swift 3 code to Swift 4 to meet the requirement of Apple. I downloaded Xcode 9.1, renamed it to Xcode9.1.app, and moved it to the Applications.
I tried to open it as explained in the following link: How can I run Xcode 12.5.1 on Monterey?. But it quits.
The quitting message is:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [14762]
Path: /Applications/Xcode9.0.1.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0.1 (13249)
Build Info: IDEFrameworks-13249000000000000~2 (9A1004)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-01-10 11:36:20.3726 -0600
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Bridge OS Version: 6.0 (19P549)
Anonymous UUID: A485806D-0882-7796-CC9C-BB31F6F3E237
Sleep/Wake UUID: 22979CA9-B8DA-4613-99F5-34DE333FABB8
Time Awake Since Boot: 570000 seconds
Time Since Wake: 7415 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: #rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Reason: tried: '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Applications/Instruments.app/Contents/Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/MacOS/../Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applicat
(terminated at launch; ignore backtrace)
Application Specific Information:
Library not loaded: #rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Reason: tried: '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Applications/Instruments.app/Contents/Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/../../../../Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applications/Xcode9.0.1.app/Contents/MacOS/../Frameworks/XCTest.framework/Versions/A/XCTest' (no such file), '/Applicat
Thread 0 Crashed:
0 dyld 0x10c9c60ce __abort_with_payload + 10
1 dyld 0x10c9dc1cf abort_with_payload_wrapper_internal + 80
2 dyld 0x10c9dc201 abort_with_payload + 9
3 dyld 0x10c98a613 dyld4::halt(char const*) + 375
4 dyld 0x10c98655d dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3955
5 dyld 0x10c9854b4 start + 388
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7baf28a28 rdx: 0x00007ff7baf28e90
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7baf28a70 rsp: 0x00007ff7baf28a28
r8: 0x00007ff7baf28a90 r9: 0x0000000000000000 r10: 0x0000000000000096 r11: 0x0000000000000246
r12: 0x0000000000000096 r13: 0x00007ff7baf28e90 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: 0x000000010c9c60ce rfl: 0x0000000000000246 cr2: 0x0000000104fe7000
Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133
Binary Images:
0x10c980000 - 0x10c9ebfff dyld (*) <1a6ae033-9438-33c0-8077-988fd885250a> /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: 41
thread_create: 0
thread_set_state: 935
VM Region Summary:
ReadOnly portion of Libraries: Total=991.7M resident=0K(0%) swapped_out_or_unallocated=991.7M(100%)
Writable regions: Total=9636K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9636K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 16K 3
__CTF 759 1
__DATA 31.2M 376
__DATA_CONST 12.0M 180
__DATA_DIRTY 534K 106
__FONT_DATA 4K 1
__LINKEDIT 661.8M 47
__OBJC_RO 81.5M 1
__OBJC_RW 3120K 1
__TEXT 329.9M 386
__UNICODE 588K 1
dyld private memory 1024K 1
=========== ======= =======
TOTAL 1.2G 1106
Problem
According to apple, macOS 12 requires you to use Xcode 13.
https://developer.apple.com/news/?id=ufox?.ci5
Solution
There is a way to install only the tool chain for Xcode 9, but not the
app itself. I'm not sure if Migration is possible through the command
line but it seems like the best solution.
https://github.com/mrpippy/XcodeNueve

How to reproduce or symbolicate error log from reviewer?

Recently I submitted an app to appstore but I keep getting some error logs that I can't reproduce. I tried many times on simulator and device with the same ios version but no result. The error log is like below:
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: some.identifier [877]
Date/Time: 2018-02-15 08:54:22.2476 -0800
Launch Time: 2018-02-15 08:54:15.9742 -0800
OS Version: iPhone OS 11.2.5 (15D60)
Baseband Version:
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100c8c704
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 hc-ios-consumer 0x0000000100c8c704 0x100c70000 + 116484
1 Alamofire 0x0000000100f67268 0x100f30000 + 225896
2 Alamofire 0x0000000100f495c0 0x100f30000 + 103872
3 libdispatch.dylib 0x0000000183fbea54 0x183fbd000 + 6740
4 libdispatch.dylib 0x0000000183fbea14 0x183fbd000 + 6676
5 libdispatch.dylib 0x0000000183fcb698 0x183fbd000 + 59032
6 CoreFoundation 0x00000001845e7344 0x1844fc000 + 963396
7 CoreFoundation 0x00000001845e4f20 0x1844fc000 + 954144
8 CoreFoundation 0x0000000184504c58 0x1844fc000 + 35928
9 GraphicsServices 0x00000001863b0f84 0x1863a6000 + 44932
10 UIKit 0x000000018dc5d5c4 0x18dbea000 + 472516
11 some-identifier 0x0000000100c751d8 0x100c70000 + 20952
12 libdyld.dylib
How can I find what causes the crash?

Can't install webdriveragent-runner on iOS real device

I have two machines:
macbook pro and mac mini
I installed and ran WDA at own iPhone without any problems from macbook. But from the mac mini, I couldn't do it.
Trusted certificate with good provision profile, app (WebDriverAgentRunner-Runner.app) was install, but crashed with this error:
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: cr_update: <private>
May 3 21:25:40 iPhone ReportCrash[489] <Notice>: Formulating report for corpse[488] <private>
May 3 21:25:40 iPhone ReportCrash(MobileCoreServices)[489] <Notice>: notify_register_check() failed with error 1000000
May 3 21:25:40 iPhone symptomsd(SymptomEvaluator)[123] <Notice>: 488 com.apple.test.WebDriverAgentRunner-Runner: Terminated (most elevated: Terminated)
May 3 21:25:40 iPhone symptomsd(SymptomEvaluator)[123] <Notice>: Entry, display name com.apple.test.WebDriverAgentRunner-Runner uuid (null) pid 488 isFront 0
May 3 21:25:40 iPhone symptomsd(SymptomEvaluator)[123] <Notice>: Duplicate removal of display name com.apple.test.WebDriverAgentRunner-Runner
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Info>: scanned 152 logs with 11 types and 10 unknowns (sentinel is <private>)
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Report of type '109(<private>)' not saved because the limit of 25 logs has been reached
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk.
Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Process: XCTRunner [488]
Path: /private/var/containers/Bundle/Application/63E4047A-DAD9-4B64-BE1F-AA4F1599C08D/WebDriverAgentRunner-Runner.app/XCTRunner
OS Version: iPhone OS 10.0 (14A346)
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: #rpath/XCTest.framework/XCTest | Referenced from: /var/containers/Bundle/Application/63E4047A-DAD9-4B64-BE1F-AA4F1599C08D/WebDriverAgentRunner-Runner.app/XCTRunner | Reason: no suitable image found. Did find: | /private/var/containers/Bundle/Application/63E4047A-DAD9-4B64-BE1F-AA4F1599C08D/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest: code signing blocked mmap() of '/private/var/containers/Bundle/Application/63E4047A-DAD9-4B64-BE1F-AA4F1599C08D/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest'
Triggered by Thread: 0
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Thread 0 Crashed:
0 dyld 0x00000001000e5cd8 0x1000c0000 + 154840
1 dyld 0x00000001000e5668 0x1000c0000 + 153192
2 dyld 0x00000001000e56b0 0x1000c0000 + 153264
3 dyld 0x00000001000c4514 0x1000c0000 + 17684
4 dyld 0x00000001000c69a8 0x1000c0000 + 27048
5 dyld 0x00000001000c1044 0x1000c0000 + 4164
May 3 21:25:40 iPhone ReportCrash(CrashReporterSupport)[489] <Notice>: Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016fd76170 x3: 0x00000000000000a5
x4: 0x000000016fd75d70 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x00000000000006d0
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x612e72656e6e7552 x11: 0x656d6172462f7070
x12: 0x582f736b726f7765 x13: 0x72662e7473655443 x14: 0x2f6b726f77656d61 x15: 0x0027747365544358
x16: 0x0000000000000209 x17: 0x00000000000bc000 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016fd75d70 x21: 0x00000000000000a5 x22: 0x000000016fd76170 x23: 0x0000000000000001
x24: 0x0000000000000006 x25: 0x00000001000f1ab8 x26: 0x00000001000f3bb8 x27: 0x4df3b83aa4ff0050
x28: 0x00000001000f1000 fp: 0x000000016fd75d40 lr: 0x00000001000e5668
sp: 0x000000016fd75d00 pc: 0x00000001000e5cd8 cpsr: 0x00000000
When started WDA UITests:
2017-05-03 14:39:01.130 xcodebuild[2732:11442] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.apple.test.WebDriverAgentRunner-Runner" UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.WebDriverAgentRunner-Runner, NSUnderlyingError=0x7fc37d959960 {Error Domain=DTXMessage Code=1 "(null)" UserInfo={DTXExceptionKey=The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.) : Failed to launch process with bundle identifier 'com.apple.test.WebDriverAgentRunner-Runner'}}}
2017-05-03 14:39:01.130 xcodebuild[2732:11442] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed: Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
My environment:
xcode 8.2.1
iOS 10.0
node 7.9.0
npm 4.2.0
carthage 0.22.0
libimobiledevice HEAD
Any ideas?
I fixed issue by re-downloading the WWDR (Apple Worldwide Developer Relations Certification Authority) and set its trust: 'use system default'.
Download from here: http://developer.apple.com/certificationauthority/AppleWWDRCA.cer

vim caught deadly signal SEGV

While using vim with pathogen and rails.vim it sometimes crashes vim. This is my console log file for the crash. How can I prevent this from happening?
Process: vim [16620]
Path: /usr/bin/vim
Identifier: vim
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: zsh [961]
Date/Time: 2011-08-31 08:20:25.727 +0800
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff832af5d6 __kill + 10
1 vim 0x0000000100118943 0x100000000 + 1149251
2 libSystem.B.dylib 0x00007fff832c166a _sigtramp + 26
3 vim 0x00000001000249a2 0x100000000 + 149922
4 vim 0x00000001000249ef 0x100000000 + 149999
5 vim 0x00000001000249ef 0x100000000 + 149999
6 vim 0x0000000100024a1c 0x100000000 + 150044
7 vim 0x00000001000249ef 0x100000000 + 149999
8 vim 0x000000010002554c 0x100000000 + 152908
9 vim 0x0000000100118b75 0x100000000 + 1149813
10 vim 0x000000010010c138 0x100000000 + 1098040
11 vim 0x0000000100069900 0x100000000 + 432384
12 vim 0x000000010006cf45 0x100000000 + 446277
13 vim 0x000000010006d1a3 0x100000000 + 446883
14 vim 0x000000010006d5d6 0x100000000 + 447958
15 vim 0x00000001000a475c 0x100000000 + 673628
16 vim 0x0000000100075bb8 0x100000000 + 482232
17 vim 0x0000000100077e22 0x100000000 + 491042
18 vim 0x0000000100000978 0x100000000 + 2424
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000002 rcx: 0x00000001001cdbc8 rdx: 0x0000000000000000
rdi: 0x00000000000040ec rsi: 0x000000000000000b rbp: 0x00000001001cdbe0 rsp: 0x00000001001cdbc8
r8: 0x0000000000000000 r9: 0x00007fff7073fbc0 r10: 0x00007fff832b1552 r11: 0x0000000000000206
r12: 0x0000000000000029 r13: 0x000000000000007c r14: 0x000000000000007c r15: 0x0000000000000044
rip: 0x00007fff832af5d6 rfl: 0x0000000000000206 cr2: 0x0000000101185000
Binary Images:
0x100000000 - 0x100155fef +vim ??? (???) <F8247F1F-4D43-963A-D218-3D0E8ECFF899> /usr/bin/vim
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff83260000 - 0x7fff83421fff libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <9BAEB2F2-B485-6349-E1AB-637FE12EE770> /usr/lib/libSystem.B.dylib
0x7fff85845000 - 0x7fff85849ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff85dcb000 - 0x7fff85e0afef libncurses.5.4.dylib 5.4.0 (compatibility 5.4.0) <E1F34D53-3D62-78C0-CAD8-8AD22C110A9E> /usr/lib/libncurses.5.4.dylib
0x7fff87ca5000 - 0x7fff87d9dff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <E0683DF0-8180-58A2-BA49-511111D4F36E> /usr/lib/libiconv.2.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <9BAEB2F2-B485-6349-E1AB-637FE12EE770> /usr/lib/libSystem.B.dylib
Ask brew to compile macvim with debugging flag set, then run it under a debugger so that when it crashes you can ask the debugger to print the stack trace so that you can see which source code line is trying to access deallocated memory area which causes the SIGSEGV exception.
If you managed to get it that far then see if you can fix the error and submit a patch to the vim-dev list and feel good about it for a week :) good luck!
Vim sometime will crash. If your ruby code are not well format.
process(:hello => 'world', :foo => 'bar')
You should not write as:
process(:hello => 'world',
:foo => 'bar')
In my case vim stopped working after mavericks installation. I tracked it down to an issue with rvm, which was also on my system. 'vim -u NONE' ran fine. There were many suggestions about recompiling command-T, a vim plugin, but doing so didn't fix the problem for me. I ended using 'rvm implode' to remove rvm altogether. Then 'brew uninstall vim && brew install vim'. This fixed vim, and also fixed macvim, which was not opening windows unlessed launched from the console with 'mvim'. Therefore, there is some incompatibility with mavericks and rvm, which causes problems with vim.
After hours of researching following different threads turns out there may be a ton of reasons causing vim to crash and getting that error message(not surprising!). But in my particular case after running it in verbose mode I realized there were stuff in my ~/.vimrc file that vim crashed because of. So very easily after removing my ~/.vimrc everything went back to normal and no more crashing. Just make sure you keep a back-up of it before removing in case you have customized your vim.

Resources