Although this patch makes the situation much better, it looks like a
similar bug is present elsewhere. Using git commit On git rev
3cb14dcccf5574366d90e24f351e3ad04b35e35f, I see an occasional crash
after  several days of using a laptop with ~10 suspensions per day.

The following diagnostic messages and backtrace appears three times in
the Xorg log before Xorg quits:

[121305.099] BUG: triggered 'if (priv->num_active_touches > priv->num_slots)'
[121305.099] BUG: synaptics.c:2615 in UpdateTouchState()
[121305.099] 
[121305.099] Backtrace:
[121305.384] 0: /usr/bin/X (xorg_backtrace+0x36) [0x560366]
[121305.384] 1: /usr/lib/xorg/modules/input/synaptics_drv.so 
(0x7ff504292000+0x2c47) [0x7ff504294c47]
[121305.384] 2: /usr/lib/xorg/modules/input/synaptics_drv.so 
(0x7ff504292000+0x4cdb) [0x7ff504296cdb]
[121305.384] 3: /usr/lib/xorg/modules/input/synaptics_drv.so 
(0x7ff504292000+0x6744) [0x7ff504298744]
[121305.384] 4: /usr/bin/X (0x400000+0x6efd7) [0x46efd7]
[121305.384] 5: /usr/bin/X (0x400000+0x93370) [0x493370]
[121305.384] 6: /usr/lib/libpthread.so.0 (0x7ff508a94000+0xf170) 
[0x7ff508aa3170]
[121305.384] 7: /usr/bin/X (0x400000+0x164540) [0x564540]
[121305.384] 8: /usr/lib/libpthread.so.0 (0x7ff508a94000+0xf170) 
[0x7ff508aa3170]
[121305.384] 9: /usr/lib/libc.so.6 (0x7ff50791f000+0x7ba57) [0x7ff50799aa57]
[121305.384] 10: /usr/lib/libc.so.6 (__libc_malloc+0x70) [0x7ff50799be50]
[121305.389] 11: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x3fa6d) [0x7ff505aaaa6d]
[121305.389] 12: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x4b7b8) [0x7ff505ab67b8]
[121305.389] 13: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x4d09b) [0x7ff505ab809b]
[121305.389] 14: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x80d9b) [0x7ff505aebd9b]
[121305.389] 15: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x813b3) [0x7ff505aec3b3]
[121305.389] 16: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7ff505a6b000+0x88466) [0x7ff505af3466]
[121305.390] 17: /usr/bin/X (0x400000+0xebc5b) [0x4ebc5b]
[121305.390] 18: /usr/bin/X (0x400000+0x34531) [0x434531]
[121305.390] 19: /usr/bin/X (0x400000+0x23615) [0x423615]
[121305.390] 20: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7ff507940725]
[121305.390] 21: /usr/bin/X (0x400000+0x238ed) [0x4238ed]

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/956071

Title:
  Xorg crashed with SIGSEGV in XIGetDeviceProperty()

Status in OEM Priority Project:
  Fix Released
Status in OEM Priority Project precise series:
  Fix Released
Status in X.Org X server:
  Confirmed
Status in “xserver-xorg-input-synaptics” package in Ubuntu:
  Fix Released
Status in “xserver-xorg-input-synaptics” source package in Precise:
  Fix Released
Status in “xorg-server” package in Debian:
  Fix Released

Bug description:
  [Impact]

  Causes crashes in the xserver usually on resume from suspend.

  [Test Case]

  - Put one or more fingers to the touchpad
  - Send the computer to standby, or disable the pad using 'xinput disable' 
with the finger(s) still on the pad
  - Remove the fingers
  - Resume the computer or enable the touchpad again using 'xinput enable'
  - Touch the pad again

  [Regression Potential]

  none, the patch resets a counter on device reset that should be zero
  at that point

  --
  Crash on resume in xserver-xorg-input-synaptics. Version 1.5.99.902-0ubuntu5 
works, the workaround is to downgrade to that version.

  It appears to hit many newer laptops causing data loss.

  Original description

  Happens quite often, but I can't find a pattern to when it  happens.

  Might be related to either firefox or Minecraft (openjdk-6) but I am
  not certain.

  #10 <signal handler called>
  No symbol table info available.
  #11 XIGetDeviceProperty (dev=0xb9238788, property=277, value=0xbffa7cdc) at 
../../Xi/xiproperty.c:852
          handler = <optimized out>
          prop = 0xb923c8d8
          rc = <optimized out>
  #12 0xb7667797 in get_property (dev=<optimized out>, property=277, type=19, 
offset=0, length=1, bytes_after=0xbffa7d84, type_return=0xbffa7d8c, 
format=0xbffa7d7c, nitems=0xbffa7d80, length_return=0xbffa7d78, 
data=0xbffa7d88, delete=<optimized out>, client=<optimized out>) at 
../../Xi/xiproperty.c:290
          n = <optimized out>
          len = <optimized out>
          ind = <optimized out>
          rc = <optimized out>
          prop = <optimized out>
          prop_value = <optimized out>

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: xserver-xorg-core 2:1.11.4-0ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
  Uname: Linux 3.2.0-18-generic-pae i686
  .tmp.unity.support.test.0:

  ApportVersion: 1.94.1-0ubuntu2
  Architecture: i386
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  Date: Thu Mar 15 08:30:43 2012
  DistUpgraded: Fresh install
  DistroCodename: precise
  DistroVariant: ubuntu
  ExecutablePath: /usr/bin/Xorg
  ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
  GraphicsCard:
   Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] 
(rev 02) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:21c5]
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120304)
  MachineType: LENOVO 02173BG
  ProcCmdline: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 
-novtswitch -background none
  ProcEnviron:

  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-18-generic-pae 
root=UUID=f58bc641-2db1-4b1d-a839-3b04dc4e9ee2 ro quiet splash vt.handoff=7
  SegvAnalysis:
   Segfault happened at: 0xb7667528 <XIChangeDeviceProperty+440>:       mov    
0x8(%esi),%eax
   PC (0xb7667528) ok
   source "0x8(%esi)" (0x00000009) not located in a known VMA region (needed 
readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: xorg-server
  StacktraceTop:
   XIGetDeviceProperty ()
   ?? ()
   ?? ()
   ?? ()
   ?? ()
  Title: Xorg crashed with SIGSEGV in XIGetDeviceProperty()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  dmi.bios.date: 01/03/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 84ET23WW (1.07 )
  dmi.board.name: 02173BG
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr84ET23WW(1.07):bd01/03/2011:svnLENOVO:pn02173BG:pvrThinkPadEdge:rvnLENOVO:rn02173BG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 02173BG
  dmi.product.version: ThinkPad Edge
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
  version.libdrm2: libdrm2 2.4.30-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu4
  version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/956071/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to