Bug 14321 - 64-bit version of xwd crashes when a transparent overlay visual is used
Summary: 64-bit version of xwd crashes when a transparent overlay visual is used
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xwd (show other bugs)
Version: 7.1 (2006.05)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Keywords: patch
Depends on:
Reported: 2008-01-31 09:04 UTC by Pär Lidberg
Modified: 2018-06-17 19:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Patch that fixes the problem (1.94 KB, patch)
2008-01-31 09:04 UTC, Pär Lidberg
no flags Details | Splinter Review

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.