geistest crashes when there are too many windows

Bug #824101 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geis
Fix Released
Medium
Stephen M. Webb
utouch-geis (Ubuntu)
Fix Released
Medium
Stephen M. Webb

Bug Description

When geistest is run with no arguments and there are a lot of windows open on the screen it errors with a message "Maximum number of clients reached" and sometimes crashes with a core dump.

This does not occur if geistest is run using the "-w windowid" command-line switch.

Related branches

Stephen M. Webb (bregma)
Changed in utouch-geis:
status: New → Triaged
importance: Undecided → Medium
Stephen M. Webb (bregma)
Changed in utouch-geis:
importance: Medium → High
milestone: none → 2.1.3
Revision history for this message
Alessandro Crismani (alessandro-crismani) wrote :

No entirely sure if I understand correctly, but if I try the suggestion I still get (see bug https://bugs.launchpad.net/utouch-geis/+bug/825359)

alessandro at alessandro-thinky in ~
$ geistest -w $(xwininfo -root | grep "Window id" | awk '{print $4}')
*** glibc detected *** geistest: free(): invalid pointer: 0x00000000011a1508 ***

Did I do it right?

Revision history for this message
Stephen M. Webb (bregma) wrote :

I cut and paste the command line and do not get the invalid pointer (I do without the -w).

Does the geisview tool run correctly?

Revision history for this message
Alessandro Crismani (alessandro-crismani) wrote :

Nope. What I get is

python2 /usr/bin/geisview
*** glibc detected *** python2: free(): invalid pointer: 0x0000000001253b88 ***

Plus the backtrace. Let me know if it helps

Revision history for this message
Stephen M. Webb (bregma) wrote :

Running with GEIS_DEBUG=2 results in the following error.

Maximum number of clients reachedGEIS(error)-_construct:634 error opening X server.

Stephen M. Webb (bregma)
Changed in utouch-geis:
assignee: nobody → Stephen M. Webb (bregma)
status: Triaged → In Progress
Changed in utouch-geis (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Stephen M. Webb (bregma)
Changed in utouch-geis:
importance: High → Medium
Changed in utouch-geis (Ubuntu):
importance: High → Medium
Stephen M. Webb (bregma)
Changed in utouch-geis:
milestone: utouch-geis-2.2.0 → utouch-geis-2.2.5
Changed in utouch-geis (Ubuntu):
milestone: none → ubuntu-12.04-beta-2
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package utouch-geis - 2.2.5-0ubuntu1

---------------
utouch-geis (2.2.5-0ubuntu1) precise; urgency=low

  * New upstream release.
    - fixes reentrancy-case crash in eog and evince (lp: #932642)
    - fixes crash in geisview tool when no window is specified (lp: #824101)
 -- <email address hidden> (Stephen M. Webb) Thu, 16 Feb 2012 09:40:20 -0500

Changed in utouch-geis (Ubuntu):
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: Fix Committed → 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.