Pressing button on bluetooth game pad shuts unity down

Bug #1542305 reported by Alan Pope 🍺🐧🐱 🦄
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I have a bluetooth Ouya game controller. One of these:-

http://www.amazon.co.uk/OUYA-Wireless-Controller-Electronic-Games-y/dp/B002I0GX38

Note it has a bunch of buttons and the black square in the middle is a mouse/touchpad.

Associated it with my bq e4.5 running todays rc-proposed.
Mouse cursor appears (kinda expected, but a bit odd - on Android the mouse cursor doesn't appear until you touch the pad).
Press any button and unity8 crashes hard.

No crash file in /var/crash.

The following appears immediately after pressing the button, in the unity8 log.

qtmir.surfaces: MirSurfaceItem::MirSurfaceItem
QObject: Cannot create children for a parent that is in a different thread.
(Parent is DashCommunicator(0xfe96b0), parent's thread is QThread(0xf1ef90), current thread is DashCommunicator(0xfe96b0)
UbuntuKeyboardInfo - socket error: "QLocalSocket::connectToServer: Connection refused"
Fail to connect with service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Connection was disconnected before a reply was received")

Running gdb produces this output when the crash happens:-

Program received signal SIGTERM, Terminated.
0xb6aa4fa8 in QV4::ExecutionEngine::qmlContextObject() const () from /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: unity8 8.11+15.04.20160129-0ubuntu1
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.17.2-0ubuntu1.3touch1
Architecture: armhf
Date: Fri Feb 5 12:24:52 2016
InstallationDate: Installed on 2016-02-05 (0 days ago)
InstallationMedia: Ubuntu 15.04 - armhf (20160205-020304)
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

It actually doesn't crash but gets told to shut down somehow...

summary: - Pressing button on bluetooth game pad crashes unity
+ Pressing button on bluetooth game pad shuts unity down
Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Alan, can you please connect this gamepad to a X11 machine, run "xev" and send us the output of it while pressing that button?

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Nothing shows up in xev on my 14.04 laptop when I press buttons on the paired ouya controller.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Turns out I had apport switched off on my device, hence no /var/crash files. Sorry about that. So I switched it back on and have a crash file (attached).

Revision history for this message
Michał Sawicz (saviq) wrote :

Potentially duplicate of bug #1544878.

Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

Yes is a duplicate, the referenced bug will address various similar issues..

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.