Closed Bug 1115314 Opened 9 years ago Closed 9 years ago

[Flame][Message]Share a short music (.mp3/.acc) to message, tap the music to select listen, the music can't be played and the "<" button doesn't work.

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(b2g-v2.0 unaffected, b2g-v2.0M unaffected, b2g-v2.1 unaffected, b2g-v2.2 affected)

RESOLVED DUPLICATE of bug 1106624
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.0M --- unaffected
b2g-v2.1 --- unaffected
b2g-v2.2 --- affected

People

(Reporter: yue.xia, Unassigned)

Details

(Keywords: regression)

Attachments

(5 files)

Attached file logcat
[1.Description]:
[Flame][v2.2][Message]Launch Music and tap a short music file (.mp3/.acc) to play, share the music to message, tap the music to select listen, the music can't be played and the "<" button doesn't work. 
See attach: logcat_0149.txt & Video.MP4
Found time: 01:49

[2.Testing Steps]: 
1. Launch Music and tap a short music file (.mp3/.acc) to play.
2. Tap share icon and select messages;
3. Tap the attachment to select listen;

[3.Expected Result]: 
3. The music could be played normally and tap the "<" button. Device should go back to previous screen. 

[4.Actual Result]: 
3. The music can't be played and the "<" button doesn't work. 

[5.Reproduction build]: 
Gaia-Rev        c2da2bafd4e809317e2ca70c9bf5c11136a32818
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/0532f2509f3f
Build-ID        20141223010202
Version         37.0a1

[6.Reproduction Frequency]: 
Always Recurrence,5/5
TCID: Free test
Attached video Video
I don't know if this is related, but here is what I see in the logcat:

12-25 01:49:59.124 W/Music   ( 1820): [JavaScript Error: "ReferenceError: AudioMetadata is not defined" {file: "app://music.gaiamobile.org/gaia_build_defer_open.js" line: 397}]

12-25 01:49:59.124 W/Music   ( 1820): [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "AudioMetadata is not defined" {file: "app://music.gaiamobile.org/gaia_build_defer_open.js" line: 397}]'[JavaScript Error: "AudioMetadata is not defined" {file: "app://music.gaiamobile.org/gaia_build_defer_open.js" line: 397}]' when calling method: [nsIDOMSystemMessageCallback::handleMessage]" {file: "jar:file:///system/b2g/omni.ja!/components/SystemMessageManager.js" line: 93}]


12-25 01:50:06.144 W/Music   ( 1820): [JavaScript Error: "ReferenceError: AudioMetadata is not defined" {file: "app://music.gaiamobile.org/gaia_build_defer_open.js" line: 397}]


The error from the SMS app is not harmful.
QA, I have some more questions for you:

* the usual branch checks + possibly regression window

* Please tell me what happens if you replace step 3 with:
  3. press back, save draft
  4. open the draft
  5. Tap the attachment to select listen;

* Please also tell me what happens if you replace step 3 with:
  3. send message
  4. tap the attachment in the sent message

* If the bug still happens, can you try again the last STR after forcibly closing the application?

Thanks!
Attached file logcat_2216.txt
Hi Eric,
I have found a problem same like this issue, device can't play the music received via NFC when you tap "File received".
Could you help with it? Thanks!
STR:
Prerequisite: some music in Music app, 2 phones with NFC & Bluetooth.
1. Launch Music from device A.
2. Select a music send it via NFC to device B.
3. Tap "File received" on device B after received the music.
**Music can't be played when you tap "File received", but this music could be play by launching Music app.
4. Launch Music app and play music received via NFC.
**The music could be played normally.

Found time: 22:16
See attachment: 2216.MP4 and logcat_2216.txt
Rate:5/5

Flame 2.2 build:
Gaia-Rev        cb1dad4881533bff9f06d47e34983c7b10c04a8c
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/b17e7747d3fb
Build-ID        20141224010204
Version         37.0a1
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20141224.042955
FW-Date         Wed Dec 24 04:30:04 EST 2014
Bootloader      L1TC00011880
Flags: needinfo?(echang)
Attached video 2216.MP4
Summary: [Flame][v2.2][Message]Share a short music (.mp3/.acc) to message, tap the music to select listen, the music can't be played and the "<" button doesn't work. → [Flame][Message]Share a short music (.mp3/.acc) to message, tap the music to select listen, the music can't be played and the "<" button doesn't work.
Attached file Flame2.2 logcat
First Broken Environmental Variables:
Flame 2.2 build:
Gaia-Rev        1abe09b4925547699dfdb2d358aed019137c3aa6
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/6ce1b906c690
Build-ID        20141120040205
Version         36.0a1
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20141120.073331
FW-Date         Thu Nov 20 07:33:41 EST 2014
Bootloader      L1TC00011880

Case1: Replace step 3 with:
  3. press back, save draft
  4. open the draft
  5. Tap the attachment to select listen;
->The music can't be played and the "<" button doesn't work. 

Case2: Replace step 3 with:
  3. send message
  4. tap the attachment in the sent message
->The music can't be played and the "<" button doesn't work.

Case3: After forcibly closing the Music and Message applications, operate the step 5 in Case1 and the step 4 in Case2.
->The music can't be played and the "<" button doesn't work too. 
See attachment: Flame2.2_logcat_1447.txt
Repro time: 14:47	
Occurrence rate: 100%

The problem can NOT be repro on latest Flame 2.0/2.1
Flame 2.0 build:
Gaia-Rev        ce83ea7b8e3fa2d1c3fd771fc22b654c18b3c381
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4dd6d9b58f42
Build-ID        20141224000204
Version         32.0

Flame 2.1 build:
Gaia-Rev        17c7ad2e4919a994f0844239b483116090412dee
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/39dfb662c82a
Build-ID        20141224001203
Version         34.0
Hi Julien,
Please refer Comment#6, Could you please help with it, thanks!
Flags: needinfo?(felash)
Hi Sue, for NFC issue, we need another bug to discuss there, thanks
(In reply to Sue from comment #4)
> Created attachment 8541444 [details]
> logcat_2216.txt
> 
> Hi Eric,
> I have found a problem same like this issue, device can't play the music
> received via NFC when you tap "File received".
> Could you help with it? Thanks!
> STR:
> Prerequisite: some music in Music app, 2 phones with NFC & Bluetooth.
> 1. Launch Music from device A.
> 2. Select a music send it via NFC to device B.
> 3. Tap "File received" on device B after received the music.
> **Music can't be played when you tap "File received", but this music could
> be play by launching Music app.
> 4. Launch Music app and play music received via NFC.
> **The music could be played normally.
> 
> Found time: 22:16
> See attachment: 2216.MP4 and logcat_2216.txt
> Rate:5/5
> 
> Flame 2.2 build:
> Gaia-Rev        cb1dad4881533bff9f06d47e34983c7b10c04a8c
> Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/b17e7747d3fb
> Build-ID        20141224010204
> Version         37.0a1
> Device-Name     flame
> FW-Release      4.4.2
> FW-Incremental  eng.cltbld.20141224.042955
> FW-Date         Wed Dec 24 04:30:04 EST 2014
> Bootloader      L1TC00011880
Flags: needinfo?(echang)
Hi Dominic, Could you help to check this, thank you.

Reproducible from my handset.
(In reply to Shine from comment #6)
> Created attachment 8541464 [details]
> Flame2.2 logcat
> 
> First Broken Environmental Variables:
> Flame 2.2 build:
> Gaia-Rev        1abe09b4925547699dfdb2d358aed019137c3aa6
> Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/6ce1b906c690
> Build-ID        20141120040205
> Version         36.0a1
> Device-Name     flame
> FW-Release      4.4.2
> FW-Incremental  eng.cltbld.20141120.073331
> FW-Date         Thu Nov 20 07:33:41 EST 2014
> Bootloader      L1TC00011880
> 
> Case1: Replace step 3 with:
>   3. press back, save draft
>   4. open the draft
>   5. Tap the attachment to select listen;
> ->The music can't be played and the "<" button doesn't work. 
> 
> Case2: Replace step 3 with:
>   3. send message
>   4. tap the attachment in the sent message
> ->The music can't be played and the "<" button doesn't work.
> 
> Case3: After forcibly closing the Music and Message applications, operate
> the step 5 in Case1 and the step 4 in Case2.
> ->The music can't be played and the "<" button doesn't work too. 
> See attachment: Flame2.2_logcat_1447.txt
> Repro time: 14:47	
> Occurrence rate: 100%
> 
> The problem can NOT be repro on latest Flame 2.0/2.1
> Flame 2.0 build:
> Gaia-Rev        ce83ea7b8e3fa2d1c3fd771fc22b654c18b3c381
> Gecko-Rev      
> https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4dd6d9b58f42
> Build-ID        20141224000204
> Version         32.0
> 
> Flame 2.1 build:
> Gaia-Rev        17c7ad2e4919a994f0844239b483116090412dee
> Gecko-Rev      
> https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/39dfb662c82a
> Build-ID        20141224001203
> Version         34.0
Component: Gaia::SMS → Gaia::Music
Flags: needinfo?(dkuo)
(In reply to Eric Chang [:ericcc] [:echang] from comment #8)
> Hi Sue, for NFC issue, we need another bug to discuss there, thanks
> (In reply to Sue from comment #4)
> > Created attachment 8541444 [details]
> > logcat_2216.txt
> > 
> > Hi Eric,
> > I have found a problem same like this issue, device can't play the music
> > received via NFC when you tap "File received".
> > Could you help with it? Thanks!
> > STR:
> > Prerequisite: some music in Music app, 2 phones with NFC & Bluetooth.
> > 1. Launch Music from device A.
> > 2. Select a music send it via NFC to device B.
> > 3. Tap "File received" on device B after received the music.
> > **Music can't be played when you tap "File received", but this music could
> > be play by launching Music app.
> > 4. Launch Music app and play music received via NFC.
> > **The music could be played normally.
> > 
> > Found time: 22:16
> > See attachment: 2216.MP4 and logcat_2216.txt
> > Rate:5/5
> > 
> > Flame 2.2 build:
> > Gaia-Rev        cb1dad4881533bff9f06d47e34983c7b10c04a8c
> > Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/b17e7747d3fb
> > Build-ID        20141224010204
> > Version         37.0a1
> > Device-Name     flame
> > FW-Release      4.4.2
> > FW-Incremental  eng.cltbld.20141224.042955
> > FW-Date         Wed Dec 24 04:30:04 EST 2014
> > Bootloader      L1TC00011880

Hi Eric,
I think both of these are same root, when share a music, the shared music can't be played, so I have added the description here. I will open a new bug, thanks.
(In reply to Shine from comment #7)
> Hi Julien,
> Please refer Comment#6, Could you please help with it, thanks!

Thanks, this shows me that this is an issue either with Music or with the underlying Blob handling.

Shine, can you try a last thing for me? Can you see if the various cases work with an image instead of Music? If this works with an image then it's definitely an issue in Music. If this doesn't, then it's likely an issue in Gecko.

Thanks!
Flags: needinfo?(felash) → needinfo?(yue.xia)
(In reply to Julien Wajsberg [:julienw] (PTO 12/25 -> 12/29) from comment #11)
> Shine, can you try a last thing for me? Can you see if the various cases
> work with an image instead of Music? If this works with an image then it's
> definitely an issue in Music. If this doesn't, then it's likely an issue in
> Gecko.

Hi Julien,
The Case 1, Case 2 and Case 3 can work normally with image/video. 
Thanks.
Flags: needinfo?(yue.xia)
Thanks, definitely Music then.

Let's move this forward!
blocking-b2g: --- → 2.2?
This is a dupe of bug 1106624.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(pbylenga)
Resolution: --- → DUPLICATE
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Bug 1106624 should fix this so cancel the needinfo.
Flags: needinfo?(dkuo)
blocking-b2g: 2.2? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: