This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Xlib: unexpected async reply


When using CygwinX I get this error message when trying to start my
very simple java application (that I got verbatim from a SUN example):

Xlib: unexpected async reply(sequence 0x7c)!

(The number 0x7d has also been seen)

The java application does not start and the window doesn't appear at
all.

Using another X server e.g. Xorg the same java application using
the same java virtual machine does not generate this error.

The logs do not contain anything from after start-up of the server is complete.

I've seen the answer when searching this list that it may be a
network problem, but the client and server are connencted on the same
hub, and it happens regardless if I have a direct X connection with
DISPLAY=xserver:0 or if I tunnel it inside ssh.

I haven't yet seen this with any other X applications.

And I have the exact same setup on another windows host, where it also
happens, and I've tried starting the java app from two different Linux
servers too running the exact same version of java - same result.

There are some java virtual machine versions where it fails, and some
where it works... It works with the latest jre-1_5_0_04-linux-i586.bin
but fails with j2sdk-1_4_2_08-linux-i586.bin both from
SUN. Regardless, it should either fail with all X-servers or work with
all of them, right? (We're stuck with the old version, of course :-D)

Any ideas why this is happening?

(I don't mind giving ssh access to my server to a developer to try it
out, but not to the world! :-D)

Peter

Here:

http://www.morch.com/misc/cygwinX/XlibUnexpectedAsyncReply/

is a link to supporting information:

-rw-r--r--  1 pvm users   311 Jul 19 19:45 HelloWorldSwing$1.class
-rw-r--r--  1 pvm users   961 Jul 19 19:45 HelloWorldSwing.class
-rw-r--r--  1 pvm users  1158 Jul 19 19:23 HelloWorldSwing.java
-rw-r--r--  1 pvm users  XXXX Jul 19 19:55 Posting.txt
-rw-r--r--  1 pvm users  2941 Jul 19 19:37 XWin.log
-rw-r--r--  1 pvm users  3333 Jul 19 19:37 XWin.out
-rw-r--r--  1 pvm users 13909 Jul 19 19:42 cygcheckDashS.txt
-rw-r--r--  1 pvm users    58 Jul 19 19:42 cygcheckDashS_STDERR.txt
-rwx------  1 pvm users  8737 Jul 19 19:43 startxwin.bat
-rw-r--r--  1 pvm users   498 Jul 19 19:47 xterm.out

--
Peter Valdemar Mørch
http://www.morch.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]