Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241902 - XChat uses shm pixmap hardcoded which is an optional feature.
Summary: XChat uses shm pixmap hardcoded which is an optional feature.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 09:18 UTC by Christian Birchinger (RETIRED)
Modified: 2008-11-27 20:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xchat-2.8.6-shm-pixmaps.patch (xchat-2.8.6-shm-pixmaps.patch,2.65 KB, patch)
2008-10-14 09:20 UTC, Christian Birchinger (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Birchinger (RETIRED) gentoo-dev 2008-10-14 09:18:50 UTC
x11-drivers/xf86-video-i810 2.4.2 does not offer shm pixmap support when EXA is being used. X-Chat calls this feature hardcoded and crashes unless EXA is disabled ("NoAccel", "EXANoComposite" etc.)

Error:
The program 'xchat' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
  (Details: serial 313 error_code 17 request_code 146 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

The following patch should fix this issue.

Reproducible: Always
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2008-10-14 09:20:09 UTC
Created attachment 168386 [details, diff]
xchat-2.8.6-shm-pixmaps.patch

This patch should make shm pixmaps optional in X-Chat
Comment 2 Mart Raudsepp gentoo-dev 2008-10-14 09:32:17 UTC
xchat works fine for me with xf86-video-i810 and EXA acceleration.
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2008-10-14 11:17:05 UTC
XChat-Gnome had the same problem:

http://bugzilla.gnome.org/show_bug.cgi?id=398315
Comment 4 Mart Raudsepp gentoo-dev 2008-10-14 11:22:36 UTC
Ok, it happens to me as well after configuration changing - for reproduction you need to have transparent background enabled in xchat
Comment 5 Bernard Cafarelli gentoo-dev 2008-11-18 12:14:31 UTC
Also happens with nvidia (binary driver) when transparent background is enabled:
http://www.nvnews.net/vbulletin/showthread.php?p=1760936

Suggested patch works fine
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-11-27 20:49:36 UTC
Added on -r2, thanks for the patch