SIGABRT android::ACodec::setupNativeWindowSizeFormatAndUsage - Huawei Devices
Open
Nobody has claimed this yet.
bug: device specific
needs triage
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Media3 Version
ExoPlayer 2.18.2
Devices that reproduce the issue
This crash happens on many different Huawei phones:
- HUAWEI P30 lite (MAR-LX1A)
- Honor 9X (STK-LX3)
- STK-L21
- HUAWEI P smart 2019 (POT-LX1)
- HUAWEI P30 lite (MAR-LX3A)
Devices that do not reproduce the issue
We almost never see this crash on devices from other manufactures (Samsung, etc...).
Reproducible in the demo app?
No
Reproduction steps
We're seeing crash reports from the field. We were unable to reproduce this with a HUAWEI P30 lite device.
Expected result
No crash
Actual result
Crash.
SIGABRT: Abort program
0 libc.so +0x7066c abort
1 libstagefright.so +0x85044 abort_with_message(char const*)
2 libstagefright.so +0x8507c __ubsan_handle_sub_overflow_minimal_abort
3 libstagefright.so +0x9af8c android::ACodec::setupNativeWindowSizeFormatAndUsage(ANativeWindow*, int*, bool)
4 libstagefright.so +0xa59d0 android::ACodec::configureOutputBuffersFromNativeWindow(unsigned int*, unsigned int*, unsigned int*, bool)
5 libstagefright.so +0xa461c android::ACodec::allocateOutputBuffersFromNativeWindow()
6 libstagefright.so +0xa24b0 android::ACodec::allocateBuffersOnPort(unsigned int)
7 libstagefright.so +0xa1f30 android::ACodec::OutputPortSettingsChangedState::onOMXEvent(OMX_EVENTTYPE, unsigned int, unsigned int)
8 libstagefright.so +0x99be8 android::ACodec::BaseState::onOMXMessage(android::sp<android::AMessage> const&)
9 libstagefright.so +0x98c48 android::ACodec::BaseState::onMessageReceived(android::sp<android::AMessage> const&)
10 libstagefright.so +0xa1930 android::ACodec::OutputPortSettingsChangedState::onMessageReceived(android::sp<android::AMessage> const&)
11 libstagefright.so +0xc3b64 android::AHierarchicalStateMachine::handleMessage(android::sp<android::AMessage> const&)
12 libstagefright.so +0x99584 android::ACodec::BaseState::onOMXMessageList(android::sp<android::AMessage> const&)
13 libstagefright.so +0x9899c android::ACodec::BaseState::onMessageReceived(android::sp<android::AMessage> const&)
14 libstagefright.so +0xa1930 android::ACodec::OutputPortSettingsChangedState::onMessageReceived(android::sp<android::AMessage> const&)
15 libstagefright.so +0xc3b64 android::AHierarchicalStateMachine::handleMessage(android::sp<android::AMessage> const&)
16 libstagefright_foundation.so +0x17458 android::AHandler::deliverMessage(android::sp<android::AMessage> const&)
17 libstagefright_foundation.so +0x1ce68 android::AMessage::deliver()
18 libstagefright_foundation.so +0x18764 android::ALooper::loop()
19 libutils.so +0x136ec android::Thread::_threadLoop(void*)
20 libc.so +0xcf7bc __pthread_start(void*)
21 libc.so +0x721a4 __start_thread
Media
It's unclear what was being played during that triggered the crash.
Bug Report
- You will email the zip file produced by
adb bugreportto dev.exoplayer@gmail.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.