IOS Simulator quit unexpectedly Xcode 10.1 - ios

After running automation tests via Appium in parallel (8 concurrent IOS simulators) I can't run simulator anymore. Reason still is not clear. I tried to reinstall Xcode (v10.1 v9.4), recovered Mac OS, used killall -10 com.apple.CoreSimulator.CoreSimulatorService . When I run simulator there it error message:
Simulator quit unexpectedly
Process: Simulator [1439]
Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier: com.apple.iphonesimulator
Version: 10.1 (877)
Build Info: Indigo-877000000000000~218
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simulator [1439]
User ID: 502
Date/Time: 2019-01-12 16:19:15.922 +0300
OS Version: Mac OS X 10.14.2 (18C54)
Report Version: 12
Bridge OS Version: 3.3 (16P53132a)
Anonymous UUID: 746485C4-4AA2-44F7-C299-5A58EB4FD0C5
Time Awake Since Boot: 170 seconds
System Integrity Protection: enabled
Crashed Thread: 7 Dispatch queue: com.apple.iphonesimulator.deviceCoordinatorQueue.457B5DF1-903C-41E0-A9B7-42D97AC96569
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000070000b351fe8
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [1439]
VM Regions Near 0x70000b351fe8:
Stack 000070000b2cf000-000070000b351000 [ 520K] rw-/rwx SM=COW thread 6
--> STACK GUARD 000070000b351000-000070000b352000 [ 4K] ---/rwx SM=NUL stack guard for thread 7
Stack 000070000b352000-000070000b3d4000 [ 520K] rw-/rwx SM=COW thread 7
Interesting point: when I run Appium test there is still the same error but test is passed as it looks like Simulator still works in headless.
Approximately same issue I have found there but it is a little bit different https://shirome9.wordpress.com/2016/11/27/xcode-quit-unexpectedly/
Do you have any idea ?

I don't know the real cause of the issue, but I got resolved by restarting and opening with different simulator.

Related

Bitnami Dolibarr stack not opening after upgrade to Mac OS Ventura

I am using Bitnami Dolibarr for 1 year now. But after upgrading to Mac OS Ventura 6-7 days back, this app is not opening. Whenever I double click the app icon on MacBook it bounces in dock once and then stops and nothing happens.
I have 1 more MacBook and when I tried the same on that laptop, it opens up without any problem.
I have lots and lots of data in Dolibarr and I am very much worried about the app not opening. Please guide and advise, I'll be very much grateful to you
Edit: I've noticed that terminal window is showing error 'KILLED: 9'
I've tried using upx -d 'path to binary' but it is also throwing exception 'NotPackedException: not packed by UPX'
Edit: Crash log as below:
Translated Report (Full Report Below)
Process: stackman [1094]
Path: /Applications/Dolibarr.app/Contents/MacOS/stackman
Identifier: stackman
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [1077]
Responsible: Terminal [1075]
User ID: 501
Date/Time: 2022-10-31 11:47:29.4718 +0530
OS Version: macOS 13.0 (22A380)
Report Version: 12
Bridge OS Version: 7.0 (20P411)
Anonymous UUID: D7611551-90A0-B366-94D3-AA9098948BAA
Time Awake Since Boot: 970 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_GUARD (SIGKILL)
Exception Codes: GUARD_TYPE_MACH_PORT
Exception Codes: 0x0000000000000d5a, 0x0000000000000000
Termination Reason: Namespace GUARD, Code 2305843022098599258
Please advise.

iOS EXC_BAD_ACCESS Crash on Nativescript app

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!

iOS 11, Unity3d random startup crash

There are 2 unity games developed by different developers (one 2D and another 3D).
They work fine while started in XCode and work fine on iOS 10.
But when downloaded from Appstore to iOS 10 and iOS got upgraded to iOS 11 then app start randomly crash.
Usually it crashes 3 times then start working. On some devices it does not crash at all or other devices it randomly crashes when games start.
Crashlogs have 2 types of errors:
Error 1
Date/Time: 2017-09-26 09:52:53.6413 -0400
Launch Time: 2017-09-26 09:52:50.4289 -0400
OS Version: iPhone OS 11.0 (15A372)
Baseband Version: 6.17.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x0000000105000000
VM Region Info: 0x105000000 is in 0x105000000-0x1069c4000; bytes after start: 0 bytes before end: 27017215
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_SMALL 0000000104800000-0000000105000000 [ 8192K] rw-/rwx SM=PRV
---> mapped file 0000000105000000-00000001069c4000 [ 25.8M] r--/r-- SM=ALI
MALLOC_LARGE 00000001069c4000-00000001069c8000 [ 16K] rw-/rwx SM=PRV
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [0]
Triggered by Thread: 0
Error 2
OS Version: iPhone OS 11.0 (15A372)
Baseband Version: 6.17.00
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, process-exit watchdog transgression: bundleid exhausted real (wall clock) time allowance of 5.00 seconds | | Elapsed total CPU time (seconds): 9.360 (user 9.360, system 0.000), 94% CPU | Elapsed application CPU time (seconds): 2.920, 29% CPU |
Triggered by Thread: 0
Also I noticed that Tumblr app similarly crashed 3 times on startup after iOS 11 Beta -> iOS 11 release update.
Unity3D 5.5 was used to develop these 2 games.
Upgrading to Unity 2017.1 p3 (patch 3) from Unity3D 5.5 fixed most bugs.
We had few bugs in Unity 2017.1 f1 (f3)

iOS Simulator Crash in xcode 5.1

Simulator crash occurs frequently while running app and also using in build app like maps , safari , settings etc.. .
The error response is shared below
Process: iPhone Simulator [2454]
Path: /Applications/Xcode 5.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator
Identifier: com.apple.iphonesimulator
Version: 7.1 (463.9.41)
Build Info: Indigo-463009041000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [182]
Responsible: iPhone Simulator [2454]
User ID: 850824327
Date/Time: 2014-07-30 14:47:41.082 +0530
OS Version: Mac OS X 10.9.3 (13D65)
Report Version: 11
Anonymous UUID: F291053A-A0B0-6AF4-1BF0-5D6C2199246F
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001
VM Regions Near 0x1:
-->
__TEXT 00000001082b4000-00000001082f2000 [ 248K] r-x/rwx SM=COW /Applications/Xcode 5.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff88f2a702 -[NSThemeFrame
Reset Content and Settings of your simulator and try again. If it doesn't work try this : delete the derived data from Xcode folder in this path : user/lib/xcode/derived data.

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