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.
Related
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.
I have an app based on Cordova, where I have added some native code. Now many clients reports to me app crash with this log:
{"timestamp":"2017-01-19 10:49:12.99 +0100","bug_type":"142","os_version":"iPhone OS 10.2 (14C92)","incident_id":"7E3CD91B-9427-4CB5-B3AC-D77E36D2912A"}
Date/Time: 2017-01-19 10:45:43 +0100
OS Version: iPhone OS 10.2 (Build 14C92)
Architecture: arm64
Report Version: 19
Command: MYAppName
Path: /var/containers/Bundle/Application/37EF43DB-708B-41CD-96C8-6793C90BE61C/MYAppName.app/MYAppName
Version: 1.0.2 (0.0.36)
Parent: launchd [1]
PID: 823
Event: wakeups
Wakeups: 45001 wakeups over the last 209 seconds (215 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Duration: 208.99s
Steps: 49
Hardware model: iPad4,2
Active cpus: 2
What is this "wakeups"? Serveces that wakeup the app when this is in background?
And if are these.. can be UIWebView?
There is a limitation of Safari, I also experienced the same pain especially on iPhone and iPad.
Also refer to:
https://stackoverflow.com/a/53183613/4468648
Updated my xcode this evening to 7.2.1 im running on yosemite 10.10.5
i've just started learning swift, and everytime i try to run the simulator it crashes with the error:
could not load inserted library '/usr/lib/libignitor2.dylib' because no suitable image found.
I have spent the last 4 hours searching online, there seems to be a few similar errors of inserted library missing but nothing that i can see that helps with this error. The full code can be seen below.
Process: Simulator [2907]
Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier: com.apple.iphonesimulator
Version: 9.2 (643)
Build Info: Indigo-643000000000000~28
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simulator [2907]
User ID: 501
Date/Time: 2016-09-10 03:00:48.102 +0100
OS Version: Mac OS X 10.10.5 (14F1912)
Report Version: 11
Anonymous UUID: 1ACB9325-E877-4FA4-FEBD-B9450D15E13A
Time Awake Since Boot: 10000 seconds
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylib
Dyld Error Message:
could not load inserted library '/usr/lib/libignitor2.dylib' because no suitable image found. Did find:
/usr/lib/libignitor2.dylib: mmap() error 1 at address=0x107DE9000, size=0x00001000 segment=__TEXT in Segment::map() mapping /usr/lib/libignitor2.dylib
Binary Images:
0x107da0000 - 0x107dccff7 com.apple.iphonesimulator (9.2 - 643) <2A577F90-517C-3363-A980-EEB79D21FEBF> /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
0x7fff65635000 - 0x7fff6566b92f dyld (353.2.4) <708E385E-50C6-32A3-983C-42E97BEE4346> /usr/lib/dyld
Model: MacBookPro12,1, BootROM MBP121.0167.B14, 2 processors, Intel Core i5, 2.7 GHz, 16 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: Internal Memory Card Reader
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Any help would be appreciated. thanks
You could try
sudo update_dyld_shared_cache -force
I'm trying to fix my beta but it appears to be trying to get after an update and this is the solution I"m working with. If it fails you can try
https://apple.stackexchange.com/questions/217232/trying-to-force-update-dyld-shared-cache-but-having-some-errors
I hope this is helpful
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.
I have an iOS app with the following (selected) build settings in XCode 4.0.1:
Architecture = Standard (armv6 armv7)
Base SDK = Latest iOS (iOS 4.3)
iOS Deployment Target = iOS3.1
Other linker flags = -lxml2 -weak-library /usr/lib/libSystem.B.dylib
Under Targets/Build Phases, I have libSystem.B.dylib as Optional (Link Binary With Libraries).
On a 1st gen iPod Touch, I'm getting the following results:
Debug Build, C/C++ Compiler Version = LLVM Compiler 2.0, all OK
Ad Hoc Release Build, C/C++ Compiler Version = GCC 4.2, all OK
Ad Hoc Release Build, C/C++ Compiler Version = LLVM GCC 4.2, all OK
Ad Hoc Release Build, C/C++ Compiler Version = LLVM Compiler 2.0, crash a few seconds after starting.
In case 4., the crash report looks like this:
Incident Identifier: 10B8B9C5-0FA5-4C83-AB13-4C3F59D5962D
CrashReporter Key: 29f7901a33e9b055c9034cd051902ea0c87e61f6
Process: TPE [1484]
Path: /var/mobile/Applications/4FA4C8CA-DB5D-4096-8458-C76382E68D02/TPE.app/TPE
Identifier: TPE
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-04-09 17:56:58.188 +1000
OS Version: iPhone OS 3.1.3 (7E18)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0000000000 0 + 0
Thread 1:
0 libSystem.B.dylib 0x00001488 mach_msg_trap + 20
1 libSystem.B.dylib 0x00004064 mach_msg + 60
etc.
The crash happens after a number of routines in my code have executed (I can see console output confirming it).
Does anyone have any ideas what would cause this to work under GCC4.2, but crash under LLVM2?
It's just a wild guess, but there was a compiler bug recently in llvm2 that made our app crash the same way. It only happened in release mode with full optimization and only on older devices (probably a specific processor). We switched back to gcc and everything was fine again. Apple updated their compiler in mean time which "fixes bugs for iOS", but we didn't test it yet.
The same problem still occurs with XCode 4.2 (4D199) when code is generated with Apple LLVM compiler 3.0.
AdHoc App works fine on iOS5 on simulator, iPad1 and iPhone4.
Same AdHoc code crashes on iPhone 3 and iPod3 on iOS 4.2.1 (8C148).
Debug code works fine on all platforms.
When the problem occurs the console log shows the following:
SpringBoard[25] <Warning>: Received memory warning. Level=1
MobileSafari[283] <Warning>: Received memory warning. Level=1
configd[23] <Notice>: jetsam: kernel memory event (93), free: 241, active: 1109, inactive: 760, purgeable: 0, wired: 7878
configd[23] <Notice>: jetsam: kernel termination snapshot being created
com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilesafari[0xc614]) Exited: Killed
com.apple.launchd[1] <Notice>: (UIKitApplication:com.myapp.test[0x47db]) Exited: Killed
SpringBoard[25] <Warning>: Application 'MyApp' exited abnormally with signal 9: Killed
Peak memory usage of the App is a couple Mb. The debug code never reaches a critical memory limit.
The problem disappears when either:
Optimization Level for AdHoc is set to None (-O0)
The compiler is changed to LLVM GCC 4.2
So far, extensive analyzes of code and memory management have not provided an indication what might be causing this. It seems like a compiler bug...