Bug 24202 - xwd returns error when trying to dump by id
Summary: xwd returns error when trying to dump by id
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xwd (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 15:08 UTC by sob
Modified: 2018-06-17 19:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description sob 2009-09-28 15:08:03 UTC
Hi everyone,

I experienced the following issue in two different environments (debian stable i386 and debian testing amd64).


Test case:

$ xwininfo -root -tree | grep 0x | awk '{print $1}' | xargs -n 1 xwd -out tmp.xwd -id
or
get the id first, then dump
$ xwininfo -root -tree | grep MyWindowName
$ xwd -id MyWindowId

Typical output from xwd:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  15
  Current serial number in output stream:  15

Note that when omitting -id and clicking the right window, the dump works fine.

Stable:
Linux 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 GNU/Linux
x11-apps                             7.3+4
xserver-xorg                         1:7.3+20
libx11-6                             2:1.1.5-2

Testing:
Linux 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64 GNU/Linux
x11-apps                             7.4+2
xserver-xorg                         1:7.4+4
libx11-6                             2:1.2.2-1


Let me know if more information is required.

Regards,

SOB
Comment 1 Jeremy Huddleston Sequoia 2011-10-04 23:51:18 UTC
Seems to be working for me.  Please reopen with additional information if you 
still have issues.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.