Closed Bug 720734 Opened 12 years ago Closed 12 years ago

Crash on accessing 'Sync' option in preferences

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox12 verified)

VERIFIED WORKSFORME
Tracking Status
firefox12 --- verified

People

(Reporter: aaronmt, Assigned: bnicholson)

References

Details

(Keywords: crash, reproducible, Whiteboard: sync, [native-crash])

Crash Data

Attachments

(1 file)

Currently when one taps the 'Sync' preference after creating a Sync account, Nightly will crash:

I/ActivityManager(  196): START {act=android.intent.action.MAIN cmp=com.android.providers.subscribedfeeds/com.android.settings.AccountSyncSettings (has extras)} from pid 3600
E/GeckoAppShell( 3600): top level exception
E/GeckoAppShell( 3600): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.providers.subscribedfeeds/com.android.settings.AccountSyncSettings}; have you declared this activity in your AndroidManifest.xml?
E/GeckoAppShell( 3600): 	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
E/GeckoAppShell( 3600): 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
E/GeckoAppShell( 3600): 	at android.app.Activity.startActivityForResult(Activity.java:3190)
E/GeckoAppShell( 3600): 	at android.app.Activity.startActivity(Activity.java:3297)
E/GeckoAppShell( 3600): 	at org.mozilla.gecko.SyncPreference.onClick(SyncPreference.java:79)
E/GeckoAppShell( 3600): 	at android.preference.Preference.performClick(Preference.java:939)
E/GeckoAppShell( 3600): 	at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
E/GeckoAppShell( 3600): 	at android.widget.AdapterView.performItemClick(AdapterView.java:292)
E/GeckoAppShell( 3600): 	at android.widget.AbsListView.performItemClick(AbsListView.java:1058)
E/GeckoAppShell( 3600): 	at android.widget.AbsListView$PerformClick.run(AbsListView.java:2514)
E/GeckoAppShell( 3600): 	at android.widget.AbsListView$1.run(AbsListView.java:3168)
E/GeckoAppShell( 3600): 	at android.os.Handler.handleCallback(Handler.java:605)
E/GeckoAppShell( 3600): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/GeckoAppShell( 3600): 	at android.os.Looper.loop(Looper.java:137)
E/GeckoAppShell( 3600): 	at org.mozilla.gecko.GeckoApp$34.run(GeckoApp.java:1647)
E/GeckoAppShell( 3600): 	at android.os.Handler.handleCallback(Handler.java:605)
E/GeckoAppShell( 3600): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/GeckoAppShell( 3600): 	at android.os.Looper.loop(Looper.java:137)
E/GeckoAppShell( 3600): 	at android.app.ActivityThread.main(ActivityThread.java:4340)
E/GeckoAppShell( 3600): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/GeckoAppShell( 3600): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/GeckoAppShell( 3600): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/GeckoAppShell( 3600): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/GeckoAppShell( 3600): 	at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager(  196): Process org.mozilla.fennec (pid 3600) has died.
I/WindowManager(  196): WIN DEATH: Window{41d0b2a8 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
W/WindowManager(  196): Force-removing child win Window{41cd69b0 SurfaceView paused=false} from container Window{41d0b2a8 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
W/ActivityManager(  196): Force removing ActivityRecord{41cedbf8 org.mozilla.fennec/org.mozilla.gecko.GeckoPreferences}: app died, no saved state
I/WindowManager(  196): WIN DEATH: Window{41b43948 org.mozilla.fennec/org.mozilla.gecko.GeckoPreferences paused=false}

Not sure if this is ICS only; tag if appropriate.

--
Samsung Galaxy Nexus (Android 4.0.2)
20120124090055
http://hg.mozilla.org/integration/mozilla-inbound/rev/fd472718b66e
Whiteboard: sync
Component: General → Android Sync
Product: Fennec Native → Mozilla Services
QA Contact: general → android-sync
Version: Trunk → unspecified
tracking-fennec: --- → ?
Strange. Works for me on a personal build from latest inbound. Both from about:home and settings.
I suspect a makefile dependency bug. I'm waiting for review from khuey.
Whiteboard: sync → sync, [native-crash]
Actually, this is nothing to do with Android Sync, unless you can reproduce this without launching Fennec. Disregard my last comment; I was confusing this with Bug 718703.

(In general, if you don't see org.mozilla.gecko.sync in the trace, it ain't us.)

I'm guessing that whatever account integration just landed in Nightly has a bug.
Component: Android Sync → General
Product: Mozilla Services → Fennec Native
QA Contact: android-sync → general
Assignee: nobody → bnicholson
I can reproduce this as well on Galaxy Nexus, 1-24-2011 build.   here's the socorro stack:

Crash [@ TouchBadMemory ] 

https://crash-stats.mozilla.com/report/index/bp-a7f1baf9-1cb4-4185-b7f8-bcbf92120125

bug 719373 is meta
The "Accounts & Sync" class name changed between pre-ICS and ICS (see bug 716906). There will be a fix for this today.
Blocks: 719373
Crash Signature: [@ TouchBadMemory]
I cannot reproduce this bug on the latest Nightly build. I will mark it as WFM. Please reopen if it will occur again.

--
Mozilla/5.0 (Android;Linux armv7l;rv:12.0a1)Gecko/20120126
Firefox/12.0a1 Fennec/12.0a1
Device: Samsung Galaxy Nexus
OS: Android 4.0.1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
This appears to be noticed on the mailing list.

mrz:
> After the first setup, going back to this Sync Settings pane from within Nightly crashes the browser (fyi).  ICS on Samsung Nexus.

guillermo:
> For me it does not crash nightly (or aurora). It just crashes Android (reboot)

Reopening pending investigation.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Bug 716906 was fixed and relanded, so this should be working now.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → WORKSFORME
Depends on: 716906
Verified on M-C
Samsung Galaxy Nexus (Android 4.0.3)
20120127115839
http://hg.mozilla.org/mozilla-central/rev/e99e0dc97746
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: