Closed
Bug 862974
Opened 12 years ago
Closed 12 years ago
crash in [@ __libc_android_abort | __android_log_assert | android::OMXCodec::onCmdComplete ]
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.1 unaffected)
RESOLVED
WORKSFORME
| blocking-b2g | leo+ |
| Tracking | Status | |
|---|---|---|
| b2g18 | --- | fixed |
| b2g18-v1.0.1 | --- | unaffected |
People
(Reporter: nhirata, Assigned: gsvelto)
Details
(Keywords: crash, reproducible, Whiteboard: [b2g-crash], u=fx-os-user c=may-6-17 p=1)
Crash Data
This bug was filed from the Socorro interface and is
report bp-fcb81609-a34b-4f4c-b43d-6ae7d2130417 .
=============================================================
0 libc.so __libc_android_abort abort.c:82
1 liblog.so __android_log_assert logd_write.c:246
2 libstagefright.so android::OMXCodec::onCmdComplete OMXCodec.cpp:3419
3 libstagefright.so android::OMXCodec::onEvent OMXCodec.cpp:3278
4 libstagefright.so android::OMXCodec::on_message OMXCodec.cpp:2966
5 libstagefright.so android::OMXCodecObserver::onMessage OMXCodec.cpp:325
6 libmedia.so android::BnOMXObserver::onTransact IOMX.cpp:778
7 libbinder.so android::BBinder::transact Binder.cpp:107
8 libbinder.so android::IPCThreadState::executeCommand IPCThreadState.cpp:1028
9 libbinder.so android::IPCThreadState::joinThreadPool IPCThreadState.cpp:468
10 libbinder.so android::PoolThread::threadLoop ProcessState.cpp:67
11 libutils.so android::Thread::_threadLoop Threads.cpp:834
12 libutils.so thread_data_t::trampoline Threads.cpp:127
13 libc.so __thread_entry pthread.c:217
14 libc.so pthread_create pthread.c:357
## Environment :
Master build :2013-04-17-03-06-35
"mozilla-central" revision="50ab959f4bd1"
"integration/gaia-central" revision="f7235663cfcb"
"gecko.git" revision="4fdfb0d252a2ecd11c9f338174f33f8aa0726dba"
"gaia.git" revision="e3696dee033b6c0d8f77ebb59b99c3f29b6ff79e"
Unagi
## Repro :
1. launch video app
2. switch to camera app via the menu options
3. take a picture
## Expected :
no crash
## Actual :
crash
## Note :
happens in leo device as well:
https://crash-stats.mozilla.com/report/index/0778185b-9cdb-410f-abef-4dac82130417
Gecko http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/6bac24e14538
Gaia c883af5ecd0998f78d9aaa4c2337c842e1dbb5a0
BuildID 20130416070200
Version 18.0
Leo
v1.0.1 doesn't have this option in video
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [b2g-crash]
Updated•12 years ago
|
OS: Android → Gonk (Firefox OS)
Hardware: All → ARM
| Reporter | ||
Comment 1•12 years ago
|
||
This crash doesn't seem to happen on v1.1 unagi. Not sure why.
Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/d1b2e28b303f
Gaia 3774a756e70ec322d363b49d29fea43c5b214cff
BuildID 20130417070204
Version 18.0
Comment 2•12 years ago
|
||
Blocking since this seems to be specific to leo device.
blocking-b2g: leo? → leo+
Keywords: reproducible
Updated•12 years ago
|
Component: Gaia::Video → General
Updated•12 years ago
|
Assignee: nobody → gsvelto
Whiteboard: [b2g-crash] → [b2g-crash], u=fx-os-user c=may-6-17 p=0
Updated•12 years ago
|
Whiteboard: [b2g-crash], u=fx-os-user c=may-6-17 p=0 → [b2g-crash], u=fx-os-user c=may-6-17 p=1
| Assignee | ||
Comment 3•12 years ago
|
||
I still haven't got a working build for my Leo so I'm trying to reproduce the issue on my Unagi as in the original crash but couldn't for now.
Looking at the code it seems that this might be caused by some kind of race condition, the failing line being this assertion:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libstagefright/OMXCodec.cpp;h=7a57834fb5317b692f3f596996af7789f04006a2;hb=eb2bc75803ca179353c24c364a9c8a8ce23e8b78#l3419
CHECK_EQ((int)mPortStatus[portIndex], (int)DISABLING);
Looking at the code setting that particular state it seems that we might be sending the wrong OMX message (or sending something out-of-order) so that we end up in an inconsistent state which then triggers the assertion. If that's the case then this shouldn't be device specific.
| Assignee | ||
Comment 4•12 years ago
|
||
I've finally managed to flash my Leo devices with the latest nightly build (leo-mozilla-b2g18-20130520230207-ril01.01.00.019.099.zip) and tried reproducing this. I applied the STR ten times without being able to reproduce the problem; in order to exercise it more I even loaded a bunch of videos in the SD-card so that the video app would be busy creating previews for a while but this didn't make it crash either. Testing again with the latest builds on the Unagi didn't yield any crashes either so I'm closing as WORKSFORME; please re-open if this crops up again.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•