Cordova 2.6 / 2.7 iOS app timing out - ios

I have an app that I've been running successfully for the best part of a year built with Cordova 2.1. Recently I decided to start a new build with 2.6 and it runs fine on iOS 5, but not iOS 6. Went through the crash logs which all point to "[app] failed to launch in time". Unhelpfully it also has 'backtrace not available'.
To try to pin down what I'm doing wrong, I basically started from scratch - create a default Cordova app. However when I run that - just the very basic app that is created when you create a new project from the command line - it also has the same error. Get the splash screen, stalls and then crashes with the failed to launch in time error.
The apps run fine in the simulator, but when I run them on a device from Xcode or archive them and install them, nothin'.
Im using Cordova 2.7.0, Xcode 4.6.2 on OSX 10.7.5. If it helps, one of the full crash logs is below...
Incident Identifier: EDD1A74C-953F-4D66-9199-2D87E3AD9D3F
CrashReporter Key: e72939db0dce8f4abf935c5b5c7e2aa4a2a4b880
Hardware Model: iPhone3,1
Process: test01 [10376]
Path: /var/mobile/Applications/3AEE3B27-11B9-48FA-9190
A7A53BF78E48/test01.app/test01
Identifier: test01
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-05-01 11:00:55.046 +1000
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
[app] failed to launch in time
Elapsed total CPU time (seconds): 20.000 (user 20.000, system 0.000), 100% CPU
Elapsed application CPU time (seconds): 0.000, 0% CPU
Backtrace not available
Unknown thread crashed with unknown flavor: 5, state_count: 1
Binary Images:
0x2fe70000 - 0x2fe90fff dyld armv7 <280610df5ed43ec7aa00629a27009302> /usr/lib/dyld
Any help is greatly appreciated.

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 Simulator quit unexpectedly Xcode 10.1

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.

What is a fence-hang / handling fence / blown-fence error?

I had an iOS iPad app crash and got the following crash log from the Devices tab:
Date/Time: 2017-10-13 15:06:22 -0600
OS Version: iPhone OS 11.1 (Build 15B5066f)
Architecture: arm64
Report Version: 26
Data Source: KPerf Lightweight PET
Kernel Cache: 0xffffffe000000000 1C4A9D92-74B9-1F20-096E-27915D7A6C03
Reason: Fence-hang-Vocab: 505ms handling fence, blown-fence (fence duration=505ms)
Command: Vocab
Path: /private/var/containers/Bundle/Application/9F4A7C15-D23E-46C8-B724-84C57D83B455/Vocab.app/Vocab
Identifier: com.mycompany.Vocab
Version: 1.4.0 (420)
Parent: debugserver [1467]
PID: 1469
Duration: 0.55s
Steps: 11 (50ms sampling interval)
Hardware model: J71AP
Active cpus: 2
Any insight into what this error is and what causes it?
According to this Apple Developer Forums Thread, one cause of blown fence errors is due to high memory pressure.
The developer of the app in question might be able to monitor memory pressure of the app, which could be a cause for the app being terminated.

Xcode 6.1 quit unexpected due to the expired developer account?

Yesterday, I can run my project perfectly in xcode, but today when I open my project the xcode always quit unexpectedly. And my developer account expires today, and this app is built under my this expired account. I'm wondering is this the reason why the xcode quite unexpectedly?
Process: Xcode [1352]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1352]
User ID: 501
Date/Time: 2014-11-23 00:39:18.946 -0500
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 621A224C-863D-FF01-0409-8E03669992FE
Sleep/Wake UUID: 9C560417-B1A6-47C5-AA0D-7E5C5331F6FD
Time Awake Since Boot: 5500 seconds
Time Since Wake: 1800 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): The index 9223372036854771711 is invalid
UserInfo: (null)
Hints: None
Backtrace:
From what I can see of the crash log, its more likely just an invalid value somewhere. That index is a 64 bit number that is very big (0x7FFFFFFFFFFFEFFF) and would be in invalid if it was somehow passed to an array or something.
Its best to run /Applications/Utilities/Console and see if there there are any errors that came from Xcode. They may have more details.
Usually, if an account expires, associate apps are removed from the store and you can't access resources on the developer portal. I have not heard of Xcode stopping before.

xcode 5.0.1 crashes when I build and run an empty ios app

Xcode 5.0.1 crashes when I build and run an empty ios app.
How i can solve this?
And the Log are as follows:
Version: 5.0.1 (3335.23)
Build Info: IDEApplication-3335023000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [192]
Responsible: Xcode [600]
User ID: 501
Date/Time: 2014-03-17 19:36:09.442 +0800
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: FC8475E3-7090-9E79-B7E3-A079F66EB066
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7fb1ae158e50> from <IDERunPauseContinueToolbarButton: 0x7fb1ae158e50>
ProductBuildVersion: 5A2053
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB'
Follow the below steps:
Close all open applications
relaunch Finder
run sudo find / -name ".DS_Store" -exec rm {} \; This removes all .DS_Store old files on the computer
Launch finder and set default view to "LIST VIEW" as shown here: http://macs.about.com/od/usingyourmac/ss/Setting-Finder-Views-For-Folders-And-Sub-Folders_2.htm
Rerun the offending application and file chooser works
Hope this will work for you.
I downloaded the Mavericks OS from the App Store and reinstall my OS which was also Mavericks OS before.
After I finished it, every user files and apps just remain intact and the most important,
I solve the crashing problem.
Hope this will help others who have similar problem.

Resources