Input stops responding

Bug #944415 reported by Robert Hooker
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Confirmed
Undecided
Chase Douglas

Bug Description

On this MacBook Air 4,2 using bcm5974, input stops responding until unity --replace is run from a VT and repeats after ~10 minutes. The pointer still moves, but you can't interact with the system anymore. I notice it triggered most often when 2 finger scrolling in chrome.

When it happens, this is output to .xsession-errors

Warning: failed to get previous touch value
Warning: failed to get previous touch value
Warning: failed to get previous touch value
Warning: failed to get previous touch value
Warning: failed to get previous touch value
Warning: failed to get previous touch value

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+10ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu Mar 1 17:51:09 2012
DistUpgraded: Log time: 2012-01-09 10:06:08.081356
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus: bcmwl, 6.20.55.19+bdcom, 3.2.0-17-generic, x86_64: installed
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Apple Inc. Device [106b:00eb]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64+mac (20110427.1)
MachineType: Apple Inc. MacBookAir4,2
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=95622cbd-b253-48f0-9a5d-a0948c98f97a ro quiet splash i915.i915_enable_rc6=1 i915.i915_enable_fbc=0 i915.semaphores=1 i915.lvds_downclock=1 pcie_aspm=force usbcore.autosuspend=1 drm.vblankoffdelay=1 vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to precise on 2012-01-09 (52 days ago)
dmi.bios.date: 10/14/2011
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA41.88Z.0077.B0E.1110141154
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-742912EFDBEE19B3
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir4,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-742912EFDBEE19B3
dmi.modalias: dmi:bvnAppleInc.:bvrMBA41.88Z.0077.B0E.1110141154:bd10/14/2011:svnAppleInc.:pnMacBookAir4,2:pvr1.0:rvnAppleInc.:rnMac-742912EFDBEE19B3:rvrMacBookAir4,2:cvnAppleInc.:ct10:cvrMac-742912EFDBEE19B3:
dmi.product.name: MacBookAir4,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu5
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental 8.0.1-0ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Robert Hooker (sarvatt) wrote :
affects: xorg (Ubuntu) → xserver-xorg-input-synaptics (Ubuntu)
description: updated
description: updated
Revision history for this message
Robert Hooker (sarvatt) wrote :

https://bugs.launchpad.net/ubuntu/+source/unity/+bug/938770 looks to be the same bug given that unity --replace does fix it for him too and the symptoms/system are the same.

Revision history for this message
Robert Hooker (sarvatt) wrote :
Download full text (7.6 KiB)

#0 0x00007f8c5dc88d93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f8c5bb95862 in _xcb_conn_wait (c=0x21a24d0, cond=<optimized out>, vector=0x0, count=0x0) at ../../src/xcb_conn.c:400
        ret = <optimized out>
        fd = {fd = 5, events = 1, revents = 0}
#2 0x00007f8c5bb96d5f in wait_for_reply (c=0x21a24d0, request=7747935, e=0x7fffe1704718) at ../../src/xcb_in.c:390
        cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0},
          __size = '\000' <repeats 47 times>, __align = 0}
        reader = {request = 7747935, data = 0x7fffe1704650, next = 0x0}
        ret = 0x0
#3 0x00007f8c5bb96f7b in xcb_wait_for_reply (c=0x21a24d0, request=7747935, e=0x7fffe1704718) at ../../src/xcb_in.c:420
        ret = <optimized out>
#4 0x00007f8c5d690fed in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#5 0x00007f8c5d6874e6 in XQueryTree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#6 0x00007f8c4c4a98dd in GestureEngine::FindCompWindow (this=0x2a557b0, window=0) at /build/buildd/unity-5.4.0/plugins/unityshell/src/GestureEngine.cpp:89
        parent = 0
        root = 172
        children = 0x0
        nchildren = 125
        result = <optimized out>
#7 0x00007f8c4c4a9a21 in OnTouchStart (data=0x4b763d0, this=0x2a557b0) at /build/buildd/unity-5.4.0/plugins/unityshell/src/GestureEngine.cpp:220
        result = <optimized out>
#8 GestureEngine::OnTouchStart (this=0x2a557b0, data=0x4b763d0) at /build/buildd/unity-5.4.0/plugins/unityshell/src/GestureEngine.cpp:216
No locals.
#9 0x00007f8c4c4a8ae7 in emit (_A_a1=@0x7fffe1704898: 0x4b763d0, impl=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:1010
        it = {_M_node = 0x2acc8d0}
        exec = {sig_ = 0x2af9860}
        slots = {slots_ = @0x2af9868, placeholder = {_M_node = 0x3f5d390}}
#10 emit (_A_a1=@0x7fffe1704898: 0x4b763d0, this=<optimized out>) at /usr/include/sigc++-2.0/sigc++/signal.h:2781
No locals.
#11 GeisAdapter::GestureStart (cookie=<optimized out>, gesture_type=<optimized out>, gesture_id=<optimized out>, count=<optimized out>, attrs=<optimized out>)
    at /build/buildd/unity-5.4.0/plugins/unityshell/src/GeisAdapter.cpp:136
        data = 0x4b763d0
        self = <optimized out>
#12 0x00007f8c4b6d2ded in _v1_event_callback (geis=<optimized out>, event=<optimized out>, context=<optimized out>) at geis_v1.c:432
        attr_count = 22
        frame = 0x2be0b50
        attrs = 0x4373e50
        group = <optimized out>
        j = 0
        v1_instance = <optimized out>
        __FUNCTION__ = "_v1_event_callback"
        class_id = 32
        attr = <optimized out>
        touchset = 0x4fe7b40
        groupset = <optimized out>
        i = 0
#13 0x00007f8c4b6d3996 in _input_event_handler (context=0x2e5de50, fd=<optimized out>, activity=<optimized out>) at geis.c:286
        handled = 0
        event = 0x4983340
        buf = "1n"
        cb = 0x0
#14 _input_event_handler (fd=<optimized out>, activity=<optimized out>, context=0x2e5de50) at geis.c:200
        geis...

Read more...

Changed in xserver-xorg-input-synaptics (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
Revision history for this message
Robert Hooker (sarvatt) wrote :

Disabling geis support from unity with the attached patch fixes this, is the problem higher up in the stack than x-x-i-synaptics? Given that the highest unity uptime I've had today since switching to precise X is 40 minutes and I've been stable with unity with this patch for 5 hours it seems safe to think that. I built utouch-geis from the latest upstream source i could find (https://code.launchpad.net/~bregma/utouch-geis/lp-937021) but no luck getting more info from it or averting the crashes.

--- a/plugins/unityshell/src/unityshell.cpp 2011-11-14 16:58:29.132579175 -0500
+++ b/plugins/unityshell/src/unityshell.cpp 2011-11-14 16:58:12.572578722 -0500
@@ -294,8 +294,8 @@
      g_timeout_add(0, &UnityScreen::initPluginActions, this);
      super_keypressed_ = false;

- GeisAdapter::Default()->Run();
- gestureEngine = new GestureEngine(screen);
+ //GeisAdapter::Default()->Run();
+ //gestureEngine = new GestureEngine(screen);

      CompString name(PKGDATADIR"/panel-shadow.png");
      CompString pname("unityshell");

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "byegeis.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Robert Hooker (sarvatt) wrote :

Sorry, this was not meant to be a patch and I thought I marked it as not being a patch.

tags: removed: patch
Revision history for this message
Robert Hooker (sarvatt) wrote :

unity as of r2407 looks to have worked around this, reassigning to the unity package

affects: xserver-xorg-input-synaptics (Ubuntu) → unity (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
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.