iOS EXC_BAD_ACCESS Crash on Nativescript app - ios

We've made an Android and iOS app and send this through some testing. Our tests found no bugs however when sending it to the App store we got denied and returned a crashlog. I however can't find the bug with the information given.
Can anybody help me translate this crashlog? I've already looked at the Apple Documentation Archive but found no usefull help here.
The header of the crashlog is as follows:
{"app_name":"RealityKeeper","timestamp":"2018-09-11 14:18:30.81 -0700","app_version":"1.0","slice_uuid":"261b3ad9-a8bf-3281-a674-cb1501ddcaea","adam_id":1432593416,"build_version":"1.1","bundleID":"org.nativescript.RealityKeeper","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.4 (15F79)","incident_id":"CF7FD300-AED5-4D15-9F74-21F668D25C02","name":"RealityKeeper"}
Incident Identifier: CF7FD300-AED5-4D15-9F74-21F668D25C02
CrashReporter Key: ba49afbd7a6c374bc5099303e3a251a30ac3555e
Hardware Model: xxx
Process: RealityKeeper [10712]
Path: /private/var/containers/Bundle/Application/3619F4D9-601D-4A05-8F9C-EB7FE9AED112/RealityKeeper.app/RealityKeeper
Identifier: org.nativescript.RealityKeeper
Version: 1.1 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: org.nativescript.RealityKeeper [3565]
Date/Time: 2018-09-11 14:18:30.6327 -0700
Launch Time: 2018-09-11 14:18:27.3888 -0700
OS Version: iPhone OS 11.4 (15F79)
Baseband Version: 6.60.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000deaddead
VM Region Info: 0xdeaddead is not in any region. Bytes before following region: 561914195
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 00000001002c0000-00000001002c4000 [ 16K] r-x/r-x SM=COW ...RealityKeeper
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thanks for any help you can give!

Related

xcode simulator crash with some dyld error

I can run my app on device but when I run it on simulator, I got an error, how can I run it on a simulator?
xcode version: 12.1
simulator version: 14.1
I can't lunch the simulator now
Process: SpringBoard [8490]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: SpringBoard
Version: 1.0 (50)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [8020]
Responsible: SimulatorTrampoline [784]
User ID: 501
Date/Time: 2020-11-04 18:33:21.811 +0800
OS Version: Mac OS X 10.15.7 (19H2)
Report Version: 12
Anonymous UUID: 4B907FF2-14B6-5989-E5EB-360FD491CCA0
Time Awake Since Boot: 5400 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x5] Code Signature
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/apple/Library/Developer/CoreSimulator/Caches/dyld/19H2/com.apple.CoreSimulator.SimRuntime.iOS-14-1.18A8394
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
Dyld Error Message:
Library not loaded: /System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaLibraryCore.framework/MediaLibraryCore
Reason: no suitable image found. Did find:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform: code signature invalid for '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform'
Binary Images:
0x10286f000 - 0x102875fff com.apple.springboard (1.0 - 50) <5E08B57A-06BC-3482-9CD7-3E821C3DBD85> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreServices/SpringBoard.app/SpringBoard

React Native, runs fine while react-native run-ios, crashing when deployed via testflight

So I'm a bit stuck here, my app runs fine whilst running locally via metro bundler react-native run-ios...
However when its deployed via testflight and I enter a particular screen I get a crash and the following crash report:
{"app_name":"myApp","app_cohort":"2|date=1540402200000&sf=143444&tid=bb84ca05a7be8e2da05f0db328a2ba46d76ab3285e3658175938c5ca87d6cd0f&ttype=i","app_version":"1.0","timestamp":"2018-10-24 18:37:52.73 +0100","slice_uuid":"2c0e8da0-b543-3014-808a-e0e35880f848","adam_id":1440030197,"build_version":"15","bundleID":"org.deliver.my.stuff.myApp","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"68871235-3982-4B92-954B-E7205263E4E1","is_beta":true,"name":"myApp"}
Incident Identifier: 68871235-3982-4B92-954B-E7205263E4E1
Beta Identifier: D6077464-5670-4488-A863-51B4947CDF37
Hardware Model: iPhone9,3
Process: myApp [832]
Path: /private/var/containers/Bundle/Application/AB5305E3-6C91-48FE-89C7-CB5F6706A6DC/myApp.app/myApp
Identifier: org.deliver.my.stuff.myApp
Version: 15 (1.0)
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: org.deliver.my.stuff.myApp [783]
Date/Time: 2018-10-24 18:37:52.6426 +0100
Launch Time: 2018-10-24 18:37:49.7676 +0100
OS Version: iPhone OS 11.3.1 (15E302)
Baseband Version: 2.03.12
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
(0x1841ded8c 0x1833985ec 0x1004fef20 0x1004fc9e0 0x1841e6580 0x1840c5748 0x1840ca56c 0x10051296c 0x100556de0 0x100556b40 0x183ad0b24 0x183ad0ae4 0x183adaa38 0x183adb380 0x183adbd4c 0x183ae411c 0x183e03e70 0x183e03b08)
myApp is just a name I've replaced the actual name of the app with - like I said it runs fine but I'm not quite sure how to decode this crash report?
I thought the backtrace should show the exception but it doesn't appear to?

Xcode crashes when dragging the UI elements from storyboard

As title.
When I drag and drop the UI elements to my viewcontroller.swift then click "connect", it always crashes. I have cleaned the project and restart the computer but the problem is still there.
Strangely, the Xcode wouldn't crash in the new project.
Can anybody help me? Thanks
Crash film: https://www.youtube.com/watch?v=UP-ufW53slM
This is the crash report.
Process: Xcode [1692] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 7.3 (10183.3) Build Info:
IDEFrameworks-10183003000000000~2 App Item ID: 497799835 App
External ID: 816750016 Code Type: X86-64 (Native)
Parent Process: ??? [1] Responsible: Xcode [1692]
User ID: 501
Date/Time: 2016-07-13 14:32:44.972 +0800 OS Version:
Mac OS X 10.11.5 (15F34) Report Version: 11 System Integrity
Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 7D175 UNCAUGHT
EXCEPTION (NSInvalidArgumentException): +[IDESwiftSourceCodeGenerator
isTeardownCounterpart:]: unrecognized selector sent to class
0x113617ec0 UserInfo: (null) Hints: None
Logical CPU: 0 Error Code: 0x0100001f Trap Number: 133
VM Region Summary: ReadOnly portion of Libraries: Total=555.5M
resident=0K(0%) swapped_out_or_unallocated=555.5M(100%) Writable
regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%)
unallocated=1.2G(100%)
Model: MacBookAir3,1, BootROM MBA31.0061.B07, 2 processors, Intel Core
2 Duo, 1.6 GHz, 4 GB, SMC 1.67f10 Graphics: NVIDIA GeForce 320M,
NVIDIA GeForce 320M, PCI, 256 MB Memory Module: BANK 0/DIMM0, 2 GB,
DDR3, 1067 MHz, 0x80AD, 0x484D54333235533642465238412D47372020
Please check multiple outlet connected to same object .
Xcode->StoryBoard->OutletCollection->Referencing outlet. Remove all and reconnect

iOS app crashing on iPhone 6 [iOS version : 8.4] device with exception EXC_BAD_ACCESS (SIGSEGV)

iOS app crashing on iPhone 6 [iOS version : 8.4] device with exception
EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000008a8302b7f , but its working in iPhone 6 simulator and other apple devices with same os version:
Hardware Model: iPhone7,2
Process: digitalAGENCY [1056]
Path: /private/var/mobile/Containers/Bundle/Application/8F3C89F0-98DB-45F9-94BB-FE80E9DECE3F/digitalAGENCY.app/digitalAGENCY
Identifier: com.evero.services
Version: 3.3 (3.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-07-22 10:45:49.352 -0400
Launch Time: 2015-07-22 10:45:07.207 -0400
OS Version: iOS 8.4 (12H143)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000008a8302b7f Triggered by Thread: 0

Xcode 5.0.2 crashes on start-up (OSAKit plugin - code signature invalid)

Today Xcode is crashing for me every time I start it up. When I last used it last week it was working fine and I haven't changed anything.
I've tried reinstalling Xcode but it has made no difference. Does anybody have any ideas how I can get it working again?
Process: Xcode [1062]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
App Item ID: 497799835
App External ID: 106632651
Code Type: X86-64 (Native)
Parent Process: launchd [260]
Responsible: Xcode [1062]
User ID: 501
PlugIn Path: /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
PlugIn Identifier: com.apple.OSAKit
PlugIn Version: 1.4 (89)
Date/Time: 2014-01-14 14:09:05.686 +0000
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: B2D995CA-38C1-0B1C-DA4E-8DD870BE2A37
Crashed Thread: 0 Dispatch queue: DVTPlugInExtensionFaultingLock
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
VM Regions Near 0x7fff7692ee40 (cr2):
__DATA 00007fff7691b000-00007fff76920000 [ 20K] rw-/rwx SM=COW /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
--> __DATA 00007fff76920000-00007fff76936000 [ 88K] rw-/rwx SM=COW /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
__DATA 00007fff76936000-00007fff76937000 [ 4K] rw-/rwx SM=COW /usr/lib/system/libsystem_m.dylib
Application Specific Information:
ProductBuildVersion: 5A3005
As pointed out by trojanfoe in the comment above, the OSAKit framework had become corrupted somehow. Copying an uncorrupted version of the files from another machine fixed the problem.

Resources