Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get arm64-v8a emulator up and running on macos UniversalExceptionRaise: (os/kern) failure (5) #380

Open
JuscaMolaiwa opened this issue Feb 20, 2024 · 0 comments

Comments

@JuscaMolaiwa
Copy link

The emulator is successfully created,however on launch it crashes.

2024-02-20T10:55:14.2113280Z Available Android Virtual Devices:
2024-02-20T10:55:14.2131940Z Name: Pixel_6_Pro
2024-02-20T10:55:14.3135310Z Device: pixel_6_pro (Google)
2024-02-20T10:55:14.3427850Z Path: /Users/runner/.android/avd/Pixel_6_Pro.avd
2024-02-20T10:55:14.3430280Z Target: Default Android System Image
2024-02-20T10:55:14.3483170Z Based on: Android 10.0 (Q) Tag/ABI: default/arm64-v8a
2024-02-20T10:55:14.3516580Z Sdcard: 512 MB
2024-02-20T10:55:14.3602800Z ----------------------------------------------------------------------------------------------------------------------
2024-02-20T10:55:14.3676970Z Emulator Path: /Users/runner/Library/Android/sdk/tools/emulator
2024-02-20T10:55:14.3717080Z Launching the Pixel_6_Pro emulator
2024-02-20T10:55:14.3797630Z ----------------------------------------------------------------------------------------------------------------------
2024-02-20T10:55:14.5618950Z * daemon not running; starting now at tcp:5037
2024-02-20T10:55:15.2649830Z WARNING | Please update the emulator to one that supports the feature(s): Vulkan
2024-02-20T10:55:15.6677300Z WARNING | FeatureControl is requesting a non existing feature.
2024-02-20T10:55:17.2164280Z I0220 10:55:17.216054 a682600 HealthMonitor.cpp:279] HealthMonitor disabled.
2024-02-20T10:55:17.3113070Z I0220 10:55:17.310862 a682600 FrameBuffer.cpp:486] Graphics Adapter Vendor Google (Apple Inc.)
2024-02-20T10:55:17.4116260Z I0220 10:55:17.310895 a682600 FrameBuffer.cpp:487] Graphics Adapter Android Emulator OpenGL ES Translator (Apple Software Renderer)
2024-02-20T10:55:17.4513170Z I0220 10:55:17.310901 a682600 FrameBuffer.cpp:488] Graphics API Version OpenGL ES 2.0 (2.1 APPLE-19.5.1)
2024-02-20T10:55:17.4540410Z I0220 10:55:17.310905 a682600 FrameBuffer.cpp:489] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_EXT_color_buffer_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888
2024-02-20T10:55:17.4559250Z I0220 10:55:17.310910 a682600 FrameBuffer.cpp:490] Graphics Device Extensions N/A
2024-02-20T10:55:17.5630420Z INFO | Storing crashdata in: , detection is enabled for process: 6198
2024-02-20T10:55:17.6491130Z INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
2024-02-20T10:55:17.6716180Z INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) ((null):0, (null))
2024-02-20T10:55:17.7032030Z INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() ((null):0, (null))
2024-02-20T10:55:17.8035040Z INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) ((null):0, (null))
2024-02-20T10:55:17.8105150Z INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() ((null):0, (null))
2024-02-20T10:55:17.8150860Z library_mode host gpu mode host
2024-02-20T10:55:17.8249410Z INFO | Warning: QCssParser::parseHexColor: Unknown color name '#FFFFFFs' ((null):0, (null))
2024-02-20T10:55:17.8337220Z WARNING | /etc/localtime does not point to zoneinfo-compatible timezone name
2024-02-20T10:55:17.8416630Z WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port
2024-02-20T10:55:17.8447530Z INFO | Using security allow list from: /Users/runner/Library/Android/sdk/emulator/lib/emulator_access.json
2024-02-20T10:55:17.8516430Z WARNING | *** Basic token auth should only be used by android-studio ***
2024-02-20T10:55:17.8538790Z INFO | The active JSON Web Key Sets can be found here: /Users/runner/Library/Caches/TemporaryItems/avd/running/6198/jwks/10a58059-8f35-47da-b127-93c04c2b0459/active.jwk
2024-02-20T10:55:17.8554360Z INFO | Scanning /Users/runner/Library/Caches/TemporaryItems/avd/running/6198/jwks/10a58059-8f35-47da-b127-93c04c2b0459 for jwk keys.
2024-02-20T10:55:17.8591860Z INFO | Started GRPC server at 127.0.0.1:8554, security: Local, auth: +token
2024-02-20T10:55:17.8624890Z INFO | Advertising in: /Users/runner/Library/Caches/TemporaryItems/avd/running/pid_6198.ini
2024-02-20T10:55:17.8648390Z * daemon started successfully
2024-02-20T10:55:17.8681170Z Emulator is not yet booted. Please wait...
2024-02-20T10:55:17.8712590Z List of devices attached
2024-02-20T10:55:17.8788800Z emulator-5554 offline
2024-02-20T10:55:17.8844580Z
2024-02-20T10:55:17.9259390Z [6204:28880:20240220,105517.925555:WARNING crash_report_exception_handler.cc:235] UniversalExceptionRaise: (os/kern) failure (5)
2024-02-20T10:55:22.7547960Z /Users/runner/work/1/s/pipelines/setup/android/macos/SettingAVD&Emulator.sh: line 60: 6198 Segmentation fault: 11 "$emulator_executable" -avd "Pixel_6_Pro" -gpu host -no-audio -netfast -no-snapshot

Please see the logs attached:
5_Set AVD&Emulator📱.txt
4_Install AndroidSDK ⚙️.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant