Closed Bug 1245670 Opened 8 years ago Closed 6 years ago

[Aries] crash in pthread_mutex_lock_impl | pthread_rwlock_timedrdlock

Categories

(Core :: Audio/Video: Playback, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE
blocking-b2g 2.6?
Tracking Status
b2g-v2.5 --- unaffected
b2g-master --- affected

People

(Reporter: KTucker, Unassigned)

Details

(Keywords: crash, regression, reproducible, Whiteboard: [2.6-Daily-Testing][Spark])

Crash Data

Attachments

(2 files)

This bug was filed from the Socorro interface and is 
report bp-887ae155-b716-4feb-9713-071512160203.
=============================================================

Repro Steps:
1) Update a Aries to 20160203105933
2) Open the video app. 
3) Tap on a video to play it.
4) While the video is playing, repeatedly go in and out of card view. 

Actual:
The video app will crash if the user goes in and out of card view repeatedly while watching a video.

Expected:
The video app does not crash when going in and out of card view while watching a video.

Environmental Variables:
Device: Aries 2.6 (Full Flash)(KK)
Build ID: 20160203105933
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: f2f8fc172f4c62334e9a92bcf10e00fe877387d5
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 46.0a1 (2.6)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0

Repro frequency: 5/5, 100%
See attached: video clip, logcat,

Frame 	Module 	Signature 	Source
0 	libc.so 	pthread_mutex_lock_impl 	/home/worker/workspace/B2G/bionic/libc/bionic/pthread.c:588
1 	libc.so 	pthread_rwlock_timedrdlock 	/home/worker/workspace/B2G/bionic/libc/bionic/pthread-rwlocks.c:228
2 	libxul.so 	android::RWLock::readLock() 	/home/worker/workspace/B2G/system/core/include/utils/RWLock.h:105
3 	libxul.so 	android::MediaCodecProxy::releaseOutputBuffer(unsigned int) 	/home/worker/workspace/B2G/system/core/include/utils/RWLock.h:62
4 	libxul.so 	android::MediaCodecProxy::ReleaseMediaBuffer(android::MediaBuffer*) 	dom/media/omx/MediaCodecProxy.cpp
5 	libxul.so 	mozilla::GonkVideoDecoderManager::ReleaseAllPendingVideoBuffers() 	dom/media/platforms/gonk/GonkVideoDecoderManager.cpp
6 	libstagefright_foundation.so 	android::ALooperRoster::deliverMessage(android::sp<android::AMessage> const&) 	/builds/slave/b2g_m-cen_flm-kk_eng_ntly-0000/build/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp:148
7 	libstagefright_foundation.so 	android::ALooper::loop() 	/builds/slave/b2g_m-cen_flm-kk_eng_ntly-0000/build/frameworks/av/media/libstagefright/foundation/ALooper.cpp:213
8 	libutils.so 	android::Thread::_threadLoop(void*) 	/builds/slave/b2g_m-cen_flm-kk_eng_ntly-0000/build/system/core/libutils/Threads.cpp:770
9 	libutils.so 	thread_data_t::trampoline(thread_data_t const*) 	/builds/slave/b2g_m-cen_flm-kk_eng_ntly-0000/build/system/core/libutils/Threads.cpp:95
10 	libc.so 	__thread_entry 	/home/worker/workspace/B2G/bionic/libc/bionic/pthread_create.cpp:105
11 	libc.so 	pthread_create 	/home/worker/workspace/B2G/bionic/libc/bionic/pthread_create.cpp:224
QA Whiteboard: [QAnalyst-Triage?][severe]
Component: Audio/Video → Gaia::System::Window Mgmt
Product: Core → Firefox OS
Whiteboard: [2.6-Daily-Testing][Spark]
Flags: needinfo?(jmercado)
Keywords: reproducible
This does not occur on Flame 2.6 and Aries 2.5

The video app does not crash when going in and out of card view while watching a video.

Device: FlameKK 2.6 [Full Flash] [512MB]
BuildID: 20160203030235
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: f2f8fc172f4c62334e9a92bcf10e00fe877387d5
Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
Version: 46.0a1 (2.6)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0

Device: Aries 2.5 (Full Flash)(KK)
BuildID: 20160129164833
Gaia: 2caf834f638eaeb442e536d811bd161a6414ebcb
Gecko: c6ad35a70c45df5f74fe31eaf8e69b4c1851db5e
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 44.0 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
blocking-b2g: --- → 2.6?
Summary: crash in pthread_mutex_lock_impl | pthread_rwlock_timedrdlock → [Aries] crash in pthread_mutex_lock_impl | pthread_rwlock_timedrdlock
Reproducible crash that is a regression.  Let's get a window here.
QA Whiteboard: [QAnalyst-Triage?][severe] → [QAnalyst-Triage+][severe]
Flags: needinfo?(jmercado)
Component: Gaia::System::Window Mgmt → Audio/Video
Product: Firefox OS → Core
QA Contact: jthomas
Attached video IMG_3842.3gp
A window for this issue cannot be found.  It is a gaia issue but it is first seen after bug 1225465 is fixed which means that it was pushed to gaia when build were pulling the incorrect revision.  It does not happen before bug 1225465 began.

First Broken 
Environmental Variables:
Device: Aries 2.6
BuildID: 20151118145443
Gaia: cba7e4b86361af31b153cfebaf99900e0b860f7b
Gecko: fc29bf8b72a0d1712a051cb549694471f495bfd1
Version: 45.0a1 (2.6) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
QA Whiteboard: [QAnalyst-Triage+][severe] → [QAnalyst-Triage?][severe]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?][severe] → [QAnalyst-Triage+][severe]
Flags: needinfo?(ktucker)
Component: Audio/Video → Audio/Video: Playback
We're not supporting Firefox OS any more, so this is unlikely to see new work. Closing as incomplete.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: