[NFC] Trying to send more then one file at a time from one device to another causes them all to fail

RESOLVED WONTFIX

Status

Firefox OS
NFC
RESOLVED WONTFIX
4 years ago
5 months ago

People

(Reporter: RobertM, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

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

Details

(Whiteboard: [2.1-exploratory-3], URL)

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8513891 [details]
Flame2.1logcat.txt

Description:
If you send a file to a secondary device via NFC then, while it's sending, send another file to the same device, after a moment, both files will fail.
  
Prereq:
Have 2 devices with NFC enabled. Make sure 1 device has a few video and music files.
 
Repro Steps:
1) Update a Flame device to BuildID: 20141029001202
2) On device A, open the 'Video' app and choose a video
3) NFC transfer the video to device B
4) On device A, while the video is transferring, open the 'Music' app 
5) Select a song and NFC transfer it to device B
  
Actual:
After a moment, both file transfers will fail.
  
Expected: 
Either the transfers should queue, or only the second transfer should fail with an error message like "There is a transfer already in progress".
  

Flame 2.1(319mb)(KitKat)(Full Flash)

Environmental Variables:
Device: Flame 2.1
BuildID: 20141029001202
Gaia: eb0aab0f13c78c7ac378ad860e865c4b6eaf669f
Gecko: 318019f80a8e
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 34.0 (2.1)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
  
  
Repro frequency: 100%
See attached: logcat, video - http://youtu.be/tTUTTybQIn8
(Reporter)

Comment 1

4 years ago
This issue also occurs on Flame 2.0(319mb) and Flame 2.2(319mb)

If you transfer a file to a device via NFC then, using the same device, transfer another file, both file transfers will fail.


Flame 2.0

Device: Flame 2.0 (319mb)(Kitkat Base)(Full Flash)
BuildID: 20141029000205
Gaia: 9f5b6f025e528fabfcc068782cb9b492cb51a7f9
Gecko: de8cfd54bf93
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 32.0 (2.0)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


Flame 2.2

Device: Flame 2.2 Master (319mb)(Kitkat Base)(Full Flash)
BuildID: 20141029040208
Gaia: 35e87ac4324f0f3abd93dcc70d61c9f37256a0f5
Gecko: 7e3c85754d32
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 36.0a1 (2.2 Master)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(dharris)
Seems related to Bug 1080923
Blocks: 933640
It seems bad that the both the file transfers are failing. NI NFC/Bluetooth owner to see if this should be blocking, and if it is the same issue as bug 1080923 as mentioned in comment 2
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris) → needinfo?(ashiue)

Comment 4

4 years ago
This is dup bug 998175, and according to bug 998175 comment 20, until now, there is no way to avoid the race condition for multiple incoming file requests.
Flags: needinfo?(ashiue)

Comment 5

5 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.