Closed Bug 991320 Opened 11 years ago Closed 7 years ago

[B2G][Marketplace] Entering card view from persona sign in results in a perpetual loading symbol

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 affected, b2g-v1.3 affected)

RESOLVED WONTFIX
Tracking Status
b2g18 --- affected
b2g-v1.3 --- affected

People

(Reporter: rpribble, Unassigned)

References

()

Details

Attachments

(1 file)

Description: When user enters card view from the persona sign in page in marketplace, then reenters the marketplace card, content will fail to reload properly and the user will see a continuous loading symbol. Repro Steps: 1) Updated Buri to BuildID: 20140401004003 2) Tap the marketplace icon 3) Tap the settings button in the upper right corner 4) Tap the sign in button 5) Long press the home button 6) Tap the marketplace card to reenter the Persona pop-up 7) Observe content fail to load properly and continuous loading symbol Actual: Content fails to reload properly and user sees a continuous loading symbol. Expected: Content reloads properly. Environmental Variables: Device: Buri v1.3 MOZ ril BuildID: 20140401004003 Gaia: 24f562fce468fc948ac9e6185e002c23350cb9ee Gecko: 0adf24a785f2 Version: 28.0 Firmware Version: v1.2-device.cfg Notes: Similar to https://bugzilla.mozilla.org/show_bug.cgi?id=984636 Repro frequency: 100% See attached: Video and logcat
Attached file logcat.txt
This issue also occurs on the Buri v1.1 MOZ ril. Environmental Variables: Device: Buri v1.1 MOZ ril BuildID: 20140331041208 Gaia: 44a2ddf63373f8e95c784faf4ed4d60081699c61 Gecko: 170d87349060 Version: 18.0 Firmware Version: v1.2-device.cfg The content fails to reload correctly and the user sees a continuous loading symbol.
This is bizarre - I'm surprised this is happening on 1.1. Did something change on persona's side maybe? Edwin - Can you followup on this?
Component: Gaia::System::Window Mgmt → FxA
Flags: needinfo?(edwong)
I'll attempt to repro shortly.
The video here is private - can you open it publicly?
Flags: needinfo?(rpribble)
Sorry about that, the youtube video is now set to 'unlisted' and should be able to be viewed.
Flags: needinfo?(rpribble)
Hmm - I can repro this on 1.3. We had a stack push a couple weeks ago but there was no code change. Not sure why it's only when running via marionette. No repro manually. Jed, any ideas what's wrong here? here's my logcat: /GeckoConsole( 2772): [JavaScript Error: "uncaught exception: target window is same as present window -- not allowed"] I/Gecko ( 2772): Identity injected identity.js: doInternalWatch: { I/Gecko ( 2772): "id": "{6896e6e6-2e68-4cb1-be3a-06721a81b140}", I/Gecko ( 2772): "origin": "app://uitest.gaiamobile.org", I/Gecko ( 2772): "loggedInUser": null I/Gecko ( 2772): } true E/GeckoConsole( 2772): Identity injected identity.js: doInternalWatch: { E/GeckoConsole( 2772): "id": "{6896e6e6-2e68-4cb1-be3a-06721a81b140}", E/GeckoConsole( 2772): "origin": "app://uitest.gaiamobile.org", E/GeckoConsole( 2772): "loggedInUser": null E/GeckoConsole( 2772): } true I/Gecko ( 1901): WARNING: doReady found no rp to go with callerId {ebbb8d71-b812-4012-9cc9-0d8d0dd86691} I/Gecko ( 1901): Identity DOMIdentity: doReady: {27afe6b7-008a-41f4-9127-91097b7f192b} E/GeckoConsole( 1901): Identity DOMIdentity: doReady: {27afe6b7-008a-41f4-9127-91097b7f192b} I/Gecko ( 1901): WARNING: doReady found no rp to go with callerId {6896e6e6-2e68-4cb1-be3a-06721a81b140} I/Gecko ( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog I/GeckoDump( 1901): XXX FIXME : Got a mozContentEvent: undefined I/Gecko ( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe E/GeckoConsole( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe I/Gecko ( 1901): Identity SignInToWebsiteController: telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: telling content to close the dialog I/Gecko ( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog I/GeckoDump( 1901): XXX FIXME : Got a mozContentEvent: undefined I/Gecko ( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe E/GeckoConsole( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe I/Gecko ( 1901): Identity SignInToWebsiteController: telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: telling content to close the dialog I/Gecko ( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: received delegate finished; telling content to close the dialog I/GeckoDump( 1901): XXX FIXME : Got a mozContentEvent: undefined I/Gecko ( 2972): ###################################### forms.js loaded I/Gecko ( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe E/GeckoConsole( 1901): Identity SignInToWebsiteController: No more watchers; clean up persona host iframe I/Gecko ( 1901): Identity SignInToWebsiteController: telling content to close the dialog E/GeckoConsole( 1901): Identity SignInToWebsiteController: telling content to close the dialog I/Gecko ( 2972): ############################### browserElementPanning.js loaded I/Gecko ( 2972): ######################## BrowserElementChildPreload.js loaded I/Gecko ( 2972): ###################################### forms.js loaded I/Gecko ( 2972): ############################### browserElementPanning.js loaded I/Gecko ( 2972): ######################## BrowserElementChildPreload.js loaded I/Gecko ( 2973): ###################################### forms.js loaded I/Gecko ( 2973): ############################### browserElementPanning.js loaded I/Gecko ( 2973): ######################## BrowserElementChildPreload.js loaded I/Gecko ( 1901): 1396651797771 Marionette INFO sendToClient: {"from":"0","error":{"message":"Unable to locate element: iframe.screen[data-url*='persona.org/sign_in#NATIVE']","status":7,"stacktrace":null}}, {98c0d9de-9e2c-4718-af49-c3552586756e}, {98c0d9de-9e2c-4718-af49-c3552586756e} I/Gecko ( 1901): 1396651808347 Marionette INFO sendToClient: {"from":"0","error":{"message":"Unable to locate element: iframe.screen[data-url*='persona.org/sign_in#NATIVE']","status":7,"stacktrace":null}}, {ff9e2073-7725-4440-9081-467f1237f229}, {ff9e2073-7725-4440-9081-467f1237f229} I/Gecko ( 1901): 1396651818905 Marionette INFO sendToClient: {"from":"0","error":{"message":"Unable to locate element: iframe.screen[data-url*='persona.org/sign_in#NATIVE']","status":7,"stacktrace":null}}, {1e874275-02ee-455d-9759-0a70809aebc4}, {1e874275-02ee-455d-9759-0a70809aebc4} when it
Flags: needinfo?(edwong) → needinfo?(jparsons)
Please ignore comment #6 I can repro this. This may not have been a regression as we've had problems with memory and the native UI. I can repro this with the UI Test navigator.mozId also. Things just go crazy when you try switching cards with native UI. Here's my logcat: D/wpa_supplicant( 3274): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c D/wpa_supplicant( 3274): nl80211: survey data missing! E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent] E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent] E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XTWWAN-PE] unknown deliver target [OS-Agent] D/wpa_supplicant( 3274): RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) D/wpa_supplicant( 3274): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added D/wpa_supplicant( 3274): nl80211: if_removed already cleared - ignore event D/wpa_supplicant( 3274): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c D/wpa_supplicant( 3274): nl80211: survey data missing! I/Gecko ( 3714): Attempting load of libEGL.so E/memalloc( 1901): /dev/pmem: No more pmem available W/memalloc( 1901): Falling back to ashmem E/memalloc( 1901): /dev/pmem: No more pmem available W/memalloc( 1901): Falling back to ashmem I/Adreno200-EGL( 3714): <qeglDrvAPI_eglInitialize:295>: EGL 1.4 QUALCOMM build: Nondeterministic AU_msm7627a_B2G/ICS_STRAWBERRY_Merge_release_AU (Merge) I/Adreno200-EGL( 3714): Build Date: 11/24/13 Sun I/Adreno200-EGL( 3714): Local Branch: mybranch1997719 I/Adreno200-EGL( 3714): Remote Branch: quic/b2g_ics_1.2 I/Adreno200-EGL( 3714): Local Patches: NONE I/Adreno200-EGL( 3714): Reconstruct Branch: NOTHING I/Gecko ( 3714): SharedSurface_Gralloc::Create ------- I/Gecko ( 3714): SharedSurface_Gralloc::Create: success -- surface 0x489d2c80, GraphicBuffer 0x44c26680. E/Sensors ( 1901): sensors_poll_context_t::activate index is 0, handle is enabled is 0,the enable is 0 E/Sensors ( 1901): happy,bmasensor is enable,the mEnabled is 1,the handle is 0,the enabled is 0 E/Sensors ( 1901): BmaSensor:ddds BMA222_IOCTL_SET_FLAG E/Sensors ( 1901): BmaSensor: Control set 0 E/memalloc( 1901): /dev/pmem: No more pmem available W/memalloc( 1901): Falling back to ashmem I/Gecko ( 3796): Attempting load of libEGL.so I/Adreno200-EGL( 3796): <qeglDrvAPI_eglInitialize:295>: EGL 1.4 QUALCOMM build: Nondeterministic AU_msm7627a_B2G/ICS_STRAWBERRY_Merge_release_AU (Merge) I/Adreno200-EGL( 3796): Build Date: 11/24/13 Sun I/Adreno200-EGL( 3796): Local Branch: mybranch1997719 I/Adreno200-EGL( 3796): Remote Branch: quic/b2g_ics_1.2 I/Adreno200-EGL( 3796): Local Patches: NONE I/Adreno200-EGL( 3796): Reconstruct Branch: NOTHING E/memalloc( 1901): /dev/pmem: No more pmem available W/memalloc( 1901): Falling back to ashmem I/Gecko ( 3796): SharedSurface_Gralloc::Create ------- I/Gecko ( 3796): SharedSurface_Gralloc::Create: success -- surface 0x43568680, GraphicBuffer 0x43d59100. E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent] E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent] E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XTWWAN-PE] unknown deliver target [OS-Agent] D/wpa_supplicant( 3274): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c D/wpa_supplicant( 3274): nl80211: survey data missing! D/wpa_supplicant( 3274): RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) D/wpa_supplicant( 3274): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added D/wpa_supplicant( 3274): nl80211: if_removed already cleared - ignore event E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent] E/QCALOG ( 190): [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent] E/memalloc( 1901): /dev/pmem: No more pmem available
Flags: needinfo?(jparsons)
Ignoring Comment 6, as you say. (That's really Bug 992181 Comment 2) I have no idea what the log in comment 7 is saying, but if you have toolkit.identity.debug preffed on, and there's no Persona output in there, that would support my suspicion that this bug may have something to do with the window manager.
I'm no repro with 1.5 (current master) which says that it's not persona code. We should punt to the windowing experts.
(In reply to Edwin Wong [:edwong] from comment #9) > I'm no repro with 1.5 (current master) which says that it's not persona > code. We should punt to the windowing experts. I think what happened here is that persona changed something on their side that triggered a window management bug, as this is present in 1.1. I don't think we've got an option to punt this to the window management team though, as we're not accepting many fixes for 1.3 right now. The best option is to see if this can be looked into from the server side.
Component: FxA → General
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: