Bug 14321

Summary: 64-bit version of xwd crashes when a transparent overlay visual is used
Product: xorg Reporter: Pär Lidberg <par.lidberg>
Component: App/xwdAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: 7.1 (2006.05)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:
Description Flags
Patch that fixes the problem none

Description Pär Lidberg 2008-01-31 09:04:36 UTC
Created attachment 14056 [details] [review]
Patch that fixes the problem

It is not possible to dump an image of an X window using xwd on a 64-bit system if that window contains a transparent overlay visual. A segmentation fault occurs in the function src_in_overlay() (multiVis.c).

The attached patch fixes the problem.
Comment 1 Jeremy Huddleston Sequoia 2011-10-03 00:25:25 UTC
Thanks for the fix.  Sorry for the delay.

commit 7d88d8ab44b17247753f7225a1d8133d55d8423e
Author: Pär Lidberg <par.lidberg@elekta.com>
Date:   Mon Oct 3 00:24:06 2011 -0700

    Fix LP64 bug
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

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.