Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  "unexpected async reply" using Swing  (Read 2406 times)
0 Members and 1 Guest are viewing this topic.
Offline Gregor

Junior Newbie




Java games rock!


« Posted 2005-03-21 11:44:49 »

Hi.

I'm new to JOGL and have some problems combining JOGL and Swing. When I start the JRefract demo I get this error:
Quote

Xlib: unexpected async reply (sequence 0xf9)!
Xlib: sequence lost (0x10000 > 0x10b) in reply type 0xd!

When I replace the Frame and the GLCanvas in the program presented in
this thread by a JFrame and a GLJPanel I get the following output:
Quote

Xlib: unexpected async reply (sequence 0x174)!
Init GL is net.java.games.jogl.impl.x11.X11GLImpl
Xlib: sequence lost (0x10380 > 0x179) in reply type 0x6!

(The program makes no problems with the heavyweight components.)

Is this a known bug and is there a workaround for this problem?

System:

  • java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
  • JOGL 1.1 b10
  • Geforce4 440 Go
  • Suse Linux 9.2
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #1 - Posted 2005-03-21 17:24:56 »

Do any of the other JOGL demos work on your system?

Are you using NVidia's latest drivers?
Offline Gregor

Junior Newbie




Java games rock!


« Reply #2 - Posted 2005-03-22 11:26:50 »

Quote
Do any of the other JOGL demos work on your system?

Are you using NVidia's latest drivers?

No. I don't have the latest driver. I will update the driver later and report if the error still exists. My current driver is
Quote

OpenGL version string: 1.5.1 NVIDIA 61.11

The other JOGL demos:

  • VertexProgWarp, VertexProgRefract, TestContextDestruction, Tess, Multisample, InfiniteShadowVolumes, Gears: These demos work. But I get an error when I close the window.
  • VertexBufferObject, VertexArrayRange: These demos work. But I get an error when I close the window and this message at start up:
    Quote
    wglSwapIntervalEXT not available; cannot disable sync-to-refresh
    Allocated 4.0 megabytes of fast memory

  • TestContextSharing: Works, Frames can't be closed.
  • JGears: I get the following output:
    Quote

    DRAWABLE GL IS: net.java.games.jogl.impl.x11.X11GLImpl
    DRAWABLE GLU IS: net.java.games.jogl.impl.GLUImpl
    Xlib: unexpected async reply (sequence 0x170)!
    INIT GL IS: net.java.games.jogl.impl.x11.X11GLImpl
    GL_VENDOR: NVIDIA Corporation
    GL_RENDERER: GeForce4 440 Go/AGP/SSE2
    GL_VERSION: 1.5.1 NVIDIA 61.11

  • HWShadowmapsSimple: I get a (not closable) empty Frame "Unavailable extension" at startup.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #3 - Posted 2005-03-22 16:24:07 »

What is the error you get when closing e.g. the VertexProgWarp or VertexProgRefract demos? Are you 100% sure you are running 1.1 b10, both the jar file and native library, and don't have any old versions of JOGL lying around?
Offline Gregor

Junior Newbie




Java games rock!


« Reply #4 - Posted 2005-03-22 20:01:33 »

Quote
What is the error you get when closing e.g. the VertexProgWarp or VertexProgRefract demos? Are you 100% sure you are running 1.1 b10, both the jar file and native library, and don't have any old versions of JOGL lying around?

I'm sure that I'm using 1.1b10.

Here is the output of VertexProgWarp (still with the old drivers):
Quote

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x46877c92, pid=6910, tid=1168337840
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C  [libGLcore.so.1+0x2e6c92]  _nv000832gl+0x12
#
# An error report file with more information is saved as hs_err_pid6910.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

And here is the report file:
Quote

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x46877c92, pid=6910, tid=1168337840
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C  [libGLcore.so.1+0x2e6c92]  _nv000832gl+0x12
#

---------------  T H R E A D  ---------------

Current thread (0x080952f8):  VMThread [id=6913]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000

Registers:
EAX=0x45a36bb0, EBX=0x00000000, ECX=0xffffffc4, EDX=0x0841f3a0
ESP=0x45a36334, EBP=0x083eb748, ESI=0x083eb748, EDI=0x00000000
EIP=0x46877c92, CR2=0x00000000, EFLAGS=0x00010246

Top of Stack: (sp=0x45a36334)
0x45a36334:   00000000 45a36bb0 46a06640 464d9d36
0x45a36344:   083eb748 0841f3d0 08307290 46a06640
0x45a36354:   47009000 464d745d 083eb748 08410038
0x45a36364:   0841f3d0 46a06640 45a36bb0 4689b7c8
0x45a36374:   0841f3d0 084188e8 08410038 46a06640
0x45a36384:   45a36bb0 00000001 00000000 08410038
0x45a36394:   08402fa8 46a06640 4689bbae 08410038
0x45a363a4:   08410038 ffffffff 46a05b80 084188e8

Instructions: (pc=0x46877c92)
0x46877c82:   8b 0d 6c 43 51 46 53 31 db 8b 74 24 10 65 8b 39
0x46877c92:   8b 17 85 d2 74 11 8b 02 39 b0 9c 42 00 00 74 20

Stack: [0x459b6000,0x45a37000),  sp=0x45a36334,  free space=512k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libGLcore.so.1+0x2e6c92]  _nv000832gl+0x12

VM_Operation (0x480a548c): exit, mode: safepoint, requested by thread 0x0808e8c0


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
 0x0808e8c0 JavaThread "Thread-2" [_thread_blocked, id=6925]
 0x0805b830 JavaThread "DestroyJavaVM" [_thread_blocked, id=6910]
 0x083cdc58 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=6923]
 0x083c9e08 JavaThread "AWT-Shutdown" [_thread_blocked, id=6922]
 0x083c9198 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=6921]
 0x08387bb8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6920]
 0x080a0300 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6918]
 0x0809edb0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6917]
 0x08098af0 JavaThread "Finalizer" daemon [_thread_blocked, id=6915]
 0x08097db8 JavaThread "Reference Handler" daemon [_thread_blocked, id=6914]

Other Threads:
=>0x080952f8 VMThread [id=6913]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x0805ac80/0x0805aca8] Threads_lock - owner thread: 0x080952f8

Heap
def new generation   total 576K, used 324K [0x65920000, 0x659c0000, 0x65e00000)
 eden space 512K,  60% used [0x65920000, 0x6596d0e8, 0x659a0000)
 from space 64K,  25% used [0x659b0000, 0x659b41c8, 0x659c0000)
 to   space 64K,   0% used [0x659a0000, 0x659a0000, 0x659b0000)
tenured generation   total 1892K, used 1507K [0x65e00000, 0x65fd9000, 0x69920000)
  the space 1892K,  79% used [0x65e00000, 0x65f78c08, 0x65f78e00, 0x65fd9000)
compacting perm gen  total 8192K, used 2877K [0x69920000, 0x6a120000, 0x6d920000)
  the space 8192K,  35% used [0x69920000, 0x69bef7e0, 0x69bef800, 0x6a120000)
   ro space 8192K,  68% used [0x6d920000, 0x6de97a00, 0x6de97a00, 0x6e120000)
   rw space 12288K,  47% used [0x6e120000, 0x6e6d5db0, 0x6e6d5e00, 0x6ed20000)

Dynamic libraries:
[...](Message was too long. If you need the information in this scetion I'll post it in another message.)

VM Arguments:
java_command: demos.vertexProgWarp.VertexProgWarp

Environment Variables:
JAVA_HOME=/usr/lib/jvm/jre
JRE_HOME=/usr/lib/jvm/jre
PATH=/home/Gregor/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin
LD_LIBRARY_PATH=/usr/java/jdk1.5.0/jre/lib/i386/client:/usr/java/jdk1.5.0/jre/lib/i386:/usr/java/jdk1.5.0/jre/../lib/i386:/home/Gregor/Studium/BV-Projekt/vigra1.3.0/lib:/home/Gregor/Java/jogl
SHELL=/bin/bash
DISPLAY=:0.0
HOSTTYPE=i386
OSTYPE=linux
MACHTYPE=i686-suse-linux


---------------  S Y S T E M  ---------------

OS:SuSE Linux 9.2 (i586)
VERSION = 9.2

uname:Linux 2.6.8-24.11-default #1 Fri Jan 14 13:01:26 UTC 2005 i686
libc:glibc 2.3.3 NPTL 2.3.3
rlimit: STACK infinity, CORE 0k, NPROC 4094, NOFILE 1024, AS infinity
load average:1.43 0.66 0.36

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 515508k(4956k free), swap 1036184k(1034268k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for linux-x86, built on Sep 15 2004 03:56:41 by java_re with gcc 3.2.1-7a (J2SE release)
Offline Gregor

Junior Newbie




Java games rock!


« Reply #5 - Posted 2005-03-23 20:15:27 »

Hi.

I tried to install the new drivers and then... I reinstalled my whole system and installed the new drivers. Smiley Everything works fine now. Thank you for the tip.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (44 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!