Clicking "allow" button from website crashes ussoa, but hitting 'Enter' on keyboard works and account is added

Bug #1334688 reported by Chris Wayne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts setup for Ubuntu Touch
Incomplete
Medium
Unassigned
The Savilerow project
Fix Released
Critical
Unassigned

Bug Description

Image: devel-proposed 94

When trying to add a fitbit account (from account-plugin-fitbit in universe), if I hit enter after entering my credentials, the account is properly added. If i click the "Allow" button shown on the fitbit site, there's a segfault and the account isn't added

Log:
http://paste.ubuntu.com/7706101/

Revision history for this message
Chris Wayne (cwayne) wrote :
Download full text (12.6 KiB)

More logs:

(gdb) run --desktop_file_hint=/usr/share/applications/online-accounts-ui.desktop
Starting program: /usr/bin/online-accounts-ui --desktop_file_hint=/usr/share/applications/online-accounts-ui.desktop
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb38fa3d0 (LWP 11256)]
[New Thread 0xb2be23d0 (LWP 11260)]
service.cpp 42 requestAccess Got request: QMap(("windowId", QVariant(uint, 9812) ) )
request.cpp 136 findClientApparmorProfile App ID: "unconfined"
request-manager.cpp 98 runQueue Head: OnlineAccountsUi::PanelRequest(0x894d0)
[New Thread 0xb239f3d0 (LWP 11314)]
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
[New Thread 0xb0dcf3d0 (LWP 11320)]
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
[New Thread 0xb03ff3d0 (LWP 11321)]
qrc:/qml/AccountsPage.qml:33:9: QML ListView: Binding loop detected for property "height"
[New Thread 0xaf2ab3d0 (LWP 11322)]
account-service-model.cpp 291 update
account-service-model.cpp 291 update
request.cpp 109 setWindow Requesting window reparenting
QWindow::fromWinId(): platform plugin does not support foreign windows.
panel-request.cpp 102 onWindowVisibleChanged true
callbacks 0xb3d5d445 0xb3d5d33d
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'[New Thread 0xae57c3d0 (LWP 11323)]
[New Thread 0xadd7c3d0 (LWP 11324)]
[New Thread 0xacf893d0 (LWP 11330)]
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x1d6768)
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x2e23c8)
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x2e2ea8)
[New Thread 0xac4a63d0 (LWP 11331)]
Detectable autorepeat not supported.

** (process:11243): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
account-service-model.cpp 291 update
qrc:/qml/AccountsPage.qml:63:9: QML Page: Binding loop detected for property "flickable"
[Thread 0xac4a63d0 (LWP 11331) exited]
account.cpp 60 setObjectHandle Accounts::Account(0x5755e0)
file:///home/phablet/.local/share/accounts/qml-plugins/fitbit/Main.qml: File not found
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x4ba548)
account-service-model.cpp 291 update
qml: Authenticating...
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1
../../../../lib/SignOn/connection-manager.cpp 132 init Peer connection unavailable, activating service
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0x5a4930)
../../../../lib/SignOn/identityimpl.cpp 172 storeCredentials Storing credentials
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to conne...

Revision history for this message
Chris Wayne (cwayne) wrote :

This now no longer works even when hitting enter, specifically still witht he fitbit plugin

Changed in ubuntu-system-settings-online-accounts:
status: New → Confirmed
Changed in savilerow:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Chris Wayne (cwayne) wrote :

Could this be relevant? upstart/dbus.log:qml: [JS] (:0) Refused to display 'https://static1.fitbit.com/tools/cookieEater' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

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

Chris, is this still happening with the latest images?

Changed in ubuntu-system-settings-online-accounts:
status: Confirmed → Incomplete
Revision history for this message
David Barth (dbarth) wrote :

Considering the crash was prior to the code refactoring, I will lower the priority of that issue, on the ground that the crasher is probably gone by now. However, I will keep it open for now, to let Chris confirm the issue is resolved for real.

Changed in ubuntu-system-settings-online-accounts:
importance: Undecided → Medium
Chris Wayne (cwayne)
Changed in savilerow:
status: Confirmed → Fix Released
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.