Bug 14321 - 64-bit version of xwd crashes when a transparent overlay visual is used
64-bit version of xwd crashes when a transparent overlay visual is used
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: App/other
7.1 (2006.05)
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: Xorg Project Team
Xorg Project Team
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-31 09:04 UTC by Pär Lidberg
Modified: 2011-10-03 00:25 UTC (History)
0 users

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
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 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
    
    https://bugs.freedesktop.org/show_bug.cgi?id=14321
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>