** Description changed:

+ SRU Info:
+ =========
+ [Impact]
+ Currently, libgrip causes a segfault crash when multiple instances of eog are 
opened in quick succession. This does not occur under typical use cases, but 
there may be instances where a user might select multiple images and open them 
all at once. Or maybe a user double clicks on an image and opens it twice 
accidentally.
+ 
+ [Development Fix]
+ The change, found in the upstream merge request associated with the bug, 
ensures that only currently mapped top-level widgets are registered for 
gestures. Currently, when any top-level widget is mapped all pending gesture 
subscriptions are registered, and if one of them wasn't mapped yet libgrip 
crashes. Note that this fix has not been uploaded in P because the P archive is 
not open yet.
+ 
+ [Stable Fix]
+ Please see lp:libgrip/oneiric. The patch added to fix this issue can be found 
at 
http://bazaar.launchpad.net/~utouch-packaging/libgrip/oneiric/view/head:/debian/patches/0002-window_mapped_cb.patch.
+ 
+ [Test Case]
+ run gdb eog in a window
+ in another window cd to a directory with images in subdirectories and run the 
following command:
+ 
+ while true; do eog "$(find . -type d|sort -R |head -1|cut -f 1)"; done
+ 
+ It opens a random subdir every iteration but crashes quite quickly. You
+ can try adding a little sleep:
+ 
+ while true; do eog "$(find . -type d|sort -R |head -1|cut -f 1)"; sleep
+ 1; done
+ 
+ [Regression Potential]
+ Medium. This change affects how libgrip registers for gesture events. There 
is the potential that gestures will no longer be subscribed correctly. However, 
gestures is a "value-add" feature. The loss of gestures will not affect the 
fundamental functionality of the software.
+ 
+ Original bug report:
+ ====================
  1) Description:       Ubuntu oneiric (development branch)
  Release:      11.10
  
  2) eog:
-   Instalados: 3.1.5-0ubuntu1
-   Candidato:  3.1.5-0ubuntu1
-   Tabla de versión:
-  *** 3.1.5-0ubuntu1 0
-         500 http://mx.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Instalados: 3.1.5-0ubuntu1
+   Candidato:  3.1.5-0ubuntu1
+   Tabla de versión:
+  *** 3.1.5-0ubuntu1 0
+         500 http://mx.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  3) See an animated gif
  4) Crash
  
  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: eog 3.1.5-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-7.9-usernameeric 3.0.0
  Uname: Linux 3.0.0-7-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed Aug 17 04:16:12 2011
  ExecutablePath: /usr/bin/eog
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  ProcCmdline: eog 
/home/username/Diseno/Blender/Proyectos-Personales/2011/Nyan-Cat-2011ao16/Referencias/Cat-03.gif
  ProcEnviron:
-  LANGUAGE=es_MX:es
-  PATH=(custom, no user)
-  LANG=es_MX.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=es_MX:es
+  PATH=(custom, no user)
+  LANG=es_MX.UTF-8
+  SHELL=/bin/bash
  SegvAnalysis:
-  Segfault happened at: 0x7fa71692c5d2:        cmp    0x80(%rdi),%rdi
-  PC (0x7fa71692c5d2) ok
-  source "0x80(%rdi)" (0x00000080) not located in a known VMA region (needed 
readable region)!
-  destination "%rdi" ok
+  Segfault happened at: 0x7fa71692c5d2:        cmp    0x80(%rdi),%rdi
+  PC (0x7fa71692c5d2) ok
+  source "0x80(%rdi)" (0x00000080) not located in a known VMA region (needed 
readable region)!
+  destination "%rdi" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: eog
  StacktraceTop:
-  ?? () from /usr/lib/libgdk-3.so.0
-  gdk_x11_window_get_xid () from /usr/lib/libgdk-3.so.0
-  ?? () from /usr/lib/libgrip.so.0
-  ?? () from /usr/lib/libgrip.so.0
-  ?? () from /usr/lib/libgrip.so.0
+  ?? () from /usr/lib/libgdk-3.so.0
+  gdk_x11_window_get_xid () from /usr/lib/libgdk-3.so.0
+  ?? () from /usr/lib/libgrip.so.0
+  ?? () from /usr/lib/libgrip.so.0
+  ?? () from /usr/lib/libgrip.so.0
  Title: eog crashed with SIGSEGV in gdk_x11_window_get_xid()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

** Changed in: libgrip (Ubuntu Oneiric)
    Milestone: None => oneiric-updates

** Changed in: libgrip (Ubuntu Oneiric)
     Assignee: Stephen M. Webb (bregma) => Chase Douglas (chasedouglas)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827958

Title:
  eog crashed with SIGSEGV in gdk_x11_window_get_xid()

To manage notifications about this bug go to:
https://bugs.launchpad.net/libgrip/+bug/827958/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to