Chromium(64 bit) crashes on Android 9 when playing media

90 views
Skip to first unread message

Zuhair Zubair

unread,
Jun 21, 2019, 3:26:38 AM6/21/19
to Chromium-dev
Built Chromium 73.0.3683.75 for Android using these args:

target_os = "android"
target_cpu = "arm64"
is_debug = false
is_official_build = true
enable_remoting = true
is_component_build = false
is_chrome_branded = false
use_official_google_api_keys = false
enable_resource_whitelist_generation = true
enable_nacl = false
proprietary_codecs = true
ffmpeg_branding = "Chrome"
android_channel = "stable"

When playing videos either from youtube or any other site, native crash occurs. This occurs only on Android 9(Pie) on 64-bit version. 32-bit apk
built using the same args (with target_cpu = "arm") works fine on the same device.

CrashDump:-

Screenshot 2019-06-21 at 12.44.56 PM.png

Matthew Cary

unread,
Jun 21, 2019, 4:35:02 AM6/21/19
to zuha...@gmail.com, Chromium-dev
Thank you!

Please file a bug on crbug.com including the same information and screenshot. It would be helpful to provide exact urls to videos causing the error.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b8442035-1291-43bf-9691-0d7401a28e86%40chromium.org.

Satish Nada

unread,
May 11, 2021, 2:35:42 AM5/11/21
to Chromium-dev, matt...@chromium.org, Chromium-dev, zuha...@gmail.com
Hello Respected Zuhair Zubair,
We tried to build separate chromium build APK for android using Android studio for ARM 64 we able run project build but its not working on my Android device (ARM 64 ABI) its give error as i have attached images 

We followed below steps 
https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md

For build apk we user this
autoninja -C out/Default chrome_public_apk

We used below GN files for build project for ABI ARM64 configuration.


target_os = "android"
target_cpu = "arm64"
is_debug = false
android_channel = "stable"
is_official_build = true
is_component_build = false
is_clang = true
symbol_level = 0
blink_symbol_level=0
use_unofficial_version_number = false
v8_use_external_startup_data = true
fieldtrial_testing_like_official_build = true
icu_use_data_file = false
ffmpeg_branding = "Chrome"
proprietary_codecs = true
multidex_in_release = true
exclude_unwind_tables = true

The below is Android Gradle Configuration for NDK 

For ARM 64 
ndk {
       abiFilters 'arm64-v8a'
}

and added SO files in 'arm64-v8a' directory under jniLibs directory
as below files name 
jniLibs/arm64-v8a
                    libchrome.so
                    libchrome__combined.so
                    libchrome_crashpad_handler.so
                    libchrome_pak_allowlist_inputs.so
                    libchromium_android_linker.so

Can any one share solution for this or any suggestions to resolve this issue

Thank you very much in advance.
chromium error 1.jpg
chromium error 2.jpg
Reply all
Reply to author
Forward
0 new messages