Closed Bug 708521 Opened 13 years ago Closed 6 years ago

Correctly abort when interrupted by Android 'Cancel Sync'

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P5)

defect

Tracking

(fennec+)

RESOLVED WONTFIX
Tracking Status
fennec + ---

People

(Reporter: rnewman, Unassigned, Mentored)

References

Details

12-07 21:23:58.054 D/SyncManager( 61): setSyncAutomatically: , provider browser -> false 12-07 21:23:58.634 D/dalvikvm( 376): GC_CONCURRENT freed 891K, 40% free 5122K/8519K, external 1625K/2137K, paused 5ms+4ms 12-07 21:23:58.664 I/SyncAdapter( 376): Waiting on sync monitor interrupted. 12-07 21:23:58.664 I/SyncAdapter( 376): java.lang.InterruptedException 12-07 21:23:58.664 I/SyncAdapter( 376): at java.lang.Object.wait(Native Method) 12-07 21:23:58.664 I/SyncAdapter( 376): at java.lang.Object.wait(Object.java:358) 12-07 21:23:58.664 I/SyncAdapter( 376): at org.mozilla.android.sync.syncadapter.SyncAdapter.onPerformSync(SyncAdapter.java:179) 12-07 21:23:58.664 I/SyncAdapter( 376): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164) 12-07 21:23:58.844 D/SyncManager( 61): handleSyncHandlerMessage: sync context doesn't match, dropping: mActiveSyncContext null != startTime 416463, mTimeoutStartTime 416463, mHistoryRowId 2, syncOperation authority: browser account: Account {name=rnewman+testandroid@mozilla.com, type=account.type.sync} extras: [upload=true ] syncSource: 1 when: 361375 expedited: false 12-07 21:24:02.614 D/BaseResource( 376): Adding auth header Authorization: Basic YzZvN2R2bXIyYzR1ZDJmeXY2d296MnU0emkyMmJjeWQ6cGFzc3dvcmQ= 12-07 21:24:06.174 D/dalvikvm( 135): GC_EXPLICIT freed 73K, 48% free 3118K/5895K, external 4738K/5563K, paused 1117ms 12-07 21:24:11.755 D/dalvikvm( 376): GC_CONCURRENT freed 1162K, 42% free 5250K/8903K, external 1625K/2137K, paused 7ms+6ms
tracking-fennec: --- → ?
tracking-fennec: ? → +
Priority: -- → P3
Implementing "Cancel Sync" correctly would address the root cause of Bug 760068.
Priority: P3 → --
Summary: Correctly abort when interrupted → Correctly abort when interrupted by Android 'Cancel Sync'
Need to address this eventually.
Priority: -- → P2
Product: Mozilla Services → Android Background Services
Whiteboard: [mentor=rnewman]
Mentor: rnewman
Whiteboard: [mentor=rnewman]
Priority: P2 → P4
Product: Android Background Services → Firefox for Android
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: P4 → P5

This is still reproducible on the latest Nightly build.
Device: Huawei P6(Android 6.0.1).

We're never going to fix this. It's likely that the a-s Sync 1.5 stack will have very different cancellation mechanics.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.