VirtualBox macOS Catalina Springboard quit unexpectedly [closed] - ios-simulator

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am new to this VirtualBox macOS thing and I am trying to run flutter with the IOS simulator, but when I try to open the IOS Simulator it takes a long time to load and an error comes up and says that the SpringBoard quit unexpectedly. I was wondering how I would be able to fix it? I already tried reinstalling it and the error still came up.
Process: SpringBoard [850]
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 [719]
Responsible: SimulatorTrampoline [714]
User ID: 501
Date/Time: 2020-06-13 18:56:35.137 -0700
OS Version: Mac OS X 10.15.3 (19D76)
Report Version: 12
Anonymous UUID: C3FC17E7-DC36-0C9B-B9ED-3D40775A17B0
Sleep/Wake UUID: 48BAAE61-7371-48CE-82D8-E10AFAEE7A5A
Time Awake Since Boot: 3400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [850]
Application Specific Information:
CoreSimulator 704.12.2 - Device: iPhone SE (2nd generation) (E13AD6AD-6437-4A57-B9F4-CAEC3FDBAD36) - Runtime: iOS 13.5 (17F61) - DeviceType: iPhone SE (2nd generation)
For the full error: https://pastebin.com/EKJkb5i7

I just had the same issue and solved it by executing the following commands in a Command Prompt with Admin privileges, to disable AVX/AVX2 support for my virtual machine (Make sure to shutdown the VM and close Virtualbox before and replace "YourVMName" with the actual name of your VM in VirtualBox)
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage setextradata "YourVMName" VBoxInternal/CPUM/IsaExts/AVX 0
VBoxManage setextradata "YourVMName" VBoxInternal/CPUM/IsaExts/AVX2 0

I have the same issue with iOS 13.3 simulators. I couldn't solve the problem, but devices with older iOS (I tried with 11.4) working fine. (You can create simulator devices with older iOS in the Device Manager.)

SIGILL usually means you hit a __builtin_trap() or you are trying to execute an instruction that isn't supported by your CPU.
Given this is in some HEVC processing, I suspect your VM is advertising support for some SIMD extension it doesn't actually support (eg: AVX2 or similar).
You should check your VM configuration and ensure it is not advertising support for CPU extensions your system doesn't actually support, and you should file a bug against VirtualPC to ensure they have checks in place to prevent that in the first place.

Related

BizTalk 2013 R2 CU 8 instalaltion [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
While installing the Microsoft BizTalk Server 2013 R2 Cumulative update 8 to one BizTalk group, the setup fails because of some issue in MQSeries and Microsoft.BizTalk.GlobalPropertySchemas. No errors or issues could be spotted at the Event log. Even on another BizTalk server (with almost identical installation) was successful. Please refer to the log information below. Please share tips what to investigate.
Creating Process to execute script: "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 HRESULT=0
Execution of Script "C:\Windows\system32\cmd.exe" /c BtsDeploySystemAssemblyTask.exe /assembly:MQSeries /version:3.0.1.0 failed. HRESULT=0x80004005
****************************** Processing MQSeries migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of MQSeries
SQL Exception occured. An error occured while adding MQSeries
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
Incorrect Assembly no. and/or Version no. mentioned. Exiting.
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Apply patch: Server="SQL\BTS", Database="BizTalkMgmtDb", Script="C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe".
"C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Creating Process to execute script: "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" HRESULT=0
Execution of Script "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall4052527\CAWrapper.exe" 2 3.11.297.2 SQL\BTS BizTalkMgmtDb EXE "BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas" failed. HRESULT=0x80004005
CAWrapper: Argument count: 6
CAWrapper: cuNum: 2, btsVer: 3.11.297.2, servername: SQL\BTS, databasename: BizTalkMgmtDb, command: EXE
CAWrapper: cmdArg#0: BtsDeploySystemAssemblyTask.exe /assembly:Microsoft.BizTalk.GlobalPropertySchemas
CAWrapper: Entering isDbVersionLower
CAWrapper: Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BizTalkMgmtDb;Data Source=SQL\BTS
CAWrapper: No DB Version info found so assuming DB Version is lower.
CAWrapper: DB Version in SQL\BTS, BizTalkMgmtDb is lower so need to run command.
CAWrapper: Entering callEXE
CAWrapper: Calling BtsDeploySystemAssemblyTask.exe with args /assembly:Microsoft.BizTalk.GlobalPropertySchemas
****************************** Processing Microsoft.BizTalk.GlobalPropertySchemas migration from Registry to Database ******************************
Server = SQL\BTS Database = BizTalkMgmtDb
Taking Backup of tables
Getting Id of Microsoft.BizTalk.GlobalPropertySchemas
SQL Exception occured. An error occured while adding Microsoft.BizTalk.GlobalPropertySchemas
Multiple entries of assembly available. Version is not mentioned
Multiple entries of assembly available. Version is not mentioned
CAWrapper: Call to BtsDeploySystemAssemblyTask.exe returned
CAWrapper: Failure calling BM.exe. ExitCode was 1
CAWrapper: Exiting...
HRESULT=0
Failed to apply patch. HRESULT=0x80004005
Abort distributed transaction.
Failed to patch one or more BizTalk databases. See log for details. (HRESULT=0x80004005)
The custom action returned -2147467259.
One of the custom actions failed. The installation cannot continue. See log for details.
After some investigation with SQL Profiler on the BizTalk management database (BizTalkMgmtDb) I found some duplicate records present in bts_assembly. After removing the duplicate ones (wich do not have references to bts_item table) the CU was installed without any issue.

Failed to find "gl.h" on macOS 11.3

I've got XCode 12.5 up and running on macOS 11.3 (M1 chip) in Github Actions as a self-hosted runner.
While my macOS workflow is able to find gl.h in the github-hosted machine just fine, my own self-hosted one reports this:
CMake Error at /Users/administrator/actions-runner/_work/Mudlet/Qt/5.14.2/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Error: Failed to find "gl.h" in
"/System/Library/Frameworks/OpenGL.framework/Headers;/System/Library/Frameworks/AGL.framework/Headers".
Call Stack (most recent call first):
/Users/administrator/actions-runner/_work/Mudlet/Qt/5.14.2/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:202 (include)
3rdparty/vcpkg/scripts/buildsystems/vcpkg.cmake:555 (_find_package)
/Users/administrator/actions-runner/_work/Mudlet/Qt/5.14.2/clang_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:94 (find_package)
3rdparty/vcpkg/scripts/buildsystems/vcpkg.cmake:555 (_find_package)
/Users/administrator/actions-runner/_work/Mudlet/Qt/5.14.2/clang_64/lib/cmake/Qt5UiTools/Qt5UiToolsConfig.cmake:219 (find_package)
3rdparty/vcpkg/scripts/buildsystems/vcpkg.cmake:555 (_find_package)
3rdparty/edbee-lib/edbee-lib/CMakeLists.txt:177 (FIND_PACKAGE)
The code responsible is this line:
FIND_PACKAGE(Qt5UiTools REQUIRED)
What could be the reason that gl.h is not locatable?
I got this problem when I updated to MacOS Big Sur (11.6.2) when trying to make a qt app.
This was the error I got:
CMake Error at /usr/local/Qt-5.5.1/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "gl.h" in
"/System/Library/Frameworks/OpenGL.framework/Headers;/System/Library/Frameworks/AGL.framework/Headers".
Call Stack (most recent call first):
/usr/local/Qt-5.5.1/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:139 (include)
My google-fu found this from 2019 [https://github.com/ziglang/zig/issues/2208]
https://github.com/ziglang/zig/issues/2208 :
The new path to the framework is:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
I looked, and gl.h was found in several places, including OpenGL.framework.
As a work-around, I changed the library path in /usr/local/Qt-5.5.1/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 from:
set(_GL_INCDIRS "/System/Library/Frameworks/OpenGL.framework/Headers" "/System/Library/Frameworks/AGL.framework/Headers")
to:
set(_GL_INCDIRS "/System/Library/Frameworks/OpenGL.framework/Headers" "/System/Library/Frameworks/AGL.framework/Headers" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks")
running on macOS 11.3 (M1 chip) in Github Actions as a self-hosted runner.
Try again with the latest version of self-hosted runners, since (Aug. 2022):
GitHub Actions: Self-hosted runners now support Apple M1 hardware
Actions runner support for Apple silicon hardware, such as the M1 chip, is now generally available.
This provides teams with the capability to run self-hosted macOS workflows in a macOS ARM64 runtime.
Now the Actions runner supports M1 and the ARM64 runtime meaning developers can run it on their own M1 or M2 hardware.
Based on initial testing, there are currently two issues to be aware of:
macOS ARM64 does not support node12.
Therefore, the runner will automatically use node16 to execute any javascript Action written for node12.
All actions provided by GitHub are compatible with the runner except for a known issue with setup-python. The fix for that can be tracked here.
For additional information on how to set up a self-hosted macOS ARM64 runner, please refer to our documentation.
If you have any feedback or questions for Actions self-hosted Apple silicon support, you can submit an issue in the runner repository.

VS BlankCordovaApp Won't Run on Emulator

Recently installed VS 2015 Community Update 3 in Windows 10 Pro 32 bit. For the past couple days I have been playing with Cordova, but can not get it to work correctly.
I tried:
Redirect index.html hack.
Clearing cache in TACO settings
Repaired VS
This text is from the build log / VS / emulator / debug log / me.
Build: Warning: No emulator specified, defaulting to AVD_GalaxyNexus_ToolsForApacheCordova
Build: Failed to create Context 0x3005
VS: There were deployment errors. Continue?
Me: If I click Yes
Build: Debug is starting
Emulator: "The connection to the server was unsuccessful. (file:///android_assset/www/index.html)"
Me: App appears 3 times on emulator
Me: Breakpoints don't work. In the Debug log I see many messages "Cannot find or open the PDB file."
Me: Build log says the app was installed but Deploy failed?
Build:
Installing apk C:/Users/pears/Documents/Visual Studio 2015/Projects/BlankCordovaApp1/platforms/android/build/outputs/apk/android-debug.apk on emulator-5554...
INSTALL SUCCESS
Unlocking screen...
Running command "input keyevent 82" on emulator-5554...
Starting application "io.cordova.myapp6178b0/.MainActivity" on emulator-5554...
Running command "am start -W -a android.intent.action.MAIN -nio.cordova.myapp6178b0/.MainActivity" on emulator-5554...
LAUNCH SUCCESS
Executing "after_run" hook for all plugins.
Warning: No emulator specified, defaulting to AVD_GalaxyNexus_ToolsForApacheCordova
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Me: I don't see any errors in the build log.
Update 7.22.2016
I created a new Azure VM (Windows 2012 R2 Datacenter, 64 bit, 2 core Intel 2.2, 7 GB RAM) and installed VS 2015 and Cordova. From the AVD manager, the base emulator started up fine. However, the deploy still failed for a blank Cordova project. I saw the white Cordova screen saying it was connecting to device. Then the same message "The connection to the server was unsuccessful. (file:///android_assset/www/index.html)". Maybe the Redirect index.html hack will help. I didn't try.
Next, I Installed the stand-alone Android Studio in my desktop Windows 10 VM for more options with the AVD and SDK. Immediately, it tells me my CPU doesn't support VT-x. Makes sense - it's an AMD processor. I started the AVD GalaxyNexus ToolsForApacheCordova emulator anyway and it never finished loading. It targets API 19, Android 4.4, and arm CPU. I tried upgrading to API 23 which refused to run and says:
Intel HAXM is required to run this AVD.
Your CPU does not support required features (VT-x or SVM).
Unfortunately, your computer does not support hardware accelerated virtualization.
Here are some of your options:
1) Use a physcal device for testing
2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX
3) Develop on a Linux computer that supports VT-x or SVM
4) Use an Android Virtual Device based on an ARM system image
(This is 10x slower than hardward accelerated virtualization)
It seems like VS failed to create an Android Virtual Device. You can create one in the version of Android Studio that VS installs on your machine. The default location is in "C:\Users[usename]\AppData\Local\Android\sdk\". Click on "Avd Manager" and create a device. Make sure its the only device created--any existing ones may be broken. Then, go back to VS and click "Android -> Build to Google Android emulator".
FYI--if you have Hyper V enabled (you are using a Windows Phone emulator), you should be selecting the ARM system image.

memory error, but only on device running ios 8

My app running on an iPhone 4 iOS 8.3 gets this error:
2016-06-26 19:09:22.587 Skyline Flora[4498:949043] *** Terminating app
due to uncaught exception 'RLMException', reason: 'mmap() failed:
Cannot allocate memory size: 671088640 offset: 0'
*** First throw call stack:
(0x29cd5d67 0x37534c77 0x2318db 0x211d03 0x21231b 0x212c41 0x2113fd
0x15354f 0x153133 0x152fbf 0xbea6b 0x2d17a705 0x2d2245a5 0x2d2244cd
0x2d223a51 0x2d22378b 0x2d2234f1 0x2d223489 0x2d177c1f 0x2cba2f65
0x2cb9e951 0x2cb9e7d9 0x2cb9e1c7 0x2cb9dfd1 0x2d3dba5d 0x2d3dc7f5
0x2d3e6c39 0x2d3dac2b 0x304470e1 0x29c9c60d 0x29c9b8d1 0x29c9a06f
0x29be7981 0x29be7793 0x2d1deb87 0x2d1d9981 0xbfa1b 0x37ad0aaf)
libc++abi.dylib: terminating with uncaught exception of type
NSException
It only happens on the device, it's fine in the simulator (Xcode 7.3).
The phone has 18GB free when the app is run.
This error has shown up in the past, as can be found easily with a search, but on writes; this app only reads the database, never writes.
There's no problem on iOS 9 devices.
What's the next thing to check?
The Realm file is mmaped whether it is opened as read-only or read-write. Unfortunately, this is probably an issue inherent to the resource constraints of the iPhone 4/4S. We've seen issues with mmap ranging from files as small as 300 MB, depending on the device.
You can check out this Github issue for some potential workarounds.

Uncaught exception in PassengerServer client thread

on a CentOS Linux release 6.0 (Final), I've this problem with passenger 3.0.9:
[ pid=3332 thr=16838960 file=abstract_request_handler.rb:466 time=2011-11-16 23:54:10.795 ]: Accepting new request on main socket
[ pid=2894 thr=139811053770496 file=ext/nginx/HelperAgent.cpp:933 time=2011-11-16 23:54:10.958 ]: Uncaught exception in PassengerServer client thread:
exception: write() failed: Connection reset by peer (104)
backtrace:
in 'void Client::forwardResponse(Passenger::SessionPtr&, Passenger::FileDescriptor&, const Passenger::AnalyticsLogPtr&)' (HelperAgent.cpp:705)
in 'void Client::handleRequest(Passenger::FileDescriptor&)' (HelperAgent.cpp:859)
in 'void Client::threadMain()' (HelperAgent.cpp:952)
[ pid=4135 thr=16838960 file=abstract_request_handler.rb:466 time=2011-11-16 23:54:12.710 ]: Accepting new request on main socket
What can be? Im sure my app works well because on others machines haven't problems, I tried also passenger edge and latest nginx. The app is a 2.3.11 rails application.
Found myself, we need to remove proxy_temp files, this probably because upgrading from a version of nginx to another break somethings. So my solution (for now):
rm -rf /etc/nginx/proxy_temp/*
What is the maximum number of open files allowed on your system? You can check that using ulimit -n. Could you please check if increasing that value in /etc/sysctl.conf helps you?

Resources