Closed
Bug 861994
Opened 12 years ago
Closed 12 years ago
Sync pairing crashes fennec in 23.0a1 2013-04-15
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 861658
People
(Reporter: gene, Unassigned)
Details
(Keywords: crash, stackwanted, Whiteboard: [native-crash])
Attachments
(3 files)
86.72 KB,
text/plain
|
Details | |
4.72 KB,
patch
|
Details | Diff | Splinter Review | |
20.54 KB,
patch
|
Details | Diff | Splinter Review |
23.0a1 2013-04-15
In nightly when attempting to access the sync pairing options fennec crashes
To reproduce :
Settings...
Sync...
Now in the Accounts and sync settings page selecting an existing working sync account...
Pair a Device...
Expected results :
Some kind of a pair screen
Actual results :
White screen, then back to the settings screen, then to a white screen again, then "The application Nightly (process org.mozilla.fennec) has stopped unexpectedly. Please try again." Force Close
Comment 1•12 years ago
|
||
Type about:crashes and provide the crash ID. If there's none, provide the logcat.
Severity: normal → critical
Flags: needinfo?(gene)
Keywords: crash,
stackwanted
OS: Linux → Android
Hardware: x86_64 → ARM
Whiteboard: [native-crash]
Reporter | ||
Comment 2•12 years ago
|
||
Checking about:crashes it only shows a crash from january so no crash report was submitted.
Is there someone in the SF office that could run the logcat for me? I'm not very uber and it looks like it has something to do with android debugging. I can bring anyone my phone.
Flags: needinfo?(gene)
Comment 3•12 years ago
|
||
aLogcat (https://play.google.com/store/apps/details?id=org.jtb.alogcat) can do the trick.
Flags: needinfo?(gene)
Comment 4•12 years ago
|
||
You can also try the about:logcat extension:
https://people.mozilla.com/~kgupta/aboutlogcat.xpi
save as pdf and post it here. Or I'm in SF. Desk 7123 (by gary's desk).
Reporter | ||
Comment 5•12 years ago
|
||
aLogcat looks like it worked well, attaching the log
Flags: needinfo?(gene)
Comment 6•12 years ago
|
||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 9•12 years ago
|
||
This patch makes Sync use our "shadowed" styles. This way, the color state list is not being looked at android namespace (which 2.2 devices do happily).
Comment 10•12 years ago
|
||
Nick,
Github changes please :)
Comment 11•12 years ago
|
||
Also please guide me on any other sync file using "android:style/TextAppearance" or "android:style/ [TextView / Button / EditText ] ". Those should be changed too.
Comment 12•12 years ago
|
||
Please attach the patch to bug 861658 unless it can happen under other conditions.
Comment 13•12 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #11)
> Also please guide me on any other sync file using
> "android:style/TextAppearance" or "android:style/ [TextView / Button /
> EditText ] ". Those should be changed too.
Hi Sriram, your patch in comment 9 (https://bugzilla.mozilla.org/show_bug.cgi?id=861994#c9) catches the 6 instances I see in res/values/sync_styles.xml.
I see 4 uses in res/values-v11/sync_styles.xml.
1. Can you verify that these 4 don't need to be updated because of the affected Android version (Gingerbread is < v11)?
Also, we are using a progress bar once:
res/layout/sync_setup_jpake_waiting.xml:21: style="@android:style/Widget.ProgressBar.Horizontal"
2. Can you verify this doesn't need to be updated?
With these two verifications, r=nalexander and I'll apply to GitHub. Thanks!
Updated•12 years ago
|
Flags: needinfo?(sriram)
Comment 14•12 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #13)
> (In reply to Sriram Ramasubramanian [:sriram] from comment #11)
> > Also please guide me on any other sync file using
> > "android:style/TextAppearance" or "android:style/ [TextView / Button /
> > EditText ] ". Those should be changed too.
>
> Hi Sriram, your patch in comment 9
> (https://bugzilla.mozilla.org/show_bug.cgi?id=861994#c9) catches the 6
> instances I see in res/values/sync_styles.xml.
>
> I see 4 uses in res/values-v11/sync_styles.xml.
>
> 1. Can you verify that these 4 don't need to be updated because of the
> affected Android version (Gingerbread is < v11)?
That's fine. That is related to ActionBar and it won't have any problem. We aren't overriding ActionBar yet.
>
> Also, we are using a progress bar once:
>
> res/layout/sync_setup_jpake_waiting.xml:21:
> style="@android:style/Widget.ProgressBar.Horizontal"
>
> 2. Can you verify this doesn't need to be updated?
ProgressBar wouldn't have any text. So that's fine too. Basically anything that uses text is affected in 2.2 (and some .x of 2.3). This won't be a problem.
Flags: needinfo?(sriram)
Comment 15•12 years ago
|
||
Sriram's patch will fix the problem but exposes some things that are out of date in Android Sync. Sriram is going to work on removing @id references from resources/values*/styles.xml and then I will integrate that work into Android Sync. I expect we'll land this fix by EOW.
Comment 16•12 years ago
|
||
This moves layout information back to layout files. There is no "id" reference in styles.xml.
Ideally label's text appearance should be made to use a style. However, https://bugzilla.mozilla.org/attachment.cgi?id=738270 does more cleanup in that area. Once this patch lands, I'll refresh the other patch with a change for the label.
Attachment #738694 -
Flags: review?(nalexander)
Updated•12 years ago
|
Attachment #738694 -
Flags: review?(nalexander)
Comment 17•12 years ago
|
||
I'm going to get rnewman's feedback on https://github.com/mozilla-services/android-sync/pull/306 before landing the original patch. I cancelled the review on the second patch because a) I'm not a Fennec peer and b) it didn't fix all the issues in Android Sync (@drawable and a few @layout updates would be needed). Should land by EOD tomorrow.
Comment 18•12 years ago
|
||
Pushed (under the ticket number 861658) as https://hg.mozilla.org/integration/mozilla-inbound/rev/312eba5c02d2.
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•