Closed Bug 919440 Opened 11 years ago Closed 11 years ago

There have some errors in refCount(In MmsService.js)

Categories

(Core :: DOM: Device Interfaces, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 917167

People

(Reporter: sync-1, Assigned: airpingu)

Details

Attachments

(6 files)

(deleted), text/plain
Details
(deleted), text/plain
Details
(deleted), image/x-png
Details
(deleted), application/octet-stream
Details
(deleted), application/octet-stream
Details
(deleted), application/octet-stream
Details
DEFECT DESCRIPTION: I think there have some errors in refCount(In MmsService.js), please help to confirm it. 1. Send the first mms A , the refCount is zero in function acquire, if another mms B is sent before A send successful, the refCount will up to 1, then after A send successful, the refCount will decrease to zero in the function release, and there will set a delay to release MMS network (onDisconnectTimerTimeout), but mms B still not send successful (I think it's an error). If the onDisconnectTimerTimeout is called before B send success, here will occur an error, the second MMS unable send successful. 2. Send a mms A successful, send another mms B before onDisconnectTimerTimeout is called, if onDisconnectTimerTimeout is called before the mms B send successfull, then will occur an error, the mms B unable send successful. (I think it's an error that in onDisconnectTimerTimeout not judge refCount) 3. Continuously send mms, if some error occur in XHR, in xhr.onerror will call releaseMmsConnectionAndCallback, and in xhr.onreadystatechange will also call releaseMmsConnectionAndCallback, then refCount will be reduce twice, it's an error. REPRODUCING PROCEDURES: EXPECTED BEHAVIOUR: ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Clone from brother
Attached file 17A+FG,JRDLOG (deleted) —
Clone from brother
Attached file 17A+FG-NEW LOG (deleted) —
Clone from brother
Clone from brother
Attached image PIC (deleted) —
Clone from brother
Attached file trace1 (deleted) —
Clone from brother
Attached file trace2 (deleted) —
Clone from brother
Attached file trace3_fail (deleted) —
Component: Gaia::SMS → DOM: Device Interfaces
Product: Boot2Gecko → Core
Summary: [Buri][T-mobile 51612][MMS]The device cannot send MMS → There have some errors in refCount(In MmsService.js)
Thanks for catching this! Really appreciate. After some thoughts, I think I'll still use the original bug 917167 to fix this issue since it's indeed causing a kind of failure of sending MMS. Really sorry for letting you open this bug again. I'll close this one when bug 917167 is fixed. Thank you!
Assignee: nobody → gene.lian
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: