Facebook app freezes on spinner after login

Bug #1583808 reported by Andrea Bernabei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Webapps-core project
Incomplete
Critical
Alberto Mardegan

Bug Description

Krillin, rc-proposed, r338

Here's what happened:
1) Flashed rc-proposed r338
2) Connected to wifi
3) Opened facebook webapp, login page launched
4) I put login and password, and the 2FA page loaded
5) I switched to system settings and tried adding an Ubuntu One account, but failed, tapping on Ubuntu One did nothing
6) After a while, I went back to Facebook webapp, and typed the 2FA code
7) chose save/notsave browser, and finished the login process
8) Login page closed and the app froze on a blank page with a frozen spinner in the middle

a few logs:
phablet@ubuntu-phablet:~$ cat .cache/upstart/account-polld.log
2016/05/19 20:59:40 Received Poll()
2016/05/19 21:04:45 Received Poll()
2016/05/19 21:08:28 Creat plugin for service: com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook
2016/05/19 21:08:28 Unhandled account with id 1 for com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook
2016/05/19 21:09:50 Received Poll()
2016/05/19 21:14:55 Received Poll()
2016/05/19 21:20:00 Received Poll()
2016/05/19 21:25:05 Received Poll()
2016/05/19 21:30:10 Received Poll()

NOTE: I deleted a few lttng errors from the following log
phablet@ubuntu-phablet:~$ cat .cache/upstart/application-click-com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook_1.2.3.log
libust[9138/9143]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
webapp-container: unrecognized option '--enable-back-forward'
webapp-container: unrecognized option '--accountProvider=facebook'
webapp-container: unrecognized option '--popup-redirection-url-prefix=http://lm.facebook.com/l.php?u='
webapp-container: unrecognized option '--webapp=<EDITED_OUT>='
webapp-container: unrecognized option '--webappModelSearchPath=.'
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
file:///usr/share/webbrowser-app/webcontainer/SplashScreen.qml:32:5: QML Flickable: Binding loop detected for property "contentHeight"
file:///usr/share/webbrowser-app/webcontainer/SplashScreen.qml:32:5: QML Flickable: Binding loop detected for property "contentHeight"
file:///usr/share/webbrowser-app/webcontainer/SplashScreen.qml:32:5: QML Flickable: Binding loop detected for property "contentHeight"
file:///usr/share/webbrowser-app/webcontainer/SplashScreen.qml:32:5: QML Flickable: Binding loop detected for property "contentHeight"
ubuntumirclient: Got invalid serialized mime data. Ignoring it.
qml: Accounts: 0
QObject::startTimer: Timers cannot be started from another thread
qml: Accounts: 1
qml: Setup account 1
qml: Credentials ID: 1
qml: Loading webview on /home/phablet/.local/share/com.ubuntu.developer.webapps.webapp-facebook/id-1
QQmlExpression: Expression file:///usr/share/webbrowser-app/webcontainer/WebApp.qml:274:25 depends on non-NOTIFYable properties:
    unity::action::qml::ActionManager::globalContext
shm_open() failed: Permission denied
qml: Loaded 9 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
libust[9138/13630]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
qml: Preparing for login
[PERFORMANCE]: Last frame took 55 ms to render.
[0519/220829:ERROR:layer_tree_host_impl.cc(2218)] Forcing zero-copy tile initialization as worker context is missing
libust[9138/13630]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)

dbus.log shows
qml: Loaded 9 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
qml: Page_QMLTYPE_24(0xd3ec58)"Facebook": In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.
QProcess: Destroyed while process ("/usr/bin/online-accounts-ui") is still running.
[0519/220831:ERROR:zygote_host_impl_linux.cc(162)] Failed to adjust OOM score of renderer with pid 13702: Permission denied
qml: Loading changed
ubuntumirclient: Got invalid serialized mime data. Ignoring it.
[0519/220831:ERROR:layer_tree_host_impl.cc(2218)] Forcing zero-copy tile initialization as worker context is missing
qml: [JS] (https://m.facebook.com/v2.4/dialog/oauth?redirect_uri=httpsUncaught ReferenceError: require is not definedA1F1Fwww.facebook.com1Fconnect1Flogin_success.html&state=<EDITED_OUT>&scope=publish_actions1Cpublic_profile&response_type=token&client_id=<EDITED_OUT>:1) Uncaught ReferenceError: require is not defined
qml: [JS] (https://m.facebook.com/v2.4/dialog/oauth?redirect_uri=httpsUncaught ReferenceError: require is not definedA1F1Fwww.facebook.com1Fconnect1Flogin_success.html&state=<EDITED_OUT>&scope=publish_actions1Cpublic_profile&response_type=token&client_id=<EDITED_OUT>:1) Uncaught ReferenceError: require is not defined
qml: Loading changed

Revision history for this message
Alberto Mardegan (mardy) wrote :

Hi Andrea, do you think you could reproduce this again?
There are a couple of thingsI need to know:

1) before reproducing the bug, please have this command running in a terminal:

   OAU_LOGGING_LEVEL=2 OAU_DAEMON_TIMEOUT=9999 online-accounts-service

   and attach the logs from this command into the bug (replace any tokens with XXX)

2) Please pay attention to page transitions: do you see the account window disappear by sliding into the bottom of the screen before the application gets stuck?

Changed in webapps-core:
status: New → Incomplete
importance: Undecided → Critical
Revision history for this message
Andrea Bernabei (faenil) wrote :

I took the time and flashed another krillin, but I could not reproduce the bug there, unfortunately

Revision history for this message
Andrea Bernabei (faenil) wrote :

the middle-of-page spinner is part of the account window, so I think it froze before the account window moved to the bottom

David Barth (dbarth)
Changed in webapps-core:
assignee: nobody → Alberto Mardegan (mardy)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.