Closed Bug 870953 Opened 11 years ago Closed 11 years ago

[B2G][Gallery][Email] Email application crashes and closes when sharing a picture over the email

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 802643

People

(Reporter: sarsenyev, Unassigned)

Details

(Whiteboard: [b2g-crash], inarirun2)

Attachments

(1 file)

Attached file email.log
Description:
Email crashes, when a user is sharing the picture over the email, if the email address is typed manually.

Repro Steps:
1) Updated to Inari Build ID: 20130510070203
2) Set up email account
3) Open "Gallery" app from the Home screen
4) Choose and image and tap on "share with" option
5) Choose "share with E-mail"
6) Type "Hotmail" address in the email address field
7) Click on "Send"

Actual:
The image is sent and delivered but the email app crashes and closes.

Expected:
The email is sent and the email application is opened.

Environmental  Variables:
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/bbc0b0135f2c
Gaia: 0da4aa20a755007d0b983dadd9e2a8252195c223

Notes:
Repro frequency: 90%
This bug reproduces 4/5 times
Also reproduces with Unagi V1.1 build
Unagi Build ID: 20130510070207
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/2aba3b5ac1c2
Gaia: fcaa90923894211c19b3544b5cb16eb0db5a6286
Version 18.0

The issue reproduces only with manually typed addreses
Different domains was used : Hotmail.com, Yahoo.com, Gmail.com
Q Analysts Test Team Priority: (Priority Levels: Pri 2
See attached logcat for more info
Severity: normal → critical
Keywords: crash
Whiteboard: [b2g-crash]
Whiteboard: [b2g-crash] → [b2g-crash], inarirun2
QA Wanted for the following reasons:

1. Does this reproduce on 1.01?
2. Is this a crash or an OOM?
** Crash = you would get a crash reporter dialog or crash notification
** OOM = no notification, app just closes adruptly
3. If it's a crash, can include a crash report URL?
Keywords: qawanted
Hi, Sarsenyev,

I used unagi to reproduce this case with the build you mentioned(Build ID: 20130510070207)

Do you mean that the Firefox OS UI didn't go back to e-mail app after sending out the e-mail?
If yes, I think it is not a bug, and it was a product behavior/feature.
The "E-mail" app is called by "Gallery" app and the "E-mail" app is a temporary system process at the moment. The "E-mail" app should be closed after sending out the e-mail. I don't know why you expect that the Firefox UI should return to "E-mail" app.
"But", we can challenge a behavior, why didn't Firefox OS UI return to "Gallery" app instead of home screen?

I recorded my test steps. FYI.
https://dc1.beta.safesync.com/LMkZZWPw/E-Mail_Behavior.3gp?a=47ioAEMjL3g

By the way, you can use iOS to do the test, you will get the similiar behavior.
If I misunderstood anything, please correct me directly.
Thanks!
-------------------------------------------------------------------------------------

Hi, Jason,

In reply to your questions,

1. Does this reproduce on 1.01?
   =>> Yes. But I think it was a behavior.
2. Is this a crash or an OOM?
   =>> OOM
** Crash = you would get a crash reporter dialog or crash notification
** OOM = no notification, app just closes abruptly.
3. If it's a crash, can include a crash report URL?
   ==> NA
Thanks! ^.^
In this use case, I believe email closing is correct (maybe some sort of email sent successfully message prior to closing should be presented).  However, we should be returning to gallery instead of the home screen.

Who do we ask for UX input here?
Keywords: qawanted
(In reply to Tracy Walker [:tracy] from comment #3)
> In this use case, I believe email closing is correct (maybe some sort of
> email sent successfully message prior to closing should be presented). 
> However, we should be returning to gallery instead of the home screen.
> 
> Who do we ask for UX input here?

I'd recommend that we ask Andrew for his opinion here on this.
Flags: needinfo?(bugmail)
I tested this on yesterday's 1.0.1 and V1 train builds and I don't see any issues with sharing pictures from Gallery. Everything seems to behave as expected. In my case after I send the email I am returned to the email app. Tested with:

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/a3a49f8d101e
Gaia   42c448bf7baed154b20ead388de2fd9dd25936f6
BuildID 20130521070210
Version 18.0

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/762354023009
Gaia   c51082d92f18c4c7cdbc4f96c977be735500562a
BuildID 20130521070208
Version 18.0
blocking-b2g: leo? → ---
Keywords: crash
logcat shows only gmail, not the hotmail that was stated in comment 0.  Please attach the full logcat.
Flags: needinfo?(sarsenyev)
This is bug 802643.  The "easy" fix is for activities to let us transfer control back to the original app (assuming it didn't get out-of-memory killed).
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(bugmail)
Resolution: --- → DUPLICATE
Flags: needinfo?(sarsenyev)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: