<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas Mohr wrote:
<blockquote cite="mid20060328115334.GB5931@rhlx01.fht-esslingen.de"
 type="cite">
  <pre wrap="">Hi,

On Tue, Mar 28, 2006 at 03:39:43AM -0800, Dan Kegel wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">OK, I've had it.  The X errors I'm running into are keeping
me from getting work done.  They might be due to
bugs in my X server (ubuntu 05.10), but while I wait
for the next release of ubuntu, maybe I could try
to track them down anyway.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Good idea ;)

  </pre>
  <blockquote type="cite">
    <pre wrap="">It looks like the procedure for diagnosing X errors such as

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  17 (X_GetAtomName)
  Atom id in failed request:  0x0
  Serial number of failed request:  468
  Current serial number in output stream:  470
in Wine is to do
  WINEDEBUG=+synchronous
  export WINEDEBUG
and then use winedbg to run the apps, and get a backtrace
when the error occurs.  I'll try that.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Random semi-helpful notes I've been writing down about that:
----------
SOLUTION:

  gdb: b _XError
        b wxXErrorHandler

  How do I trace the cause of an X11 error such as BadMatch?

   When a fatal X11 error occurs, the application quits with no stack trace.
   To find out where the problem is, put a breakpoint on g_log (b g_log in
   gdb).


Unexpected async reply" is commonly due to a multi-threaded app with
Motif/Xlib calls from more than 1 thread; or to Motif/Xlib calls from
a signal handler.

<a class="moz-txt-link-freetext" href="http://www.rahul.net/kenton/perrors.html">http://www.rahul.net/kenton/perrors.html</a>

try:
XSynchronize(display, True);
for debugging


Maybe can happen if app is overwriting Xlib-owned memory...
----------


Andreas Mohr



  </pre>
</blockquote>
Do this as either your user or as root (via sudo): V -version<br>
<br>
Email us the ful output (drag the mouse over the top line to the next
line that is your shell and middle click in yor email client to paste)<br>
<br>
sorry if i treated you like a idiot, but some people don't realize that
X has 2 clipboards per se, one done by X itself, and another handled by
QT/GTK+/Wine (Try this: select some text in Wine, and middle click in a
Xterm, nothing happens! Go back to the Windows app, tell it to copy the
text, and try to paste it into the xterm, nothing again! I think it's a
bug IMHO)<br>
</body>
</html>